aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pokemon
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/pokemon
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/pokemon')
-rw-r--r--engine/pokemon/add_mon.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/pokemon/add_mon.asm b/engine/pokemon/add_mon.asm
index 611aebf4..6fb074ac 100644
--- a/engine/pokemon/add_mon.asm
+++ b/engine/pokemon/add_mon.asm
@@ -92,7 +92,7 @@ _AddPartyMon::
ld hl, wPokedexOwned
call FlagAction
ld a, c ; whether the mon was already flagged as owned
- ld [wUnusedD153], a ; not read
+ ld [wUnusedAlreadyOwnedFlag], a
ld a, [wd11e]
dec a
ld c, a