mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 04:27:38 +01:00
93 lines
3.1 KiB
PHP
93 lines
3.1 KiB
PHP
PacifidlogTown_House3_MapScripts:: @ 8203C10
|
|
.byte 0
|
|
|
|
PacifidlogTown_House3_EventScript_Trader:: @ 8203C11
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED, PacifidlogTown_House3_EventScript_TradeCompleted
|
|
setvar VAR_0x8008, INGAME_TRADE_HORSEA
|
|
copyvar VAR_0x8004, VAR_0x8008
|
|
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
|
|
copyvar VAR_0x8009, VAR_RESULT
|
|
msgbox PacifidlogTown_House3_Text_WillingToTradeIt, MSGBOX_YESNO
|
|
compare VAR_RESULT, NO
|
|
goto_if_eq PacifidlogTown_House3_EventScript_DeclineTrade
|
|
special ChoosePartyMon
|
|
waitstate
|
|
copyvar VAR_0x800A, VAR_0x8004
|
|
compare VAR_0x8004, 255
|
|
goto_if_eq PacifidlogTown_House3_EventScript_DeclineTrade
|
|
copyvar VAR_0x8005, VAR_0x800A
|
|
specialvar VAR_RESULT, GetTradeSpecies
|
|
copyvar VAR_0x800B, VAR_RESULT
|
|
compare VAR_RESULT, VAR_0x8009
|
|
goto_if_ne PacifidlogTown_House3_EventScript_NotRequestedMon
|
|
copyvar VAR_0x8004, VAR_0x8008
|
|
copyvar VAR_0x8005, VAR_0x800A
|
|
special CreateInGameTradePokemon
|
|
special DoInGameTradeScene
|
|
waitstate
|
|
bufferspeciesname 0, VAR_0x8009
|
|
msgbox PacifidlogTown_House3_Text_ItsSubtlyDifferentThankYou, MSGBOX_DEFAULT
|
|
setflag FLAG_PACIFIDLOG_NPC_TRADE_COMPLETED
|
|
release
|
|
end
|
|
|
|
PacifidlogTown_House3_EventScript_DeclineTrade:: @ 8203C93
|
|
msgbox PacifidlogTown_House3_Text_NotDesperateOrAnything, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
PacifidlogTown_House3_EventScript_NotRequestedMon:: @ 8203C9D
|
|
bufferspeciesname 0, VAR_0x8009
|
|
msgbox PacifidlogTown_House3_Text_WontAcceptAnyLessThanRealMon, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
PacifidlogTown_House3_EventScript_TradeCompleted:: @ 8203CAB
|
|
msgbox PacifidlogTown_House3_Text_ReallyWantedToGetBagon, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
PacifidlogTown_House3_EventScript_Girl:: @ 8203CB5
|
|
msgbox PacifidlogTown_House3_Text_IsThatAPokedex, MSGBOX_NPC
|
|
end
|
|
|
|
PacifidlogTown_House3_Text_WillingToTradeIt: @ 8203CBE
|
|
.string "Check out this {STR_VAR_2}!\p"
|
|
.string "It's the {STR_VAR_2} that I caught\n"
|
|
.string "yesterday to celebrate my birthday!\p"
|
|
.string "Oh, I can see that you want it!\n"
|
|
.string "After all, it's priceless!\p"
|
|
.string "I'll tell you what. I might be willing\n"
|
|
.string "to trade it for a {STR_VAR_1}.$"
|
|
|
|
PacifidlogTown_House3_Text_ItsSubtlyDifferentThankYou: @ 8203D87
|
|
.string "Oh, so this is a {STR_VAR_1}?\p"
|
|
.string "It's sort of like a {STR_VAR_2},\n"
|
|
.string "and yet it's subtly different.\p"
|
|
.string "Thank you!$"
|
|
|
|
PacifidlogTown_House3_Text_WontAcceptAnyLessThanRealMon: @ 8203DDE
|
|
.string "No, no, no! I won't accept any\n"
|
|
.string "less than a real {STR_VAR_1}!$"
|
|
|
|
PacifidlogTown_House3_Text_NotDesperateOrAnything: @ 8203E12
|
|
.string "Oh, so you're not going to go through\n"
|
|
.string "with this?\p"
|
|
.string "That's cool. I'm not desperate to make\n"
|
|
.string "a trade or anything.$"
|
|
|
|
PacifidlogTown_House3_Text_ReallyWantedToGetBagon: @ 8203E7F
|
|
.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…$"
|
|
|
|
PacifidlogTown_House3_Text_IsThatAPokedex: @ 8203EF1
|
|
.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.$"
|
|
|