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": "Route15_WestEntrance_2F_EventScript_1700B9",
|
||||
"script": "Route15_WestEntrance_2F_EventScript_Aide",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -45,14 +45,14 @@
|
||||
"x": 4,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "Route15_WestEntrance_2F_EventScript_170093"
|
||||
"script": "Route15_WestEntrance_2F_EventScript_LeftBinoculars"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 8,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "Route15_WestEntrance_2F_EventScript_1700B0"
|
||||
"script": "Route15_WestEntrance_2F_EventScript_RightBinoculars"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
.equ REQUIRED_CAUGHT_MONS, 50
|
||||
|
||||
Route15_WestEntrance_2F_MapScripts:: @ 8170092
|
||||
.byte 0
|
||||
|
||||
Route15_WestEntrance_2F_EventScript_170093:: @ 8170093
|
||||
Route15_WestEntrance_2F_EventScript_LeftBinoculars:: @ 8170093
|
||||
lockall
|
||||
msgbox gUnknown_819F79C
|
||||
msgbox Route15_WestEntrance_2F_Text_LargeShiningBird
|
||||
drawmonpic SPECIES_ARTICUNO, 10, 3
|
||||
delay 20
|
||||
waitbuttonpress
|
||||
@@ -13,40 +15,40 @@ Route15_WestEntrance_2F_EventScript_170093:: @ 8170093
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route15_WestEntrance_2F_EventScript_1700B0:: @ 81700B0
|
||||
msgbox gUnknown_819F7F8, MSGBOX_SIGN
|
||||
Route15_WestEntrance_2F_EventScript_RightBinoculars:: @ 81700B0
|
||||
msgbox Route15_WestEntrance_2F_Text_SmallIslandOnHorizon, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route15_WestEntrance_2F_EventScript_1700B9:: @ 81700B9
|
||||
Route15_WestEntrance_2F_EventScript_Aide:: @ 81700B9
|
||||
lock
|
||||
faceplayer
|
||||
call EventScript_170145
|
||||
goto_if_set FLAG_GOT_EXP_SHARE_FROM_OAKS_AIDE, EventScript_17013B
|
||||
msgbox gUnknown_819F5AB, MSGBOX_YESNO
|
||||
call Route15_WestEntrance_2F_EventScript_GetAideRequestInfo
|
||||
goto_if_set FLAG_GOT_EXP_SHARE_FROM_OAKS_AIDE, Route15_WestEntrance_2F_EventScript_AlreadyGotExpShare
|
||||
msgbox Route15_WestEntrance_2F_Text_GiveItemIfCaughtEnough, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq Aide_EventScript_DeclineCheckMons
|
||||
setvar VAR_0x8004, 0
|
||||
specialvar VAR_RESULT, Special_GetPokedexCount
|
||||
getnumberstring 2, VAR_0x8006
|
||||
call EventScript_170145
|
||||
compare VAR_0x8006, 50
|
||||
call Route15_WestEntrance_2F_EventScript_GetAideRequestInfo
|
||||
compare VAR_0x8006, REQUIRED_CAUGHT_MONS
|
||||
goto_if_lt Aide_EventScript_HaventCaughtEnough
|
||||
msgbox gUnknown_819F6AA
|
||||
msgbox Route15_WestEntrance_2F_Text_GreatHereYouGo
|
||||
checkitemspace ITEM_EXP_SHARE, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq Aide_EventScript_NoRoomForItem
|
||||
giveitem_msg gUnknown_819F6FD, ITEM_EXP_SHARE
|
||||
giveitem_msg Route15_WestEntrance_2F_Text_ReceivedItemFromAide, ITEM_EXP_SHARE
|
||||
setflag FLAG_GOT_EXP_SHARE_FROM_OAKS_AIDE
|
||||
msgbox gUnknown_819F71F
|
||||
msgbox Route15_WestEntrance_2F_Text_ExplainExpShare
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_17013B:: @ 817013B
|
||||
msgbox gUnknown_819F71F
|
||||
Route15_WestEntrance_2F_EventScript_AlreadyGotExpShare:: @ 817013B
|
||||
msgbox Route15_WestEntrance_2F_Text_ExplainExpShare
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_170145:: @ 8170145
|
||||
getnumberstring 0, 50
|
||||
Route15_WestEntrance_2F_EventScript_GetAideRequestInfo:: @ 8170145
|
||||
getnumberstring 0, REQUIRED_CAUGHT_MONS
|
||||
getitemname 1, ITEM_EXP_SHARE
|
||||
return
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_819F5AB:: @ 819F5AB
|
||||
Route15_WestEntrance_2F_Text_GiveItemIfCaughtEnough:: @ 819F5AB
|
||||
.string "Hi! Remember me?\n"
|
||||
.string "I'm one of PROF. OAK's AIDES.\p"
|
||||
.string "If your POKéDEX has complete data\n"
|
||||
@@ -10,30 +10,30 @@ gUnknown_819F5AB:: @ 819F5AB
|
||||
.string "Have you gathered data on at least\n"
|
||||
.string "{STR_VAR_1} kinds of POKéMON?$"
|
||||
|
||||
gUnknown_819F6AA:: @ 819F6AA
|
||||
Route15_WestEntrance_2F_Text_GreatHereYouGo:: @ 819F6AA
|
||||
.string "Great! You have caught or owned\n"
|
||||
.string "{STR_VAR_3} kinds of POKéMON!\p"
|
||||
.string "Congratulations!\n"
|
||||
.string "Here you go!$"
|
||||
|
||||
gUnknown_819F6FD:: @ 819F6FD
|
||||
Route15_WestEntrance_2F_Text_ReceivedItemFromAide:: @ 819F6FD
|
||||
.string "{PLAYER} received the {STR_VAR_2}\n"
|
||||
.string "from the AIDE.$"
|
||||
|
||||
gUnknown_819F71F:: @ 819F71F
|
||||
Route15_WestEntrance_2F_Text_ExplainExpShare:: @ 819F71F
|
||||
.string "EXP. SHARE is an item to be held\n"
|
||||
.string "by a POKéMON.\p"
|
||||
.string "The POKéMON will receive a share\n"
|
||||
.string "of the EXP. Points without having\l"
|
||||
.string "to battle.$"
|
||||
|
||||
gUnknown_819F79C:: @ 819F79C
|
||||
Route15_WestEntrance_2F_Text_LargeShiningBird:: @ 819F79C
|
||||
.string "Let's see what the binoculars have\n"
|
||||
.string "to show…\p"
|
||||
.string "A large, shining bird is flying\n"
|
||||
.string "toward the sea.$"
|
||||
|
||||
gUnknown_819F7F8:: @ 819F7F8
|
||||
Route15_WestEntrance_2F_Text_SmallIslandOnHorizon:: @ 819F7F8
|
||||
.string "Let's see what the binoculars have\n"
|
||||
.string "to show…\p"
|
||||
.string "It looks like a small island on\n"
|
||||
|
||||
Reference in New Issue
Block a user