pokeemerald/data/maps/FortreeCity_House1/scripts.inc

102 lines
3.1 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
FortreeCity_House1_MapScripts:: @ 82162BA
.byte 0
2019-11-07 20:49:52 +01:00
FortreeCity_House1_EventScript_Trader:: @ 82162BB
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
2019-11-07 20:49:52 +01:00
FortreeCity_House1_EventScript_DeclineTrade:: @ 821633D
msgbox FortreeCity_House1_Text_YouWontTradeMe, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-07 20:49:52 +01:00
FortreeCity_House1_EventScript_NotRequestedMon:: @ 8216347
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
2019-11-07 20:49:52 +01:00
FortreeCity_House1_EventScript_TradeCompleted:: @ 8216355
msgbox FortreeCity_House1_Text_GoingToMakeVolbeatStrong, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-07 20:49:52 +01:00
FortreeCity_House1_EventScript_ExpertF:: @ 821635F
msgbox FortreeCity_House1_Text_TradingMemoriesWithOthers, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-11-07 20:49:52 +01:00
FortreeCity_House1_EventScript_Zigzagoon:: @ 8216368
2017-11-10 02:21:31 +01:00
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
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
2019-11-07 20:49:52 +01:00
FortreeCity_House1_Text_YouWillTradeWontYou: @ 821637B
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
2019-11-07 20:49:52 +01:00
FortreeCity_House1_Text_MonYouTakeCare: @ 8216440
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!$"
2019-11-07 20:49:52 +01:00
FortreeCity_House1_Text_ThisIsntAMon: @ 8216474
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
2019-11-07 20:49:52 +01:00
FortreeCity_House1_Text_YouWontTradeMe: @ 821649F
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?$"
2019-11-07 20:49:52 +01:00
FortreeCity_House1_Text_GoingToMakeVolbeatStrong: @ 82164DB
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!$"
2019-11-07 20:49:52 +01:00
FortreeCity_House1_Text_TradingMemoriesWithOthers: @ 821653B
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.$"
2019-11-07 20:49:52 +01:00
FortreeCity_House1_Text_Zigzagoon: @ 8216597
2017-11-10 02:21:31 +01:00
.string "ZIGZAGOON: Gumomoh?$"