2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_MapScripts::
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_EventScript_Trader::
|
2017-11-10 02:21:31 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-05 20:05:29 +01:00
|
|
|
goto_if_set FLAG_RUSTBORO_NPC_TRADE_COMPLETED, RustboroCity_House1_EventScript_TradeCompleted
|
2019-10-03 07:16:22 +02:00
|
|
|
setvar VAR_0x8008, INGAME_TRADE_SEEDOT
|
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-05 20:05:29 +01:00
|
|
|
msgbox RustboroCity_House1_Text_IllTradeIfYouWant, MSGBOX_YESNO
|
2019-11-02 17:34:53 +01:00
|
|
|
compare VAR_RESULT, NO
|
2019-11-05 20:05:29 +01:00
|
|
|
goto_if_eq RustboroCity_House1_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
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8004, 255
|
2019-11-05 20:05:29 +01:00
|
|
|
goto_if_eq RustboroCity_House1_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
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, VAR_0x8009
|
2019-11-05 20:05:29 +01:00
|
|
|
goto_if_ne RustboroCity_House1_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-05 20:05:29 +01:00
|
|
|
msgbox RustboroCity_House1_Text_PleaseBeGoodToMyPokemon, MSGBOX_DEFAULT
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_RUSTBORO_NPC_TRADE_COMPLETED
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_EventScript_DeclineTrade::
|
2019-11-05 20:05:29 +01:00
|
|
|
msgbox RustboroCity_House1_Text_YouDontWantToThatsOkay, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_EventScript_NotRequestedMon::
|
2017-11-10 02:21:31 +01:00
|
|
|
bufferspeciesname 0, VAR_0x8009
|
2019-11-05 20:05:29 +01:00
|
|
|
msgbox RustboroCity_House1_Text_DoesntLookLikeMonToMe, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_EventScript_TradeCompleted::
|
2019-11-05 20:05:29 +01:00
|
|
|
msgbox RustboroCity_House1_Text_AnyPokemonCanBeCute, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_EventScript_Hiker::
|
2019-11-05 20:05:29 +01:00
|
|
|
msgbox RustboroCity_House1_Text_AllSortsOfPlaces, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_Text_IllTradeIfYouWant:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Huh? My POKéMON is cute?\n"
|
|
|
|
.string "Sure, I knew that.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "But if you really want, I'm willing\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "to trade it to you.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'll trade you my {STR_VAR_2} for\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "a {STR_VAR_1} if you want.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_Text_PleaseBeGoodToMyPokemon:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Eheheh…\n"
|
|
|
|
.string "Please be good to my POKéMON.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_Text_DoesntLookLikeMonToMe:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Huh? That doesn't look anything like\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "a {STR_VAR_1} to me.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_Text_YouDontWantToThatsOkay:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Oh, if you don't want to, that's okay.\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "But my POKéMON is cute, you know…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_Text_AnyPokemonCanBeCute:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Any POKéMON can be cute if you raise\n"
|
|
|
|
.string "it with care and kindness.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
RustboroCity_House1_Text_AllSortsOfPlaces:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "In all sorts of places, there are all\n"
|
|
|
|
.string "sorts of POKéMON and people.\p"
|
|
|
|
.string "I find that fascinating, so I go to all\n"
|
|
|
|
.string "sorts of places.$"
|
|
|
|
|