Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -32,10 +32,8 @@ BattleFrontier_BattlePikeRoomWildMons_EventScript_TurnPlayerNorth::
|
||||
BattleFrontier_BattlePikeRoomWildMons_OnResume:
|
||||
call BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves
|
||||
frontier_get FRONTIER_DATA_BATTLE_OUTCOME
|
||||
compare VAR_RESULT, B_OUTCOME_LOST
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
|
||||
compare VAR_RESULT, B_OUTCOME_DREW
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
|
||||
goto_if_eq VAR_RESULT, B_OUTCOME_LOST, BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
|
||||
goto_if_eq VAR_RESULT, B_OUTCOME_DREW, BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost::
|
||||
|
||||
Reference in New Issue
Block a user