Reformat compare + goto_if/call_if to single statements

This commit is contained in:
GriffinR committed 2021-11-18 23:06:51 -05:00
1 parent c57efdba5d
commit e66ea0cb99
293 files changed
+2990 -5978

No files matched your search

@@ -22,12 +22,9 @@ SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleVisitingTrainer::
setvar VAR_0x8005, 0
special DoSpecialTrainerBattle
waitstate
compare VAR_RESULT, B_OUTCOME_DREW
call_if_eq SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleTie
compare VAR_RESULT, B_OUTCOME_WON
call_if_eq SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleWon
compare VAR_RESULT, B_OUTCOME_LOST
call_if_eq SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleLost
call_if_eq VAR_RESULT, B_OUTCOME_DREW, SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleTie
call_if_eq VAR_RESULT, B_OUTCOME_WON, SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleWon
call_if_eq VAR_RESULT, B_OUTCOME_LOST, SootopolisCity_MysteryEventsHouse_B1F_EventScript_BattleLost
closemessage
special HealPlayerParty
applymovement OBJ_EVENT_ID_PLAYER, SootopolisCity_MysteryEventsHouse_B1F_Movement_PlayerExitBasement