82 lines
2.6 KiB
PHP
Raw Permalink Normal View History

2021-07-20 15:18:31 -04:00
RustboroCity_House1_MapScripts::
2017-11-09 19:21:31 -06:00
.byte 0
2021-07-20 15:18:31 -04:00
RustboroCity_House1_EventScript_Trader::
2017-11-09 19:21:31 -06:00
lock
faceplayer
2019-11-05 14:05:29 -05:00
goto_if_set FLAG_RUSTBORO_NPC_TRADE_COMPLETED, RustboroCity_House1_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_SEEDOT
2017-11-09 19:21:31 -06:00
copyvar VAR_0x8004, VAR_0x8008
2018-12-29 12:46:15 -06:00
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
2017-11-09 19:21:31 -06:00
copyvar VAR_0x8009, VAR_RESULT
2019-11-05 14:05:29 -05:00
msgbox RustboroCity_House1_Text_IllTradeIfYouWant, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, RustboroCity_House1_EventScript_DeclineTrade
2019-10-17 19:22:03 -04:00
special ChoosePartyMon
2017-11-09 19:21:31 -06:00
waitstate
copyvar VAR_0x800A, VAR_0x8004
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, RustboroCity_House1_EventScript_DeclineTrade
2017-11-09 19:21:31 -06:00
copyvar VAR_0x8005, VAR_0x800A
2018-12-29 12:46:15 -06:00
specialvar VAR_RESULT, GetTradeSpecies
2017-11-09 19:21:31 -06:00
copyvar VAR_0x800B, VAR_RESULT
goto_if_ne VAR_RESULT, VAR_0x8009, RustboroCity_House1_EventScript_NotRequestedMon
2017-11-09 19:21:31 -06:00
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
2018-12-29 12:46:15 -06:00
special CreateInGameTradePokemon
special DoInGameTradeScene
2017-11-09 19:21:31 -06:00
waitstate
2019-11-05 14:05:29 -05:00
msgbox RustboroCity_House1_Text_PleaseBeGoodToMyPokemon, MSGBOX_DEFAULT
2019-01-02 21:12:43 +00:00
setflag FLAG_RUSTBORO_NPC_TRADE_COMPLETED
2017-11-09 19:21:31 -06:00
release
end
2021-07-20 15:18:31 -04:00
RustboroCity_House1_EventScript_DeclineTrade::
2019-11-05 14:05:29 -05:00
msgbox RustboroCity_House1_Text_YouDontWantToThatsOkay, MSGBOX_DEFAULT
2017-11-09 19:21:31 -06:00
release
end
2021-07-20 15:18:31 -04:00
RustboroCity_House1_EventScript_NotRequestedMon::
bufferspeciesname STR_VAR_1, VAR_0x8009
2019-11-05 14:05:29 -05:00
msgbox RustboroCity_House1_Text_DoesntLookLikeMonToMe, MSGBOX_DEFAULT
2017-11-09 19:21:31 -06:00
release
end
2021-07-20 15:18:31 -04:00
RustboroCity_House1_EventScript_TradeCompleted::
2019-11-05 14:05:29 -05:00
msgbox RustboroCity_House1_Text_AnyPokemonCanBeCute, MSGBOX_DEFAULT
2017-11-09 19:21:31 -06:00
release
end
2021-07-20 15:18:31 -04:00
RustboroCity_House1_EventScript_Hiker::
2019-11-05 14:05:29 -05:00
msgbox RustboroCity_House1_Text_AllSortsOfPlaces, MSGBOX_NPC
2017-11-09 19:21:31 -06:00
end
2021-07-20 15:18:31 -04:00
RustboroCity_House1_Text_IllTradeIfYouWant:
2017-11-09 19:21:31 -06:00
.string "Huh? My POKéMON is cute?\n"
.string "Sure, I knew that.\p"
2018-12-07 10:41:08 -05:00
.string "But if you really want, I'm willing\n"
2017-11-09 19:21:31 -06:00
.string "to trade it to you.\p"
2018-12-07 10:41:08 -05:00
.string "I'll trade you my {STR_VAR_2} for\n"
2017-11-09 19:21:31 -06:00
.string "a {STR_VAR_1} if you want.$"
2021-07-20 15:18:31 -04:00
RustboroCity_House1_Text_PleaseBeGoodToMyPokemon:
2017-11-09 19:21:31 -06:00
.string "Eheheh…\n"
.string "Please be good to my POKéMON.$"
2021-07-20 15:18:31 -04:00
RustboroCity_House1_Text_DoesntLookLikeMonToMe:
2018-12-07 10:41:08 -05:00
.string "Huh? That doesn't look anything like\n"
2017-11-09 19:21:31 -06:00
.string "a {STR_VAR_1} to me.$"
2021-07-20 15:18:31 -04:00
RustboroCity_House1_Text_YouDontWantToThatsOkay:
2018-12-07 10:41:08 -05:00
.string "Oh, if you don't want to, that's okay.\n"
2017-11-09 19:21:31 -06:00
.string "But my POKéMON is cute, you know…$"
2021-07-20 15:18:31 -04:00
RustboroCity_House1_Text_AnyPokemonCanBeCute:
2017-11-09 19:21:31 -06:00
.string "Any POKéMON can be cute if you raise\n"
.string "it with care and kindness.$"
2021-07-20 15:18:31 -04:00
RustboroCity_House1_Text_AllSortsOfPlaces:
2017-11-09 19:21:31 -06: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.$"