summaryrefslogtreecommitdiff
path: root/engine/routines/playslowcry.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/routines/playslowcry.asm')
-rw-r--r--engine/routines/playslowcry.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/routines/playslowcry.asm b/engine/routines/playslowcry.asm
index 6f28ea845..1f27a7ca4 100644
--- a/engine/routines/playslowcry.asm
+++ b/engine/routines/playslowcry.asm
@@ -1,28 +1,28 @@
PlaySlowCry: ; fb841
- ld a, [ScriptVar]
+ ld a, [wScriptVar]
call LoadCry
jr c, .done
- ld hl, CryPitch
+ ld hl, wCryPitch
ld a, [hli]
ld h, [hl]
ld l, a
ld bc, -$140
add hl, bc
ld a, l
- ld [CryPitch], a
+ ld [wCryPitch], a
ld a, h
- ld [CryPitch + 1], a
- ld hl, CryLength
+ ld [wCryPitch + 1], a
+ ld hl, wCryLength
ld a, [hli]
ld h, [hl]
ld l, a
ld bc, $60
add hl, bc
ld a, l
- ld [CryLength], a
+ ld [wCryLength], a
ld a, h
- ld [CryLength + 1], a
+ ld [wCryLength + 1], a
farcall _PlayCry
call WaitSFX