summaryrefslogtreecommitdiff
path: root/engine/events/specials.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/specials.asm')
-rw-r--r--engine/events/specials.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/events/specials.asm b/engine/events/specials.asm
index efa99822..913bf0bc 100644
--- a/engine/events/specials.asm
+++ b/engine/events/specials.asm
@@ -28,7 +28,7 @@ GameCornerPrizeMonCheckDex:
call SetSeenAndCaughtMon
call FadeToMenu
ld a, [wScriptVar]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
farcall NewPokedexEntry
call ExitAllMenus
ret
@@ -142,7 +142,7 @@ GetMysteryGiftItem:
ld a, [sMysteryGiftItem]
ld [wCurItem], a
ld a, 1
- ld [wItemQuantityChangeBuffer], a
+ ld [wItemQuantityChange], a
ld hl, wNumItems
call ReceiveItem
jr nc, .no_room
@@ -150,7 +150,7 @@ GetMysteryGiftItem:
ld [sMysteryGiftItem], a
call CloseSRAM
ld a, [wCurItem]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetItemName
ld hl, .ReceiveItemText
call PrintText
@@ -350,7 +350,7 @@ SelectApricornForKurt:
ret z
ld [wCurItem], a
ld a, 1
- ld [wItemQuantityChangeBuffer], a
+ ld [wItemQuantityChange], a
ld hl, wNumItems
call TossItem
ret