summaryrefslogtreecommitdiff
path: root/engine/mystery_gift_2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/mystery_gift_2.asm')
-rwxr-xr-xengine/mystery_gift_2.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/mystery_gift_2.asm b/engine/mystery_gift_2.asm
index bb86e1ae6..e0e2e88fd 100755
--- a/engine/mystery_gift_2.asm
+++ b/engine/mystery_gift_2.asm
@@ -123,7 +123,7 @@ PrepMysteryGiftDataToSend: ; 2c642 (b:4642)
MysteryGiftGetItemHeldEffect: ; 2c708 (b:4708)
ld a, c
- cp MysteryGiftItemsEnd - MysteryGiftItems
+ cp MysteryGiftItems.End - MysteryGiftItems
jr nc, MysteryGiftFallbackItem
ld hl, MysteryGiftItems
ld b, 0
@@ -133,7 +133,7 @@ MysteryGiftGetItemHeldEffect: ; 2c708 (b:4708)
MysteryGiftGetDecoration: ; 2c715 (b:4715)
ld a, c
- cp MysteryGiftDecosEnd - MysteryGiftDecos
+ cp MysteryGiftDecos.End - MysteryGiftDecos
jr nc, MysteryGiftFallbackItem
ld hl, MysteryGiftDecos
ld b, 0