Reformat compare + goto_if/call_if to single statements
This commit is contained in:
@@ -10,18 +10,15 @@ BattleFrontier_Lounge6_EventScript_Trader::
|
||||
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
|
||||
copyvar VAR_0x8009, VAR_RESULT
|
||||
msgbox BattleFrontier_Lounge6_Text_WouldYouLikeToTrade, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq BattleFrontier_Lounge6_EventScript_DeclineTrade
|
||||
goto_if_eq VAR_RESULT, NO, BattleFrontier_Lounge6_EventScript_DeclineTrade
|
||||
special ChoosePartyMon
|
||||
waitstate
|
||||
copyvar VAR_0x800A, VAR_0x8004
|
||||
compare VAR_0x8004, PARTY_NOTHING_CHOSEN
|
||||
goto_if_eq BattleFrontier_Lounge6_EventScript_DeclineTrade
|
||||
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, BattleFrontier_Lounge6_EventScript_DeclineTrade
|
||||
copyvar VAR_0x8005, VAR_0x800A
|
||||
specialvar VAR_RESULT, GetTradeSpecies
|
||||
copyvar VAR_0x800B, VAR_RESULT
|
||||
compare VAR_RESULT, VAR_0x8009
|
||||
goto_if_ne BattleFrontier_Lounge6_EventScript_NotRequestedMon
|
||||
goto_if_ne VAR_RESULT, VAR_0x8009, BattleFrontier_Lounge6_EventScript_NotRequestedMon
|
||||
copyvar VAR_0x8004, VAR_0x8008
|
||||
copyvar VAR_0x8005, VAR_0x800A
|
||||
special CreateInGameTradePokemon
|
||||
|
||||
Reference in New Issue
Block a user