diff options
| author | Melody <melody@pallet.town> | 2018-12-21 20:28:24 -0500 |
|---|---|---|
| committer | Melody <melody@pallet.town> | 2018-12-21 20:28:24 -0500 |
| commit | ac2e4adf2da2f30a741556e20e5bc9a494997581 (patch) | |
| tree | 1a05a202cfece044d546094581d8463a9b6e452c /data/maps/MossdeepCity_House4/scripts.inc | |
| parent | 87fd6b8dc21b37b656f16e3f11832c6951328750 (diff) | |
improve goto_if macros
Diffstat (limited to 'data/maps/MossdeepCity_House4/scripts.inc')
| -rw-r--r-- | data/maps/MossdeepCity_House4/scripts.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/data/maps/MossdeepCity_House4/scripts.inc b/data/maps/MossdeepCity_House4/scripts.inc index 627340b5c..1763a9c46 100644 --- a/data/maps/MossdeepCity_House4/scripts.inc +++ b/data/maps/MossdeepCity_House4/scripts.inc @@ -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 |
