aboutsummaryrefslogtreecommitdiffstats
path: root/engine/items/item_effects.asm
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/items/item_effects.asm
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/items/item_effects.asm')
-rw-r--r--engine/items/item_effects.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index d312059a..8d21b964 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -740,7 +740,7 @@ ItemUseSurfboard:
ld a, b
ld [wSimulatedJoypadStatesEnd], a
xor a
- ld [wUnusedCD39], a
+ ld [wUnusedSimulatedJoypadStatesMask], a
inc a
ld [wSimulatedJoypadStatesIndex], a
ret
@@ -1553,7 +1553,7 @@ ItemUseXAccuracy:
; The Card Key is handled in a different way.
ItemUseCardKey:
xor a
- ld [wUnusedD71F], a
+ ld [wUnusedCardKeyGateID], a
call GetTileAndCoordsInFrontOfPlayer
ld a, [GetTileAndCoordsInFrontOfPlayer]
cp $18
@@ -1585,7 +1585,7 @@ ItemUseCardKey:
cp e
jr nz, .nextEntry3
ld a, [hl]
- ld [wUnusedD71F], a
+ ld [wUnusedCardKeyGateID], a
jr .done
.nextEntry1
inc hl