aboutsummaryrefslogtreecommitdiffstats
path: root/home/give.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 /home/give.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 'home/give.asm')
-rw-r--r--home/give.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/give.asm b/home/give.asm
index 128367ec..8ede4ea4 100644
--- a/home/give.asm
+++ b/home/give.asm
@@ -4,7 +4,7 @@ GiveItem::
; Return carry on success.
ld a, b
ld [wd11e], a
- ld [wcf91], a
+ ld [wCurItem], a
ld a, c
ld [wItemQuantity], a
ld hl, wNumBagItems
@@ -18,7 +18,7 @@ GiveItem::
GivePokemon::
; Give the player monster b at level c.
ld a, b
- ld [wcf91], a
+ ld [wCurPartySpecies], a
ld a, c
ld [wCurEnemyLevel], a
xor a ; PLAYER_PARTY_DATA