2025-04-22 16:50:58 +08:00

70 lines
2.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

RustboroCity_House1_MapScripts::
.byte 0
RustboroCity_House1_EventScript_Trader::
lock
faceplayer
goto_if_set FLAG_RUSTBORO_NPC_TRADE_COMPLETED, RustboroCity_House1_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_SEEDOT
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
msgbox RustboroCity_House1_Text_IllTradeIfYouWant, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, RustboroCity_House1_EventScript_DeclineTrade
special ChoosePartyMon
waitstate
copyvar VAR_0x800A, VAR_0x8004
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, RustboroCity_House1_EventScript_DeclineTrade
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
goto_if_ne VAR_RESULT, VAR_0x8009, RustboroCity_House1_EventScript_NotRequestedMon
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
msgbox RustboroCity_House1_Text_PleaseBeGoodToMyPokemon, MSGBOX_DEFAULT
setflag FLAG_RUSTBORO_NPC_TRADE_COMPLETED
release
end
RustboroCity_House1_EventScript_DeclineTrade::
msgbox RustboroCity_House1_Text_YouDontWantToThatsOkay, MSGBOX_DEFAULT
release
end
RustboroCity_House1_EventScript_NotRequestedMon::
bufferspeciesname STR_VAR_1, VAR_0x8009
msgbox RustboroCity_House1_Text_DoesntLookLikeMonToMe, MSGBOX_DEFAULT
release
end
RustboroCity_House1_EventScript_TradeCompleted::
msgbox RustboroCity_House1_Text_AnyPokemonCanBeCute, MSGBOX_DEFAULT
release
end
RustboroCity_House1_EventScript_Hiker::
msgbox RustboroCity_House1_Text_AllSortsOfPlaces, MSGBOX_NPC
end
RustboroCity_House1_Text_IllTradeIfYouWant:
.string "嗯?我的宝可梦很可爱?\n那是当然的。\p但你如果真的想要\n我也可以考虑跟你交换。\p愿意的话我用我的{STR_VAR_2}\n跟你换{STR_VAR_1}。$"
RustboroCity_House1_Text_PleaseBeGoodToMyPokemon:
.string "呵呵呵……\n要善待我的宝可梦啊。$"
RustboroCity_House1_Text_DoesntLookLikeMonToMe:
.string "嗯?这看上去可\n不是{STR_VAR_1}。$"
RustboroCity_House1_Text_YouDontWantToThatsOkay:
.string "啊,如果你不想换也不要紧,\n但你知道,我的宝可梦非常可爱……$"
RustboroCity_House1_Text_AnyPokemonCanBeCute:
.string "如果用爱心和细心去照顾宝可梦,\n它们都会变得十分可爱。$"
RustboroCity_House1_Text_AllSortsOfPlaces:
.string "在不同地方生活着\n不同的人和不同的宝可梦,\p我觉得很有趣\n所以四处旅行。$"