summaryrefslogtreecommitdiff
path: root/engine/events_2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events_2.asm')
-rw-r--r--engine/events_2.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events_2.asm b/engine/events_2.asm
index 73ac1f6ff..a5112eba3 100644
--- a/engine/events_2.asm
+++ b/engine/events_2.asm
@@ -146,7 +146,7 @@ Function97cfd:: ; 97cfd
ld hl, StatusFlags
bit 5, [hl]
jr nz, .asm_97d21
- ld a, [wd19a]
+ ld a, [wRoofPalette]
cp $4
jr z, .asm_97d17
cp $7