mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
rename DoTileAnimation to AnimateTileset
This commit is contained in:
parent
fc6bc8e311
commit
8190c3e5e7
@ -121,7 +121,7 @@ VBlank0: ; 2b1
|
|||||||
; these have their own timing checks
|
; these have their own timing checks
|
||||||
call Serve2bppRequest
|
call Serve2bppRequest
|
||||||
call Serve1bppRequest
|
call Serve1bppRequest
|
||||||
call SafeTileAnimation
|
call AnimateTileset
|
||||||
|
|
||||||
.doneframeaction
|
.doneframeaction
|
||||||
; oam update off?
|
; oam update off?
|
||||||
|
8
main.asm
8
main.asm
@ -585,7 +585,7 @@ endr
|
|||||||
; 17d3
|
; 17d3
|
||||||
|
|
||||||
|
|
||||||
SafeTileAnimation: ; 17d3
|
AnimateTileset: ; 17d3
|
||||||
; Only call during the first fifth of VBlank
|
; Only call during the first fifth of VBlank
|
||||||
|
|
||||||
ld a, [$ffde]
|
ld a, [$ffde]
|
||||||
@ -601,7 +601,7 @@ SafeTileAnimation: ; 17d3
|
|||||||
|
|
||||||
ld a, [hROMBank]
|
ld a, [hROMBank]
|
||||||
push af
|
push af
|
||||||
ld a, BANK(DoTileAnimation)
|
ld a, BANK(_AnimateTileset)
|
||||||
rst Bankswitch
|
rst Bankswitch
|
||||||
|
|
||||||
ld a, [rSVBK]
|
ld a, [rSVBK]
|
||||||
@ -614,7 +614,7 @@ SafeTileAnimation: ; 17d3
|
|||||||
ld a, 0
|
ld a, 0
|
||||||
ld [rVBK], a
|
ld [rVBK], a
|
||||||
|
|
||||||
call DoTileAnimation
|
call _AnimateTileset
|
||||||
|
|
||||||
pop af
|
pop af
|
||||||
ld [rVBK], a
|
ld [rVBK], a
|
||||||
@ -65389,7 +65389,7 @@ DoBadgeTypeBoosts: ; fbe24
|
|||||||
|
|
||||||
SECTION "bank3F",ROMX,BANK[$3F]
|
SECTION "bank3F",ROMX,BANK[$3F]
|
||||||
|
|
||||||
DoTileAnimation: ; fc000
|
_AnimateTileset: ; fc000
|
||||||
; Iterate over a given pointer array of animation functions
|
; Iterate over a given pointer array of animation functions
|
||||||
; (one per frame).
|
; (one per frame).
|
||||||
; Typically in wra1, vra0
|
; Typically in wra1, vra0
|
||||||
|
Loading…
Reference in New Issue
Block a user