pokeemerald/data/maps/PacifidlogTown_House3/scripts.inc

93 lines
3.1 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
PacifidlogTown_House3_MapScripts:: @ 8203C10
.byte 0
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_EventScript_Trader:: @ 8203C11
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
compare VAR_0x8004, 255
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 0, 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
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_EventScript_DeclineTrade:: @ 8203C93
msgbox PacifidlogTown_House3_Text_NotDesperateOrAnything, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_EventScript_NotRequestedMon:: @ 8203C9D
2017-11-10 02:21:31 +01:00
bufferspeciesname 0, 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
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_EventScript_TradeCompleted:: @ 8203CAB
msgbox PacifidlogTown_House3_Text_ReallyWantedToGetBagon, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_EventScript_Girl:: @ 8203CB5
msgbox PacifidlogTown_House3_Text_IsThatAPokedex, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_Text_WillingToTradeIt: @ 8203CBE
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}.$"
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_Text_ItsSubtlyDifferentThankYou: @ 8203D87
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!$"
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_Text_WontAcceptAnyLessThanRealMon: @ 8203DDE
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}!$"
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_Text_NotDesperateOrAnything: @ 8203E12
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.$"
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_Text_ReallyWantedToGetBagon: @ 8203E7F
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…$"
2019-11-07 21:41:42 +01:00
PacifidlogTown_House3_Text_IsThatAPokedex: @ 8203EF1
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.$"