81 lines
2.6 KiB
PHP
Raw Normal View History

2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_MapScripts::
2017-11-09 19:21:31 -06:00
.byte 0
2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_EventScript_Trader::
2017-11-09 19:21:31 -06:00
lock
faceplayer
2019-11-12 17:52:32 -05:00
goto_if_set FLAG_BATTLE_FRONTIER_TRADE_DONE, BattleFrontier_Lounge6_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_MEOWTH
2017-11-09 19:21:31 -06:00
copyvar VAR_0x8004, VAR_0x8008
2018-12-29 12:46:15 -06:00
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
2017-11-09 19:21:31 -06:00
copyvar VAR_0x8009, VAR_RESULT
2019-11-12 17:52:32 -05:00
msgbox BattleFrontier_Lounge6_Text_WouldYouLikeToTrade, MSGBOX_YESNO
2019-11-02 12:34:53 -04:00
compare VAR_RESULT, NO
2019-11-12 17:52:32 -05:00
goto_if_eq BattleFrontier_Lounge6_EventScript_DeclineTrade
2019-10-17 19:22:03 -04:00
special ChoosePartyMon
2017-11-09 19:21:31 -06:00
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255
2019-11-12 17:52:32 -05:00
goto_if_eq BattleFrontier_Lounge6_EventScript_DeclineTrade
2017-11-09 19:21:31 -06:00
copyvar VAR_0x8005, VAR_0x800A
2018-12-29 12:46:15 -06:00
specialvar VAR_RESULT, GetTradeSpecies
2017-11-09 19:21:31 -06:00
copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009
2019-11-12 17:52:32 -05:00
goto_if_ne BattleFrontier_Lounge6_EventScript_NotRequestedMon
2017-11-09 19:21:31 -06:00
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
2018-12-29 12:46:15 -06:00
special CreateInGameTradePokemon
special DoInGameTradeScene
2017-11-09 19:21:31 -06:00
waitstate
2019-11-12 17:52:32 -05:00
msgbox BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt, MSGBOX_DEFAULT
2019-01-02 21:12:43 +00:00
setflag FLAG_BATTLE_FRONTIER_TRADE_DONE
2017-11-09 19:21:31 -06:00
release
end
2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_EventScript_DeclineTrade::
2019-11-12 17:52:32 -05:00
msgbox BattleFrontier_Lounge6_Text_WellThatsFineToo, MSGBOX_DEFAULT
2017-11-09 19:21:31 -06:00
release
end
2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_EventScript_NotRequestedMon::
2017-11-09 19:21:31 -06:00
bufferspeciesname 0, VAR_0x8009
2019-11-12 17:52:32 -05:00
msgbox BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon, MSGBOX_DEFAULT
2017-11-09 19:21:31 -06:00
release
end
2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_EventScript_TradeCompleted::
2019-11-12 17:52:32 -05:00
msgbox BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined, MSGBOX_DEFAULT
2017-11-09 19:21:31 -06:00
release
end
2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_Text_WouldYouLikeToTrade:
2017-11-09 19:21:31 -06:00
.string "My POKéMON is a {STR_VAR_2}.\n"
.string "Do you know it?\l"
2018-12-07 10:41:08 -05:00
.string "It's quite cute and rather nice.\p"
2017-11-09 19:21:31 -06:00
.string "This little one, I could trade with\n"
.string "pride!\p"
.string "Would you like to trade me a {STR_VAR_1}\n"
.string "for my {STR_VAR_2}?$"
2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt:
2018-12-07 10:41:08 -05:00
.string "Oh, it's adorable!\n"
2017-11-09 19:21:31 -06:00
.string "Thank you!\l"
2018-12-07 10:41:08 -05:00
.string "I promise I'll be good to it!\p"
.string "Oh! I hope you'll be good to\n"
2017-11-09 19:21:31 -06:00
.string "my {STR_VAR_2}, too!$"
2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon:
2018-12-07 10:41:08 -05:00
.string "Oh, I'm sorry!\n"
.string "I don't intend to trade for anything\l"
2017-11-09 19:21:31 -06:00
.string "but a {STR_VAR_1}.$"
2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_Text_WellThatsFineToo:
2018-12-07 10:41:08 -05:00
.string "Oh, you won't?\n"
.string "Well, that's fine, too.\l"
2017-11-09 19:21:31 -06:00
.string "Please come visit us again.$"
2021-07-20 15:18:31 -04:00
BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined:
2017-11-09 19:21:31 -06:00
.string "Giggle!\n"
.string "A SKITTY is so much cuter than I had\l"
2018-12-07 10:41:08 -05:00
.string "imagined. I'm delighted!$"