pokeemerald/data/maps/PacifidlogTown_House3/scripts.inc

93 lines
3.0 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_EventScript_Trader::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-07 21:41:42 +01:00
goto_if_set FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED, PacifidlogTown_House3_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_HORSEA
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-07 21:41:42 +01:00
msgbox PacifidlogTown_House3_Text_WillingToTradeIt, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-11-07 21:41:42 +01:00
goto_if_eq PacifidlogTown_House3_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
2021-11-15 16:57:06 +01:00
compare VAR_0x8004, PARTY_NOTHING_CHOSEN
2019-11-07 21:41:42 +01:00
goto_if_eq PacifidlogTown_House3_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-07 21:41:42 +01:00
goto_if_ne PacifidlogTown_House3_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
bufferspeciesname STR_VAR_1, VAR_0x8009
2019-11-07 21:41:42 +01:00
msgbox PacifidlogTown_House3_Text_ItsSubtlyDifferentThankYou, MSGBOX_DEFAULT
2019-01-02 22:12:43 +01:00
setflag FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_EventScript_DeclineTrade::
2019-11-07 21:41:42 +01:00
msgbox PacifidlogTown_House3_Text_NotDesperateOrAnything, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_EventScript_NotRequestedMon::
bufferspeciesname STR_VAR_1, VAR_0x8009
2019-11-07 21:41:42 +01:00
msgbox PacifidlogTown_House3_Text_WontAcceptAnyLessThanRealMon, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_EventScript_TradeCompleted::
2019-11-07 21:41:42 +01:00
msgbox PacifidlogTown_House3_Text_ReallyWantedToGetBagon, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_EventScript_Girl::
2019-11-07 21:41:42 +01:00
msgbox PacifidlogTown_House3_Text_IsThatAPokedex, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_Text_WillingToTradeIt:
2017-11-10 02:21:31 +01:00
.string "Check out this {STR_VAR_2}!\p"
2018-12-07 16:41:08 +01:00
.string "It's the {STR_VAR_2} that I caught\n"
2017-11-10 02:21:31 +01:00
.string "yesterday to celebrate my birthday!\p"
.string "Oh, I can see that you want it!\n"
2018-12-07 16:41:08 +01:00
.string "After all, it's priceless!\p"
.string "I'll tell you what. I might be willing\n"
2017-11-10 02:21:31 +01:00
.string "to trade it for a {STR_VAR_1}.$"
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_Text_ItsSubtlyDifferentThankYou:
2017-11-10 02:21:31 +01:00
.string "Oh, so this is a {STR_VAR_1}?\p"
2018-12-07 16:41:08 +01:00
.string "It's sort of like a {STR_VAR_2},\n"
.string "and yet it's subtly different.\p"
2017-11-10 02:21:31 +01:00
.string "Thank you!$"
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_Text_WontAcceptAnyLessThanRealMon:
2018-12-07 16:41:08 +01:00
.string "No, no, no! I won't accept any\n"
2017-11-10 02:21:31 +01:00
.string "less than a real {STR_VAR_1}!$"
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_Text_NotDesperateOrAnything:
2018-12-07 16:41:08 +01:00
.string "Oh, so you're not going to go through\n"
2017-11-10 02:21:31 +01:00
.string "with this?\p"
2018-12-07 16:41:08 +01:00
.string "That's cool. I'm not desperate to make\n"
2017-11-10 02:21:31 +01:00
.string "a trade or anything.$"
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_Text_ReallyWantedToGetBagon:
2017-11-10 02:21:31 +01:00
.string "I know I could go looking for one\n"
.string "on my own, but…\p"
.string "But I really wanted to get a BAGON\n"
.string "that another TRAINER caught…$"
2021-07-20 21:18:31 +02:00
PacifidlogTown_House3_Text_IsThatAPokedex:
2017-11-10 02:21:31 +01:00
.string "Is that a POKéDEX?\p"
.string "Did you get to meet a lot of different\n"
.string "POKéMON?\p"
.string "I wish I was like you.$"