summaryrefslogtreecommitdiff
path: root/engine/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/mon_icons.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/gfx/mon_icons.asm b/engine/gfx/mon_icons.asm
index 609e48f9..49e8db89 100644
--- a/engine/gfx/mon_icons.asm
+++ b/engine/gfx/mon_icons.asm
@@ -43,7 +43,7 @@ LoadMenuMonIcon:
PartyMenu_InitAnimatedMonIcon:
ld a, [wCurIconTile]
push af
- ldh a, [hObjectStructIndexBuffer]
+ ldh a, [hObjectStructIndex]
ld hl, wPartySpecies
ld e, a
ld d, 0
@@ -52,7 +52,7 @@ PartyMenu_InitAnimatedMonIcon:
call ReadMonMenuIcon
ld [wCurIcon], a
call GetMemIconGFX
- ldh a, [hObjectStructIndexBuffer]
+ ldh a, [hObjectStructIndex]
; y coord
add a
add a
@@ -76,7 +76,7 @@ PartyMenu_InitAnimatedMonIcon:
.SpawnItemIcon:
push bc
- ldh a, [hObjectStructIndexBuffer]
+ ldh a, [hObjectStructIndex]
ld hl, wPartyMon1Item
ld bc, PARTYMON_STRUCT_LENGTH
call AddNTimes
@@ -104,7 +104,7 @@ PartyMenu_InitAnimatedMonIcon:
SetPartyMonIconAnimSpeed:
push bc
- ldh a, [hObjectStructIndexBuffer]
+ ldh a, [hObjectStructIndex]
ld b, a
call .getspeed
ld a, b