Document Routes 15-19 scripts
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "Route18_EastEntrance_2F_EventScript_17047E",
|
||||
"script": "Route18_EastEntrance_2F_EventScript_Haden",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -45,14 +45,14 @@
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "Route18_EastEntrance_2F_EventScript_17046C"
|
||||
"script": "Route18_EastEntrance_2F_EventScript_LeftBinoculars"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 8,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "Route18_EastEntrance_2F_EventScript_170475"
|
||||
"script": "Route18_EastEntrance_2F_EventScript_RightBinoculars"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
gUnknown_819FD6B:: @ 819FD6B
|
||||
Route18_EastEntrance_2F_Text_PalletTownInWest:: @ 819FD6B
|
||||
.string "Let's see what the binoculars have\n"
|
||||
.string "to show…\p"
|
||||
.string "PALLET TOWN is in the west.$"
|
||||
|
||||
gUnknown_819FDB3:: @ 819FDB3
|
||||
Route18_EastEntrance_2F_Text_PeopleSwimming:: @ 819FDB3
|
||||
.string "Let's see what the binoculars have\n"
|
||||
.string "to show…\p"
|
||||
.string "There are people swimming.$"
|
||||
|
||||
Reference in New Issue
Block a user