summaryrefslogtreecommitdiff
path: root/engine/events/specials.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:29:30 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:29:30 -0500
commit99e66c25577e367d6c7ca75fea8b466b54c3317a (patch)
tree56183dddfd540a395086a7540060c374f9541723 /engine/events/specials.asm
parent1a054661ecac2d6075961e486213b6880c0afc4e (diff)
Rename some labels
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
Diffstat (limited to 'engine/events/specials.asm')
-rw-r--r--engine/events/specials.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/events/specials.asm b/engine/events/specials.asm
index 1d6648973..09014cc6b 100644
--- a/engine/events/specials.asm
+++ b/engine/events/specials.asm
@@ -34,7 +34,7 @@ GameCornerPrizeMonCheckDex:
call SetSeenAndCaughtMon
call FadeToMenu
ld a, [wScriptVar]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
farcall NewPokedexEntry
call ExitAllMenus
ret
@@ -144,7 +144,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
@@ -152,7 +152,7 @@ GetMysteryGiftItem:
ld [sMysteryGiftItem], a
call CloseSRAM
ld a, [wCurItem]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetItemName
ld hl, .ReceiveItemText
call PrintText