diff options
author | Matt <5638426+mattbruv@users.noreply.github.com> | 2020-05-03 02:00:01 -0400 |
---|---|---|
committer | Matt <5638426+mattbruv@users.noreply.github.com> | 2020-05-03 02:00:01 -0400 |
commit | b6aa26ffa4629e027ae0384c85ebeb9bc5635728 (patch) | |
tree | ef7ea58889bda9b2ff821dece7dfedd2fa60bd07 /scripts | |
parent | dcff1305fed75506f651d0d4a100fb116770c145 (diff) |
label hardcoded HRAM address, start documenting Vermilion
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/VermilionCity.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/VermilionCity.asm b/scripts/VermilionCity.asm index 1ac81521..780b9975 100755 --- a/scripts/VermilionCity.asm +++ b/scripts/VermilionCity.asm @@ -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 |