summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjidoc01 <jidoc01@naver.com>2019-10-07 15:39:34 +0200
committerjidoc01 <jidoc01@naver.com>2019-10-07 15:39:34 +0200
commitdd9412dd57ac9a0057dc43751593e222752ce7c2 (patch)
tree5c7d375af04ab8e1e2786afbc9da0ec56c23cb1d
parent14ac0d098d60b69e23fc31d95c196b553d5bbe11 (diff)
Rename wd422 to wTempAnimation
This wram variable stores an animation to play.
-rw-r--r--src/engine/home.asm4
-rw-r--r--src/wram.asm3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/home.asm b/src/engine/home.asm
index 15778ca..b7374aa 100644
--- a/src/engine/home.asm
+++ b/src/engine/home.asm
@@ -11241,7 +11241,7 @@ CheckAnyAnimationPlaying: ; 3b52 (0:3b52)
ret
Func_3b6a: ; 3b6a (0:3b6a)
- ld [wd422], a
+ ld [wTempAnimation], a ; hold an animation temporarily
ldh a, [hBankROM]
push af
ld [wd4be], a
@@ -11250,7 +11250,7 @@ Func_3b6a: ; 3b6a (0:3b6a)
push de
ld a, $07
call BankswitchROM
- ld a, [wd422]
+ ld a, [wTempAnimation]
cp $61
jr nc, .asm_3b90
ld hl, wd4ad
diff --git a/src/wram.asm b/src/wram.asm
index df240ac..10de938 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -2164,7 +2164,8 @@ wd420:: ; d420
wd421:: ; d421
ds $1
-wd422:: ; d422
+; holds an animation to play
+wTempAnimation:: ; d422
ds $1
; holds a list of animations to play