Skip to content

Commit ecf3aaf

Browse files
authored
set weather mode 0 in child market scenes (#7555)
1 parent 04e266b commit ecf3aaf

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎soh/soh/Enhancements/Graphics/Disable2DBackgrounds.cpp‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ void Register3DPreRenderedScenes() {
103103
gWeatherMode = 3;
104104
gSaveContext.retainWeatherMode = 1;
105105
}
106+
if (sceneNum == SCENE_TEMPLE_OF_TIME_EXTERIOR_DAY || sceneNum == SCENE_MARKET_DAY ||
107+
sceneNum == SCENE_MARKET_ENTRANCE_DAY || sceneNum == SCENE_TEMPLE_OF_TIME_EXTERIOR_NIGHT ||
108+
sceneNum == SCENE_MARKET_NIGHT || sceneNum == SCENE_MARKET_ENTRANCE_NIGHT) {
109+
gWeatherMode = 0;
110+
gSaveContext.retainWeatherMode = 1;
111+
}
106112
});
107113

108114
COND_HOOK(OnPlayDrawBegin, CVAR_VALUE, []() {

0 commit comments

Comments
 (0)