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:
|
||||
ld a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wPokeAnimSceneIndex)
|
||||
ld a, BANK(wPokeAnimStruct)
|
||||
ld [rSVBK], a
|
||||
ld a, [wPokeAnimSceneIndex]
|
||||
ld c, a
|
||||
@ -284,14 +284,14 @@ AnimateMon_CheckIfPokemon:
|
||||
PokeAnim_InitPicAttributes:
|
||||
ld a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wPokeAnimSceneIndex)
|
||||
ld a, BANK(wPokeAnimStruct)
|
||||
ld [rSVBK], a
|
||||
|
||||
push bc
|
||||
push de
|
||||
push hl
|
||||
ld hl, wPokeAnimSceneIndex
|
||||
ld bc, wPokeAnimStructEnd - wPokeAnimSceneIndex
|
||||
ld hl, wPokeAnimStruct
|
||||
ld bc, wPokeAnimStructEnd - wPokeAnimStruct
|
||||
xor a
|
||||
call ByteFill
|
||||
pop hl
|
||||
|
2
wram.asm
2
wram.asm
@ -2893,6 +2893,7 @@ wTempTileMap::
|
||||
ds SCREEN_WIDTH * SCREEN_HEIGHT ; $168 = 360
|
||||
|
||||
; PokeAnim data
|
||||
wPokeAnimStruct::
|
||||
wPokeAnimSceneIndex:: db
|
||||
wPokeAnimPointer:: dw
|
||||
wPokeAnimSpecies:: db
|
||||
@ -2901,7 +2902,6 @@ wPokeAnimSpeciesOrUnown:: db
|
||||
wPokeAnimGraphicStartTile:: db
|
||||
wPokeAnimCoord:: dw
|
||||
wPokeAnimFrontpicHeight:: db
|
||||
; PokeAnim Data
|
||||
wPokeAnimIdleFlag:: db
|
||||
wPokeAnimSpeed:: db
|
||||
wPokeAnimPointerBank:: db
|
||||
|
Loading…
Reference in New Issue
Block a user