Document Vermilion scripts
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "VermilionCity_House2_EventScript_16B5D7",
|
||||
"script": "VermilionCity_House2_EventScript_Elyssa",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
VermilionCity_House2_MapScripts:: @ 816B5D6
|
||||
.byte 0
|
||||
|
||||
VermilionCity_House2_EventScript_16B5D7:: @ 816B5D7
|
||||
VermilionCity_House2_EventScript_Elyssa:: @ 816B5D7
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_0x8008, INGAME_TRADE_FARFETCHD
|
||||
call EventScript_GetInGameTradeSpeciesInfo
|
||||
goto_if_set FLAG_DID_CH_DING_TRADE, EventScript_16B649
|
||||
msgbox gUnknown_81949CB, MSGBOX_YESNO
|
||||
goto_if_set FLAG_DID_CH_DING_TRADE, VermilionCity_House2_EventScript_AlreadyTraded
|
||||
msgbox VermilionCity_House2_Text_DoYouHaveMonWantToTradeForMyMon, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16B631
|
||||
goto_if_eq VermilionCity_House2_EventScript_DeclineTrade
|
||||
call EventScript_ChooseMonForInGameTrade
|
||||
compare VAR_0x8004, PARTY_SIZE
|
||||
goto_if_ge EventScript_16B631
|
||||
goto_if_ge VermilionCity_House2_EventScript_DeclineTrade
|
||||
call EventScript_GetInGameTradeSpecies
|
||||
compare VAR_RESULT, VAR_0x8009
|
||||
goto_if_ne EventScript_16B63B
|
||||
goto_if_ne VermilionCity_House2_EventScript_NotRequestedMon
|
||||
call EventScript_DoInGameTrade
|
||||
msgbox gUnknown_8194A44
|
||||
msgbox VermilionCity_House2_Text_ThankYou
|
||||
setflag FLAG_DID_CH_DING_TRADE
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16B631:: @ 816B631
|
||||
msgbox gUnknown_81949FD
|
||||
VermilionCity_House2_EventScript_DeclineTrade:: @ 816B631
|
||||
msgbox VermilionCity_House2_Text_ThatsTooBad
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16B63B:: @ 816B63B
|
||||
VermilionCity_House2_EventScript_NotRequestedMon:: @ 816B63B
|
||||
getspeciesname 0, VAR_0x8009
|
||||
msgbox gUnknown_8194A0D
|
||||
msgbox VermilionCity_House2_Text_ThisIsNoMon
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16B649:: @ 816B649
|
||||
msgbox gUnknown_8194A4F
|
||||
VermilionCity_House2_EventScript_AlreadyTraded:: @ 816B649
|
||||
msgbox VermilionCity_House2_Text_HowIsMyOldMon
|
||||
release
|
||||
end
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
VermilionCity_House2_Text_DoYouHaveMonWantToTradeForMyMon:: @ 81949CB
|
||||
.string "Hi!\n"
|
||||
.string "Do you have a {STR_VAR_1}?\p"
|
||||
.string "Want to trade it for my\n"
|
||||
.string "{STR_VAR_2}?$"
|
||||
|
||||
VermilionCity_House2_Text_ThatsTooBad:: @ 81949FD
|
||||
.string "That's too bad.$"
|
||||
|
||||
VermilionCity_House2_Text_ThisIsNoMon:: @ 8194A0D
|
||||
.string "…This is no {STR_VAR_1}.\p"
|
||||
.string "If you get one, please trade it\n"
|
||||
.string "to me!$"
|
||||
|
||||
VermilionCity_House2_Text_ThankYou:: @ 8194A44
|
||||
.string "Thank you!$"
|
||||
|
||||
VermilionCity_House2_Text_HowIsMyOldMon:: @ 8194A4F
|
||||
.string "How is my old {STR_VAR_2}?\p"
|
||||
.string "My {STR_VAR_1} is doing great!$"
|
||||
Reference in New Issue
Block a user