diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-08-05 16:20:29 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-08-05 16:25:58 -0500 |
commit | f8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (patch) | |
tree | 53ef4ec4b7ab591f1ba98322405c6b1e645a21e2 /scripts/silphco10.asm | |
parent | 891627d4ba193dd839e03e9e30f1e492e57eac9f (diff) |
Use more lb
and other clean up
Diffstat (limited to 'scripts/silphco10.asm')
-rwxr-xr-x | scripts/silphco10.asm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/silphco10.asm b/scripts/silphco10.asm index fb419a22..a6f2f860 100755 --- a/scripts/silphco10.asm +++ b/scripts/silphco10.asm @@ -13,18 +13,19 @@ SilphCo10Script_5a14f: ; 5a14f (16:614f) bit 5, [hl] res 5, [hl] ret z - ld hl, DataTable_5a173 + ld hl, SilphCo10GateCoords call SilphCo2Script_59d43 call SilphCo10Text_5a176 CheckEvent EVENT_SILPH_CO_10_UNLOCKED_DOOR ret nz ld a, $54 ld [wNewTileBlockID], a - ld bc, $405 + lb bc, 4, 5 predef_jump ReplaceTileBlock -DataTable_5a173: ; 5a173 (16:6173) - db $04,$05,$FF +SilphCo10GateCoords: ; 5a173 (16:6173) + db $04,$05 + db $FF SilphCo10Text_5a176: ; 5a176 (16:6176) ld a, [$ffe0] |