Document Routes 15-19 scripts

This commit is contained in:
GriffinR
2020-02-24 13:28:45 -05:00
parent a0fa06a066
commit d1b1709ef9
39 changed files with 804 additions and 802 deletions
+12 -12
View File
@@ -1,47 +1,47 @@
Route18_EastEntrance_2F_MapScripts:: @ 817046B
.byte 0
Route18_EastEntrance_2F_EventScript_17046C:: @ 817046C
msgbox gUnknown_819FD6B, MSGBOX_SIGN
Route18_EastEntrance_2F_EventScript_LeftBinoculars:: @ 817046C
msgbox Route18_EastEntrance_2F_Text_PalletTownInWest, MSGBOX_SIGN
end
Route18_EastEntrance_2F_EventScript_170475:: @ 8170475
msgbox gUnknown_819FDB3, MSGBOX_SIGN
Route18_EastEntrance_2F_EventScript_RightBinoculars:: @ 8170475
msgbox Route18_EastEntrance_2F_Text_PeopleSwimming, MSGBOX_SIGN
end
Route18_EastEntrance_2F_EventScript_17047E:: @ 817047E
Route18_EastEntrance_2F_EventScript_Haden:: @ 817047E
lock
faceplayer
setvar VAR_0x8008, INGAME_TRADE_LICKITUNG
call EventScript_GetInGameTradeSpeciesInfo
goto_if_set FLAG_DID_MARC_TRADE, EventScript_1704F0
goto_if_set FLAG_DID_MARC_TRADE, Route18_EastEntrance_2F_EventScript_AlreadyTraded
msgbox Trade_Text_LookingForMonWannaTradeForMon, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq EventScript_1704D8
goto_if_eq Route18_EastEntrance_2F_EventScript_DeclineTrade
call EventScript_ChooseMonForInGameTrade
compare VAR_0x8004, PARTY_SIZE
goto_if_ge EventScript_1704D8
goto_if_ge Route18_EastEntrance_2F_EventScript_DeclineTrade
call EventScript_GetInGameTradeSpecies
compare VAR_RESULT, VAR_0x8009
goto_if_ne EventScript_1704E2
goto_if_ne Route18_EastEntrance_2F_EventScript_NotRequestedMon
call EventScript_DoInGameTrade
msgbox Trade_Text_HeyThanks
setflag FLAG_DID_MARC_TRADE
release
end
EventScript_1704D8:: @ 81704D8
Route18_EastEntrance_2F_EventScript_DeclineTrade:: @ 81704D8
msgbox Trade_Text_AwwOhWell
release
end
EventScript_1704E2:: @ 81704E2
Route18_EastEntrance_2F_EventScript_NotRequestedMon:: @ 81704E2
getspeciesname 0, VAR_0x8009
msgbox Trade_Text_WhatThatsNoMon
release
end
EventScript_1704F0:: @ 81704F0
Route18_EastEntrance_2F_EventScript_AlreadyTraded:: @ 81704F0
msgbox Trade_Text_IsntMyOldMonGreat
release
end