aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2024-09-29 10:50:46 -0500
committerdannye <33dannye@gmail.com>2024-09-29 10:50:46 -0500
commit716f8608c13fbee20b8fb71118e0691344098591 (patch)
treea69f3805e6e8e372a8fe9c064aa77d76efbed3a3 /engine/overworld
parentIdentify more bit flags (#119) (diff)
downloadpokeyellow-716f8608c13fbee20b8fb71118e0691344098591.tar.gz
pokeyellow-716f8608c13fbee20b8fb71118e0691344098591.tar.xz
pokeyellow-716f8608c13fbee20b8fb71118e0691344098591.zip
Rename off-by-one wram labels
Diffstat (limited to 'engine/overworld')
-rw-r--r--engine/overworld/sprite_collisions.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/sprite_collisions.asm b/engine/overworld/sprite_collisions.asm
index 186ff504..2a514a0a 100644
--- a/engine/overworld/sprite_collisions.asm
+++ b/engine/overworld/sprite_collisions.asm
@@ -277,7 +277,7 @@ DetectCollisionBetweenSprites:
and $f0 ; collision with pikachu?
jr nz, .asm_4cd9
xor a
- ld [wd434], a
+ ld [wd433], a
ldh a, [hCollidingSpriteOffset]
cp $f
jr nz, .asm_4cd9
@@ -352,7 +352,7 @@ Func_4d0a:
.asm_4d19
ld a, c
and b
- ld [wd434], a
+ ld [wd433], a
ld a, c
inc l
inc l