From fc23e72a39eb9cb9ca0651ea805abb6f47ee458c Mon Sep 17 00:00:00 2001 From: Sylvie <35663410+Rangi42@users.noreply.github.com> Date: Sat, 15 Jun 2024 12:18:00 -0400 Subject: Identify some unused WRAM variables (#453) --- engine/battle/animations.asm | 6 +++--- engine/battle/misc.asm | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'engine/battle') diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm index 712958bc..41d6a2ef 100644 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -439,7 +439,7 @@ MoveAnimation: call WaitForSoundToFinish xor a ld [wSubAnimSubEntryAddr], a - ld [wUnusedD09B], a + ld [wUnusedMoveAnimByte], a ld [wSubAnimTransform], a dec a ; NO_MOVE - 1 ld [wAnimSoundID], a @@ -1125,12 +1125,12 @@ AnimationWaterDropletsEverywhere: ld a, 16 ld [wBaseCoordY], a ld a, 0 - ld [wUnusedD08A], a + ld [wUnusedWaterDropletsByte], a call _AnimationWaterDroplets ld a, 24 ld [wBaseCoordY], a ld a, 32 - ld [wUnusedD08A], a + ld [wUnusedWaterDropletsByte], a call _AnimationWaterDroplets dec d jr nz, .loop diff --git a/engine/battle/misc.asm b/engine/battle/misc.asm index 524ec161..4feef343 100644 --- a/engine/battle/misc.asm +++ b/engine/battle/misc.asm @@ -92,9 +92,9 @@ InitList: ld a, h ld [wListPointer + 1], a ld a, e - ld [wUnusedCF8D], a + ld [wUnusedNamePointer], a ld a, d - ld [wUnusedCF8D + 1], a + ld [wUnusedNamePointer + 1], a ld bc, ItemPrices ld a, c ld [wItemPrices], a -- cgit v1.3.1-sl0p