summaryrefslogtreecommitdiff
path: root/engine/events/lucky_number.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/events/lucky_number.asm')
-rw-r--r--engine/events/lucky_number.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/lucky_number.asm b/engine/events/lucky_number.asm
index 8f4e7fdc..e4189245 100644
--- a/engine/events/lucky_number.asm
+++ b/engine/events/lucky_number.asm
@@ -110,7 +110,7 @@ CheckForLuckyNumberWinners:
and a
push af
ld a, [wCurPartySpecies]
- ld [wNamedObjectIndexBuffer], a
+ ld [wNamedObjectIndex], a
call GetPokemonName
ld hl, .LuckyNumberMatchPartyText
pop af