summaryrefslogtreecommitdiff
path: root/scripts/silphco6.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-08-05 16:20:29 -0500
committerdannye <corrnondacqb@yahoo.com>2015-08-05 16:25:58 -0500
commitf8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (patch)
tree53ef4ec4b7ab591f1ba98322405c6b1e645a21e2 /scripts/silphco6.asm
parent891627d4ba193dd839e03e9e30f1e492e57eac9f (diff)
Use more lb
and other clean up
Diffstat (limited to 'scripts/silphco6.asm')
-rwxr-xr-xscripts/silphco6.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/silphco6.asm b/scripts/silphco6.asm
index 25fbcef9..fa199069 100755
--- a/scripts/silphco6.asm
+++ b/scripts/silphco6.asm
@@ -13,19 +13,19 @@ SilphCo6Script_1a1bf: ; 1a1bf (6:61bf)
bit 5, [hl]
res 5, [hl]
ret z
- ld hl, SilphCo6Coords1
+ ld hl, SilphCo6GateCoords
call SilphCo4Script_19d5d
call SilphCo6Script_1a1e6
CheckEvent EVENT_SILPH_CO_6_UNLOCKED_DOOR
ret nz
ld a, $5f
ld [wNewTileBlockID], a
- ld bc, $0602
+ lb bc, 6, 2
predef_jump ReplaceTileBlock
-SilphCo6Coords1: ; 1a1e3 (6:61e3)
- db $06, $02
- db $ff
+SilphCo6GateCoords: ; 1a1e3 (6:61e3)
+ db $06,$02
+ db $FF
SilphCo6Script_1a1e6: ; 1a1e6 (6:61e6)
ld a, [$ffe0]