summaryrefslogtreecommitdiff
path: root/battle/anim_commands.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-07-18 09:50:31 -0700
committeryenatch <yenatch@gmail.com>2014-07-18 10:31:51 -0700
commitab018a5094c37688d9f111cd89ed2514fb38b0be (patch)
tree89eaf3ba9f9a9860ae164750cac46d83d53f3d90 /battle/anim_commands.asm
parent2f996085261ef665fd38df33a58c779df557baf7 (diff)
Cry "echo" is actually the upper byte of pitch (now a word).
Diffstat (limited to 'battle/anim_commands.asm')
-rw-r--r--battle/anim_commands.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/battle/anim_commands.asm b/battle/anim_commands.asm
index f8f4a26ce..c7c890703 100644
--- a/battle/anim_commands.asm
+++ b/battle/anim_commands.asm
@@ -1327,15 +1327,15 @@ BattleAnimCmd_E1: ; cc807 (33:4807)
ld b, a
push hl
- ld hl, CryPitch ; $c2b0
+ ld hl, CryPitch
ld a, [hli]
ld h, [hl]
ld l, a
add hl, bc
ld a, l
- ld [CryPitch], a ; $c2b0
+ ld [CryPitch], a
ld a, h
- ld [CryEcho], a ; $c2b1
+ ld [CryPitch + 1], a
pop hl
ld a, [hli]
@@ -1363,11 +1363,11 @@ BattleAnimCmd_E1: ; cc807 (33:4807)
; cc871 (33:4871)
Datacc871: ; cc871
-; +pitch, +echo, +length
- db $00, $00, $c0, $00
- db $00, $00, $40, $00
- db $00, $00, $00, $00
- db $00, $00, $00, $00
+; +pitch, +length
+ dw 0, $c0
+ dw 0, $40
+ dw 0, $00
+ dw 0, $00
; cc881