pokeemerald/data/maps/BattleFrontier_Lounge6/scripts.inc

78 lines
2.6 KiB
PHP
Raw Normal View History

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