summaryrefslogtreecommitdiff
path: root/engine/overworld/oam.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/overworld/oam.asm')
-rw-r--r--engine/overworld/oam.asm6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/overworld/oam.asm b/engine/overworld/oam.asm
index b4247257..c972ea43 100644
--- a/engine/overworld/oam.asm
+++ b/engine/overworld/oam.asm
@@ -144,10 +144,14 @@ PrepareOAMData:
ld de, $4
ld b, $a0
ld a, [wd736]
- bit 6, a
+ bit 6, a ; jumping down ledge or fishing animation?
ld a, $a0
jr z, .clear
+
+; Don't clear the last 4 entries because they are used for the shadow in the
+; jumping down ledge animation and the rod in the fishing animation.
ld a, $90
+
.clear
cp l
ret z