aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-06-15 12:18:00 -0400
committerGitHub <noreply@github.com>2024-06-15 12:18:00 -0400
commitfc23e72a39eb9cb9ca0651ea805abb6f47ee458c (patch)
treed2c648b27d20849b6bbeddab6f5004b752da741e /engine/battle
parentAdd comment about audio engine perfect pitch bug (#451) (diff)
downloadpokeyellow-fc23e72a39eb9cb9ca0651ea805abb6f47ee458c.tar.gz
pokeyellow-fc23e72a39eb9cb9ca0651ea805abb6f47ee458c.tar.xz
pokeyellow-fc23e72a39eb9cb9ca0651ea805abb6f47ee458c.zip
Identify some unused WRAM variables (#453)
Diffstat (limited to 'engine/battle')
-rw-r--r--engine/battle/animations.asm6
-rw-r--r--engine/battle/misc.asm4
2 files changed, 5 insertions, 5 deletions
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