Document Viridian City scripts and adjacent routes

This commit is contained in:
GriffinR
2020-01-24 14:42:46 -05:00
parent 85e5c57e8c
commit c0be66fc2e
63 changed files with 853 additions and 848 deletions
+10 -10
View File
@@ -1,11 +1,11 @@
Route1_MapScripts:: @ 8167EFD
.byte 0
Route1_EventScript_167EFE:: @ 8167EFE
Route1_EventScript_MartClerk:: @ 8167EFE
lock
faceplayer
goto_if_set FLAG_GOT_POTION_ON_ROUTE_1, EventScript_167F48
msgbox gUnknown_818329D
goto_if_set FLAG_GOT_POTION_ON_ROUTE_1, Route1_EventScript_AlreadyGotPotion
msgbox Route1_Text_WorkAtPokeMartTakeSample
textcolor 3
checkitemspace ITEM_POTION, 1
compare VAR_RESULT, FALSE
@@ -16,21 +16,21 @@ Route1_EventScript_167EFE:: @ 8167EFE
waitmessage
waitfanfare
additem ITEM_POTION
msgbox gUnknown_8183387
msgbox Route1_Text_PutPotionAway
call EventScript_1A6675
setflag FLAG_GOT_POTION_ON_ROUTE_1
release
end
EventScript_167F48:: @ 8167F48
msgbox gUnknown_8183347
Route1_EventScript_AlreadyGotPotion:: @ 8167F48
msgbox Route1_Text_ComeSeeUsIfYouNeedPokeBalls
release
end
Route1_EventScript_167F52:: @ 8167F52
msgbox gUnknown_81833B9, MSGBOX_NPC
Route1_EventScript_Boy:: @ 8167F52
msgbox Route1_Text_CanJumpFromLedges, MSGBOX_NPC
end
Route1_EventScript_167F5B:: @ 8167F5B
msgbox gUnknown_818343A, MSGBOX_SIGN
Route1_EventScript_RouteSign:: @ 8167F5B
msgbox Route1_Text_RouteSign, MSGBOX_SIGN
end