pokeemerald/data/maps/BattleFrontier_Lounge6/scripts.inc

81 lines
2.7 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
BattleFrontier_Lounge6_MapScripts:: @ 8264FEC
.byte 0
2019-11-12 23:52:32 +01:00
BattleFrontier_Lounge6_EventScript_Trader:: @ 8264FED
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
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-11-12 23:52:32 +01:00
goto_if_eq 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
compare VAR_0x8004, 255
2019-11-12 23:52:32 +01:00
goto_if_eq 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
compare VAR_RESULT, VAR_0x8009
2019-11-12 23:52:32 +01:00
goto_if_ne 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
2019-11-12 23:52:32 +01:00
BattleFrontier_Lounge6_EventScript_DeclineTrade:: @ 826506B
msgbox BattleFrontier_Lounge6_Text_WellThatsFineToo, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-12 23:52:32 +01:00
BattleFrontier_Lounge6_EventScript_NotRequestedMon:: @ 8265075
2017-11-10 02:21:31 +01:00
bufferspeciesname 0, 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
2019-11-12 23:52:32 +01:00
BattleFrontier_Lounge6_EventScript_TradeCompleted:: @ 8265083
msgbox BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-12 23:52:32 +01:00
BattleFrontier_Lounge6_Text_WouldYouLikeToTrade: @ 826508D
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}?$"
2019-11-12 23:52:32 +01:00
BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt: @ 8265128
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!$"
2019-11-12 23:52:32 +01:00
BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon: @ 826518D
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}.$"
2019-11-12 23:52:32 +01:00
BattleFrontier_Lounge6_Text_WellThatsFineToo: @ 82651CB
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.$"
2019-11-12 23:52:32 +01:00
BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined: @ 826520E
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!$"