summaryrefslogtreecommitdiff
path: root/engine/gfx
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2020-02-11 13:42:36 +0100
committermid-kid <esteve.varela@gmail.com>2020-02-13 18:31:10 +0100
commit0d81f1c470339efeb1f136aa5caab56c389be30a (patch)
treea09cdab6a590bf8d152356a11625e001c7c694c3 /engine/gfx
parent53cf08b6b37b319a32b540af452f963747d03e2c (diff)
InitSpriteAnimStruct <-> _InitSpriteAnimStruct
These were the wrong way around, as the function in home should not be prefixed
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/mon_icons.asm6
-rw-r--r--engine/gfx/sprites.asm2
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/gfx/mon_icons.asm b/engine/gfx/mon_icons.asm
index ec8899a8a..ac25712d1 100644
--- a/engine/gfx/mon_icons.asm
+++ b/engine/gfx/mon_icons.asm
@@ -175,7 +175,7 @@ InitPartyMenuIcon:
ld e, $10
; type is partymon icon
ld a, SPRITE_ANIM_INDEX_PARTY_MON
- call InitSpriteAnimStruct
+ call _InitSpriteAnimStruct
pop af
ld hl, SPRITEANIMSTRUCT_TILE_ID
add hl, bc
@@ -222,7 +222,7 @@ NamingScreen_InitAnimatedMonIcon:
call GetIconGFX
depixel 4, 4, 4, 0
ld a, SPRITE_ANIM_INDEX_PARTY_MON
- call InitSpriteAnimStruct
+ call _InitSpriteAnimStruct
ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID
add hl, bc
ld [hl], SPRITE_ANIM_SEQ_NULL
@@ -237,7 +237,7 @@ MoveList_InitAnimatedMonIcon:
ld d, 3 * 8 + 2 ; depixel 3, 4, 2, 4
ld e, 4 * 8 + 4
ld a, SPRITE_ANIM_INDEX_PARTY_MON
- call InitSpriteAnimStruct
+ call _InitSpriteAnimStruct
ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID
add hl, bc
ld [hl], SPRITE_ANIM_SEQ_NULL
diff --git a/engine/gfx/sprites.asm b/engine/gfx/sprites.asm
index 395ff1830..20613cc60 100644
--- a/engine/gfx/sprites.asm
+++ b/engine/gfx/sprites.asm
@@ -109,7 +109,7 @@ DoNextFrameForFirst16Sprites:
.done
ret
-InitSpriteAnimStruct::
+_InitSpriteAnimStruct::
; Initialize animation a at pixel x=e, y=d
; Find if there's any room in the wSpriteAnimationStructs array, which is 10x16
push de