mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
99e66c2557
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
32 lines
422 B
NASM
32 lines
422 B
NASM
InitSpriteAnimStruct::
|
|
ld [wSpriteAnimID], a
|
|
ldh a, [hROMBank]
|
|
push af
|
|
|
|
ld a, BANK(_InitSpriteAnimStruct)
|
|
rst Bankswitch
|
|
ld a, [wSpriteAnimID]
|
|
|
|
call _InitSpriteAnimStruct
|
|
|
|
pop af
|
|
rst Bankswitch
|
|
|
|
ret
|
|
|
|
ReinitSpriteAnimFrame::
|
|
ld [wSpriteAnimID], a
|
|
ldh a, [hROMBank]
|
|
push af
|
|
|
|
ld a, BANK(_ReinitSpriteAnimFrame)
|
|
rst Bankswitch
|
|
ld a, [wSpriteAnimID]
|
|
|
|
call _ReinitSpriteAnimFrame
|
|
|
|
pop af
|
|
rst Bankswitch
|
|
|
|
ret
|