summaryrefslogtreecommitdiff
path: root/engine/overworld/oam.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-14 14:32:49 -0700
committerYamaArashi <shadow962@live.com>2015-07-14 14:32:49 -0700
commit01631a2e5910b5334ba0f7cc534bc5d7e5b60ccc (patch)
tree845122ead069a7f4de89062434501727767d2ef2 /engine/overworld/oam.asm
parentb1cb3788938fa981e65619f022a41f1c1d91ae3b (diff)
player animations, emotion bubbles, etc.
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