InitSpriteAnimStruct <-> _InitSpriteAnimStruct

These were the wrong way around, as the function in home should not be
prefixed
This commit is contained in:
mid-kid
2020-02-11 13:42:36 +01:00
parent 53cf08b6b3
commit 0d81f1c470
19 changed files with 78 additions and 78 deletions

View File

@@ -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

View File

@@ -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