mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
wPokeAnimStruct matches wPokeAnimStructEnd
This commit is contained in:
parent
4f0c9cecf9
commit
d5b98f5206
@ -109,7 +109,7 @@ LoadMonAnimation:
|
|||||||
SetUpPokeAnim:
|
SetUpPokeAnim:
|
||||||
ld a, [rSVBK]
|
ld a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
ld a, BANK(wPokeAnimSceneIndex)
|
ld a, BANK(wPokeAnimStruct)
|
||||||
ld [rSVBK], a
|
ld [rSVBK], a
|
||||||
ld a, [wPokeAnimSceneIndex]
|
ld a, [wPokeAnimSceneIndex]
|
||||||
ld c, a
|
ld c, a
|
||||||
@ -284,14 +284,14 @@ AnimateMon_CheckIfPokemon:
|
|||||||
PokeAnim_InitPicAttributes:
|
PokeAnim_InitPicAttributes:
|
||||||
ld a, [rSVBK]
|
ld a, [rSVBK]
|
||||||
push af
|
push af
|
||||||
ld a, BANK(wPokeAnimSceneIndex)
|
ld a, BANK(wPokeAnimStruct)
|
||||||
ld [rSVBK], a
|
ld [rSVBK], a
|
||||||
|
|
||||||
push bc
|
push bc
|
||||||
push de
|
push de
|
||||||
push hl
|
push hl
|
||||||
ld hl, wPokeAnimSceneIndex
|
ld hl, wPokeAnimStruct
|
||||||
ld bc, wPokeAnimStructEnd - wPokeAnimSceneIndex
|
ld bc, wPokeAnimStructEnd - wPokeAnimStruct
|
||||||
xor a
|
xor a
|
||||||
call ByteFill
|
call ByteFill
|
||||||
pop hl
|
pop hl
|
||||||
|
2
wram.asm
2
wram.asm
@ -2893,6 +2893,7 @@ wTempTileMap::
|
|||||||
ds SCREEN_WIDTH * SCREEN_HEIGHT ; $168 = 360
|
ds SCREEN_WIDTH * SCREEN_HEIGHT ; $168 = 360
|
||||||
|
|
||||||
; PokeAnim data
|
; PokeAnim data
|
||||||
|
wPokeAnimStruct::
|
||||||
wPokeAnimSceneIndex:: db
|
wPokeAnimSceneIndex:: db
|
||||||
wPokeAnimPointer:: dw
|
wPokeAnimPointer:: dw
|
||||||
wPokeAnimSpecies:: db
|
wPokeAnimSpecies:: db
|
||||||
@ -2901,7 +2902,6 @@ wPokeAnimSpeciesOrUnown:: db
|
|||||||
wPokeAnimGraphicStartTile:: db
|
wPokeAnimGraphicStartTile:: db
|
||||||
wPokeAnimCoord:: dw
|
wPokeAnimCoord:: dw
|
||||||
wPokeAnimFrontpicHeight:: db
|
wPokeAnimFrontpicHeight:: db
|
||||||
; PokeAnim Data
|
|
||||||
wPokeAnimIdleFlag:: db
|
wPokeAnimIdleFlag:: db
|
||||||
wPokeAnimSpeed:: db
|
wPokeAnimSpeed:: db
|
||||||
wPokeAnimPointerBank:: db
|
wPokeAnimPointerBank:: db
|
||||||
|
Loading…
Reference in New Issue
Block a user