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
+1
-2
@@ -88,8 +88,7 @@ EventScript_AccessProfOaksPC::
|
||||
playse SE_PC_LOGIN
|
||||
msgbox Text_AccessedProfOaksPC
|
||||
msgbox Text_HavePokedexRated, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_ExitOaksPC
|
||||
goto_if_eq VAR_RESULT, NO, EventScript_ExitOaksPC
|
||||
setflag FLAG_OAKS_RATING_IS_VIA_PC
|
||||
call PokedexRating_EventScript_Rate
|
||||
clearflag FLAG_OAKS_RATING_IS_VIA_PC
|
||||
|
||||
Reference in new issue
Block a user