summaryrefslogtreecommitdiff
path: root/scripts/silphco4.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/silphco4.asm')
-rwxr-xr-xscripts/silphco4.asm12
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/silphco4.asm b/scripts/silphco4.asm
index 0ea2c8c8..0dad6f6b 100755
--- a/scripts/silphco4.asm
+++ b/scripts/silphco4.asm
@@ -13,7 +13,7 @@ SilphCo4Script_19d21: ; 19d21 (6:5d21)
bit 5, [hl]
res 5, [hl]
ret z
- ld hl, SilphCo4Data19d58
+ ld hl, SilphCo4GateCoords
call SilphCo4Script_19d5d
call SilphCo4Script_19d89
CheckEvent EVENT_SILPH_CO_4_UNLOCKED_DOOR1
@@ -21,7 +21,7 @@ SilphCo4Script_19d21: ; 19d21 (6:5d21)
push af
ld a, $54
ld [wNewTileBlockID], a
- ld bc, $0602
+ lb bc, 6, 2
predef ReplaceTileBlock
pop af
.asm_19d48
@@ -29,11 +29,13 @@ SilphCo4Script_19d21: ; 19d21 (6:5d21)
ret nz
ld a, $54
ld [wNewTileBlockID], a
- ld bc, $0406
+ lb bc, 4, 6
predef_jump ReplaceTileBlock
-SilphCo4Data19d58: ; 19d58 (6:5d58)
- db $06, $02, $04, $06, $ff
+SilphCo4GateCoords: ; 19d58 (6:5d58)
+ db $06,$02
+ db $04,$06
+ db $FF
SilphCo4Script_19d5d: ; 19d5d (6:5d5d)
push hl