pokeemerald/data/maps/FortreeCity_House1/scripts.inc

102 lines
3.0 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
FortreeCity_House1_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
FortreeCity_House1_EventScript_Trader::
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-07 20:49:52 +01:00
goto_if_set FLAG_FORTREE_NPC_TRADE_COMPLETED, FortreeCity_House1_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_PLUSLE
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 20:49:52 +01:00
msgbox FortreeCity_House1_Text_YouWillTradeWontYou, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-11-07 20:49:52 +01:00
goto_if_eq FortreeCity_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
compare VAR_0x8004, 255
2019-11-07 20:49:52 +01:00
goto_if_eq FortreeCity_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
compare VAR_RESULT, VAR_0x8009
2019-11-07 20:49:52 +01:00
goto_if_ne FortreeCity_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
bufferspeciesname 0, VAR_0x8009
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House1_Text_MonYouTakeCare, MSGBOX_DEFAULT
2019-01-02 22:12:43 +01:00
setflag FLAG_FORTREE_NPC_TRADE_COMPLETED
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
FortreeCity_House1_EventScript_DeclineTrade::
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House1_Text_YouWontTradeMe, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
FortreeCity_House1_EventScript_NotRequestedMon::
2017-11-10 02:21:31 +01:00
bufferspeciesname 0, VAR_0x8009
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House1_Text_ThisIsntAMon, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
FortreeCity_House1_EventScript_TradeCompleted::
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House1_Text_GoingToMakeVolbeatStrong, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
FortreeCity_House1_EventScript_ExpertF::
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House1_Text_TradingMemoriesWithOthers, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
FortreeCity_House1_EventScript_Zigzagoon::
2017-11-10 02:21:31 +01:00
lock
faceplayer
waitse
2021-11-07 18:58:11 +01:00
playmoncry SPECIES_ZIGZAGOON, CRY_MODE_NORMAL
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House1_Text_Zigzagoon, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
waitmoncry
release
end
2021-07-20 21:18:31 +02:00
FortreeCity_House1_Text_YouWillTradeWontYou:
2017-11-10 02:21:31 +01:00
.string "Wrooooaaar! I need it!\n"
.string "I have to get me a {STR_VAR_1}!\l"
2018-12-07 16:41:08 +01:00
.string "I'll do anything for it!\p"
2017-11-10 02:21:31 +01:00
.string "…Uh… Did you hear that?\n"
.string "My shout from the bottom of my heart?\p"
.string "Having heard that, you will trade\n"
.string "your {STR_VAR_1} for my {STR_VAR_2},\l"
2018-12-07 16:41:08 +01:00
.string "won't you?$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
FortreeCity_House1_Text_MonYouTakeCare:
2017-11-10 02:21:31 +01:00
.string "Oh, yeah, right on!\p"
.string "{STR_VAR_1}, welcome!\n"
.string "{STR_VAR_2}, you take care!$"
2021-07-20 21:18:31 +02:00
FortreeCity_House1_Text_ThisIsntAMon:
2018-12-07 16:41:08 +01:00
.string "Uh, no, I don't think so.\n"
.string "That isn't a {STR_VAR_1}.$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
FortreeCity_House1_Text_YouWontTradeMe:
2018-12-07 16:41:08 +01:00
.string "No? You won't trade me?\n"
2017-11-10 02:21:31 +01:00
.string "Even after I bared my heart to you?$"
2021-07-20 21:18:31 +02:00
FortreeCity_House1_Text_GoingToMakeVolbeatStrong:
2018-12-07 16:41:08 +01:00
.string "I'm going to make VOLBEAT super\n"
2017-11-10 02:21:31 +01:00
.string "strong from this moment on!\p"
.string "I hope you do the same with PLUSLE!$"
2021-07-20 21:18:31 +02:00
FortreeCity_House1_Text_TradingMemoriesWithOthers:
2017-11-10 02:21:31 +01:00
.string "Trading POKéMON with others…\p"
2018-12-07 16:41:08 +01:00
.string "It's as if you're trading your own\n"
2017-11-10 02:21:31 +01:00
.string "memories with other people.$"
2021-07-20 21:18:31 +02:00
FortreeCity_House1_Text_Zigzagoon:
2017-11-10 02:21:31 +01:00
.string "ZIGZAGOON: Gumomoh?$"