summaryrefslogtreecommitdiff
path: root/engine/routines/playslowcry.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
commita1951cefc09035e11077a433b28ec8c66b3b03db (patch)
tree4de98db5a6edb6d74192028d50893da2b764421f /engine/routines/playslowcry.asm
parent79bd48f85c7dd1868264e290b12dad17a6e25b95 (diff)
Prefix wram labels with w, part 2.
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 545629e51..1dc6c78ac 100644
--- a/engine/routines/playslowcry.asm
+++ b/engine/routines/playslowcry.asm
@@ -1,28 +1,28 @@
Special_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