Use 'goto_if_eq VAR, value, Script' syntax

This commit is contained in:
GriffinR
2022-08-09 20:40:03 -04:00
parent 60fc8c5e22
commit f113da30ad
171 changed files with 1992 additions and 3453 deletions
@@ -22,12 +22,9 @@ SevenIsland_House_Room2_EventScript_BattleVisitingTrainer::
setvar VAR_0x8005, 0
special StartSpecialBattle
waitstate
compare VAR_RESULT, 3
call_if_eq SevenIsland_House_Room2_EventScript_BattleTie
compare VAR_RESULT, 1
call_if_eq SevenIsland_House_Room2_EventScript_BattleWon
compare VAR_RESULT, 2
call_if_eq SevenIsland_House_Room2_EventScript_BattleLost
call_if_eq VAR_RESULT, 3, SevenIsland_House_Room2_EventScript_BattleTie
call_if_eq VAR_RESULT, 1, SevenIsland_House_Room2_EventScript_BattleWon
call_if_eq VAR_RESULT, 2, SevenIsland_House_Room2_EventScript_BattleLost
closemessage
special HealPlayerParty
applymovement OBJ_EVENT_ID_PLAYER, SevenIsland_House_Room2_Movement_PlayerExitRoom