From dd9412dd57ac9a0057dc43751593e222752ce7c2 Mon Sep 17 00:00:00 2001 From: jidoc01 Date: Mon, 7 Oct 2019 15:39:34 +0200 Subject: Rename wd422 to wTempAnimation This wram variable stores an animation to play. --- src/engine/home.asm | 4 ++-- src/wram.asm | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3