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
+2 -2
View File
@@ -25,7 +25,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route16_House_EventScript_17014F",
"script": "Route16_House_EventScript_Woman",
"flag": "0"
},
{
@@ -38,7 +38,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "Route16_House_EventScript_1701AF",
"script": "Route16_House_EventScript_Fearow",
"flag": "0"
}
],
+12 -12
View File
@@ -1,36 +1,36 @@
Route16_House_MapScripts:: @ 817014E
.byte 0
Route16_House_EventScript_17014F:: @ 817014F
Route16_House_EventScript_Woman:: @ 817014F
lock
faceplayer
goto_if_set FLAG_GOT_HM02, EventScript_1701A5
msgbox gUnknown_819F851
goto_if_set FLAG_GOT_HM02, Route16_House_EventScript_AlreadyGotHM02
msgbox Route16_House_Text_FoundMySecretRetreat
checkitemspace ITEM_HM02, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_17019B
giveitem_msg gUnknown_819F8C0, ITEM_HM02
msgbox gUnknown_819F8E0
goto_if_eq Route16_House_EventScript_NoRoomForHM02
giveitem_msg Route16_House_Text_ReceivedHM02FromGirl, ITEM_HM02
msgbox Route16_House_Text_ExplainHM02
setflag FLAG_GOT_HM02
release
end
EventScript_17019B:: @ 817019B
msgbox gUnknown_819F92D
Route16_House_EventScript_NoRoomForHM02:: @ 817019B
msgbox Route16_House_Text_DontHaveAnyRoomForThis
release
end
EventScript_1701A5:: @ 81701A5
msgbox gUnknown_819F8E0
Route16_House_EventScript_AlreadyGotHM02:: @ 81701A5
msgbox Route16_House_Text_ExplainHM02
release
end
Route16_House_EventScript_1701AF:: @ 81701AF
Route16_House_EventScript_Fearow:: @ 81701AF
lock
faceplayer
waitse
playmoncry SPECIES_FEAROW, 0
msgbox gUnknown_819F94F
msgbox Route16_House_Text_Fearow
waitmoncry
release
end
+5 -5
View File
@@ -1,21 +1,21 @@
gUnknown_819F851:: @ 819F851
Route16_House_Text_FoundMySecretRetreat:: @ 819F851
.string "Oh, dear.\n"
.string "You've found my secret retreat.\p"
.string "Please don't tell anyone I'm here.\n"
.string "I'll make it up to you with this!$"
gUnknown_819F8C0:: @ 819F8C0
Route16_House_Text_ReceivedHM02FromGirl:: @ 819F8C0
.string "{PLAYER} received HM02\n"
.string "from the girl.$"
gUnknown_819F8E0:: @ 819F8E0
Route16_House_Text_ExplainHM02:: @ 819F8E0
.string "HM02 is FLY.\n"
.string "It's a wonderfully convenient move.\p"
.string "Please, put it to good use.$"
gUnknown_819F92D:: @ 819F92D
Route16_House_Text_DontHaveAnyRoomForThis:: @ 819F92D
.string "You don't have any room for this.$"
gUnknown_819F94F:: @ 819F94F
Route16_House_Text_Fearow:: @ 819F94F
.string "FEAROW: Kyueen!$"