Sync sprite and battle anim consts/labels (#1055)

* Sync sprite and battle anim consts/labels

* Add `; 00` comments

* Renamed to `SpriteAnimFunc_` and `BattleAnimFunc_`
This commit is contained in:
vulcandth
2023-09-17 13:09:28 -05:00
committed by GitHub
parent b0ddb0758d
commit aba1f14044
37 changed files with 4148 additions and 4148 deletions

View File

@@ -1293,7 +1293,7 @@ UpdateTitleTrailSprite: ; unreferenced
ret z
ld e, a
ld d, [hl]
ld a, SPRITE_ANIM_INDEX_GS_TITLE_TRAIL
ld a, SPRITE_ANIM_OBJ_GS_TITLE_TRAIL
call InitSpriteAnimStruct
ret

View File

@@ -166,7 +166,7 @@ NamingScreen:
ld [hli], a
ld [hl], a
depixel 4, 4, 4, 0
ld a, SPRITE_ANIM_INDEX_RED_WALK
ld a, SPRITE_ANIM_OBJ_RED_WALK
call InitSpriteAnimStruct
ld hl, SPRITEANIMSTRUCT_FRAMESET_ID
add hl, bc
@@ -208,14 +208,14 @@ NamingScreen:
ld [hli], a
ld [hl], a
pop de
ld b, SPRITE_ANIM_INDEX_RED_WALK
ld b, SPRITE_ANIM_OBJ_RED_WALK
ld a, d
cp HIGH(KrisSpriteGFX)
jr nz, .not_kris
ld a, e
cp LOW(KrisSpriteGFX)
jr nz, .not_kris
ld b, SPRITE_ANIM_INDEX_BLUE_WALK
ld b, SPRITE_ANIM_OBJ_BLUE_WALK
.not_kris
ld a, b
depixel 4, 4, 4, 0
@@ -377,7 +377,7 @@ NamingScreenJoypadLoop:
jr nz, .got_cursor_position
ld d, 8 * TILE_WIDTH
.got_cursor_position
ld a, SPRITE_ANIM_INDEX_NAMING_SCREEN_CURSOR
ld a, SPRITE_ANIM_OBJ_NAMING_SCREEN_CURSOR
call InitSpriteAnimStruct
ld a, c
ld [wNamingScreenCursorObjectPointer], a
@@ -932,7 +932,7 @@ _ComposeMailMessage:
; init mail icon
depixel 3, 2
ld a, SPRITE_ANIM_INDEX_PARTY_MON
ld a, SPRITE_ANIM_OBJ_PARTY_MON
call InitSpriteAnimStruct
ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID
@@ -1051,7 +1051,7 @@ INCBIN "gfx/naming_screen/mail.2bpp"
.init_blinking_cursor
depixel 9, 2
ld a, SPRITE_ANIM_INDEX_COMPOSE_MAIL_CURSOR
ld a, SPRITE_ANIM_OBJ_COMPOSE_MAIL_CURSOR
call InitSpriteAnimStruct
ld a, c
ld [wNamingScreenCursorObjectPointer], a
@@ -1152,7 +1152,7 @@ INCBIN "gfx/naming_screen/mail.2bpp"
call .PlaceMailCharset
ret
; called from engine/gfx/sprite_anims.asm
; called from engine/sprite_anims/functions.asm
ComposeMail_AnimateCursor:
call .GetDPad