You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
InitSpriteAnimStruct <-> _InitSpriteAnimStruct
These were the wrong way around, as the function in home should not be prefixed
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user