improve goto_if macros
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user