mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-20 10:24:21 +01:00
reset VAR_TERRAIN on whiteout
This commit is contained in:
parent
9c64635ebe
commit
09496abef0
@ -403,6 +403,9 @@ static void Overworld_ResetStateAfterWhiteOut(void)
|
||||
FlagClear(FLAG_SYS_SAFARI_MODE);
|
||||
FlagClear(FLAG_SYS_USE_STRENGTH);
|
||||
FlagClear(FLAG_SYS_USE_FLASH);
|
||||
#if VAR_TERRAIN != 0
|
||||
VarSet(VAR_TERRAIN, 0);
|
||||
#endif
|
||||
// If you were defeated by Kyogre/Groudon and the step counter has
|
||||
// maxed out, end the abnormal weather.
|
||||
if (VarGet(VAR_SHOULD_END_ABNORMAL_WEATHER) == 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user