BattleFrontier_Lounge6_EventScript_Trader::
lock
faceplayer
msgbox BattleFrontier_Lounge6_Text_WouldYouLikeToTrade, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge6_EventScript_DeclineTrade
msgbox BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt, MSGBOX_DEFAULT
special ChoosePartyMon
waitstate
copyvar VAR_0x800B, VAR_0x8004
compare VAR_0x8004, 255
goto_if_ne BattleFrontier_Lounge6_EventScript_AbilitySwitch
goto BattleFrontier_Lounge6_EventScript_DeclineTrade
end
BattleFrontier_Lounge6_EventScript_AbilitySwitch::
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, SPECIES_EGG
goto_if_eq BattleFrontier_Lounge6_Text_WellThatsFineToo
special swapAbility
scrollingmultichoice 14, 2, 3, 3, FALSE
special swapAbility2
msgbox BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon, MSGBOX_DEFAULT
release
end