mirror of
https://github.com/pret/pokered.git
synced 2026-08-28 12:25:03 -05:00
label hardcoded HRAM address, start documenting Vermilion
This commit is contained in:
@@ -8,14 +8,14 @@ VermilionCity_Script:
|
||||
pop hl
|
||||
bit 5, [hl]
|
||||
res 5, [hl]
|
||||
call nz, VermilionCityScript_197c0
|
||||
call nz, .setFirstLockTrashCanIndex
|
||||
ld hl, VermilionCity_ScriptPointers
|
||||
ld a, [wVermilionCityCurScript]
|
||||
jp CallFunctionInTable
|
||||
|
||||
VermilionCityScript_197c0:
|
||||
.setFirstLockTrashCanIndex
|
||||
call Random
|
||||
ld a, [$ffd4]
|
||||
ld a, [hRandomSub]
|
||||
and $e
|
||||
ld [wFirstLockTrashCanIndex], a
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user