summaryrefslogtreecommitdiff
path: root/scripts/silphco2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/silphco2.asm')
-rwxr-xr-xscripts/silphco2.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/silphco2.asm b/scripts/silphco2.asm
index a8d0fa56..b758455e 100755
--- a/scripts/silphco2.asm
+++ b/scripts/silphco2.asm
@@ -20,7 +20,7 @@ SilphCo2Script_59d07: ; 59d07 (16:5d07)
jr nz, .asm_59d2e
push af
ld a, $54
- ld [wd09f], a
+ ld [wNewTileBlockID], a
ld bc, $0202
predef ReplaceTileBlock
pop af
@@ -28,7 +28,7 @@ SilphCo2Script_59d07: ; 59d07 (16:5d07)
CheckEventAfterBranchReuseA EVENT_SILPH_CO_2_UNLOCKED_DOOR2, EVENT_SILPH_CO_2_UNLOCKED_DOOR1
ret nz
ld a, $54
- ld [wd09f], a
+ ld [wNewTileBlockID], a
ld bc, $0502
predef_jump ReplaceTileBlock