summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
Diffstat (limited to 'mobile')
-rw-r--r--mobile/mobile_12_2.asm6
-rw-r--r--mobile/mobile_46.asm2
2 files changed, 4 insertions, 4 deletions
diff --git a/mobile/mobile_12_2.asm b/mobile/mobile_12_2.asm
index 2e1c48324..0e283e929 100644
--- a/mobile/mobile_12_2.asm
+++ b/mobile/mobile_12_2.asm
@@ -422,15 +422,15 @@ Function4aad3:
ld c, a
xor a
- ldh [hObjectStructIndexBuffer], a
+ ldh [hObjectStructIndex], a
.loop
push bc
push hl
ld e, MONICON_PARTYMENU
farcall LoadMenuMonIcon
- ldh a, [hObjectStructIndexBuffer]
+ ldh a, [hObjectStructIndex]
inc a
- ldh [hObjectStructIndexBuffer], a
+ ldh [hObjectStructIndex], a
pop hl
pop bc
dec c
diff --git a/mobile/mobile_46.asm b/mobile/mobile_46.asm
index e4382fe7d..3493ebdc4 100644
--- a/mobile/mobile_46.asm
+++ b/mobile/mobile_46.asm
@@ -5636,7 +5636,7 @@ Function11ad1b:
ld a, [wMenuCursorY]
ld [wcd82], a
dec a
- ldh [hObjectStructIndexBuffer], a
+ ldh [hObjectStructIndex], a
ld a, $10
ld [wCurIconTile], a
ld hl, LoadMenuMonIcon