mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-10 23:40:59 +13:00
label hardcoded HRAM address, start documenting Vermilion
This commit is contained in:
parent
dcff1305fe
commit
b6aa26ffa4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue