Use 'goto_if_eq VAR, value, Script' syntax
This commit is contained in:
1 parent
60fc8c5e22
commit
f113da30ad
171 files changed
+1992
-3453
No files matched your search
@@ -3,8 +3,7 @@ EventScript_SetDefeatedEliteFourFlagsVars::
|
||||
call EventScript_ResetEliteFour
|
||||
special Script_UpdateTrainerFanClubGameClear
|
||||
specialvar VAR_RESULT, IsNationalPokedexEnabled
|
||||
compare VAR_RESULT, FALSE
|
||||
call_if_eq EventScript_SetReadyTryGiveNationalDexScene
|
||||
call_if_eq VAR_RESULT, FALSE, EventScript_SetReadyTryGiveNationalDexScene
|
||||
call EventScript_ResetLegendaries
|
||||
return
|
||||
|
||||
|
||||
Reference in new issue
Block a user