aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/FightingDojo.asm
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-08-04 10:05:33 -0400
committerGitHub <noreply@github.com>2024-08-04 10:05:33 -0400
commit77d051479bd0ed96cc2efdba52f837afd1e119c3 (patch)
tree72a22aeb8dd6edc10323f0ee72fe9dbf73e5481a /scripts/FightingDojo.asm
parentIdentify wcd6d as wNameBuffer and others (#455) (diff)
downloadpokeyellow-77d051479bd0ed96cc2efdba52f837afd1e119c3.tar.gz
pokeyellow-77d051479bd0ed96cc2efdba52f837afd1e119c3.tar.xz
pokeyellow-77d051479bd0ed96cc2efdba52f837afd1e119c3.zip
Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457)
Diffstat (limited to 'scripts/FightingDojo.asm')
-rw-r--r--scripts/FightingDojo.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/FightingDojo.asm b/scripts/FightingDojo.asm
index 75427049..4522b906 100644
--- a/scripts/FightingDojo.asm
+++ b/scripts/FightingDojo.asm
@@ -239,7 +239,7 @@ FightingDojoHitmonleePokeBallText:
ld a, [wCurrentMenuItem]
and a
jr nz, .done
- ld a, [wcf91]
+ ld a, [wCurPartySpecies]
ld b, a
ld c, 30
call GivePokemon
@@ -273,7 +273,7 @@ FightingDojoHitmonchanPokeBallText:
ld a, [wCurrentMenuItem]
and a
jr nz, .done
- ld a, [wcf91]
+ ld a, [wCurPartySpecies]
ld b, a
ld c, 30
call GivePokemon