improve goto_if macros

This commit is contained in:
Melody
2018-12-21 20:28:24 -05:00
parent 87fd6b8dc2
commit ac2e4adf2d
273 changed files with 2555 additions and 3036 deletions
+2 -3
View File
@@ -4,8 +4,7 @@ MossdeepCity_House4_MapScripts:: @ 8222DD7
MossdeepCity_House4_EventScript_222DD8:: @ 8222DD8
lock
faceplayer
checkflag FLAG_SYS_GAME_CLEAR
goto_eq MossdeepCity_House4_EventScript_222DED
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_House4_EventScript_222DED
msgbox MossdeepCity_House4_Text_222E31, MSGBOX_DEFAULT
release
end
@@ -20,7 +19,7 @@ MossdeepCity_House4_EventScript_222DF7:: @ 8222DF7
faceplayer
special sub_80E8BC8
compare VAR_RESULT, 0
goto_eq MossdeepCity_House4_EventScript_222E14
goto_if_eq MossdeepCity_House4_EventScript_222E14
special GetSecretBaseNearbyMapName
msgbox MossdeepCity_House4_Text_222ECC, MSGBOX_DEFAULT
release