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

@@ -1280,7 +1280,7 @@ Unreferenced_Function639b:
ld e, a
ld d, [hl]
ld a, SPRITE_ANIM_INDEX_GS_TITLE_TRAIL
call _InitSpriteAnimStruct
call InitSpriteAnimStruct
ret
.Data63ca:

View File

@@ -167,7 +167,7 @@ NamingScreen:
ld [hl], a
depixel 4, 4, 4, 0
ld a, SPRITE_ANIM_INDEX_RED_WALK
call _InitSpriteAnimStruct
call InitSpriteAnimStruct
ld hl, SPRITEANIMSTRUCT_FRAMESET_ID
add hl, bc
ld [hl], $0
@@ -219,7 +219,7 @@ NamingScreen:
.not_kris
ld a, b
depixel 4, 4, 4, 0
call _InitSpriteAnimStruct
call InitSpriteAnimStruct
ret
.StoreMonIconParams:
@@ -385,7 +385,7 @@ NamingScreenJoypadLoop:
ld d, 8 * 8
.got_cursor_position
ld a, SPRITE_ANIM_INDEX_NAMING_SCREEN_CURSOR
call _InitSpriteAnimStruct
call InitSpriteAnimStruct
ld a, c
ld [wNamingScreenCursorObjectPointer], a
ld a, b
@@ -940,7 +940,7 @@ _ComposeMailMessage:
; init mail icon
depixel 3, 2
ld a, SPRITE_ANIM_INDEX_PARTY_MON
call _InitSpriteAnimStruct
call InitSpriteAnimStruct
ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID
add hl, bc
@@ -1068,7 +1068,7 @@ INCBIN "gfx/icons/mail_big.2bpp"
.init_blinking_cursor
depixel 9, 2
ld a, SPRITE_ANIM_INDEX_COMPOSE_MAIL_CURSOR
call _InitSpriteAnimStruct
call InitSpriteAnimStruct
ld a, c
ld [wNamingScreenCursorObjectPointer], a
ld a, b