Label some functions in gfx/load_pics.asm

A few projects I looked around in used these same labels for these
functions, and it looks like they describe these functions properly.
Also fixed usage of BANK() in a few places.
This commit is contained in:
pfero
2017-11-03 01:09:27 +01:00
parent 88f1b8165b
commit 999c804f6f
3 changed files with 16 additions and 16 deletions

View File

@@ -123,7 +123,7 @@ LoadMonAnimation: ; d00a3
SetUpPokeAnim: ; d00b4
ld a, [rSVBK]
push af
ld a, $2
ld a, BANK(wPokeAnimSceneIndex)
ld [rSVBK], a
ld a, [wPokeAnimSceneIndex]
ld c, a
@@ -313,7 +313,7 @@ AnimateMon_CheckIfPokemon: ; d01c6
PokeAnim_InitPicAttributes: ; d01d6
ld a, [rSVBK]
push af
ld a, $2
ld a, BANK(wPokeAnimSceneIndex)
ld [rSVBK], a
push bc
@@ -366,7 +366,7 @@ PokeAnim_InitPicAttributes: ; d01d6
PokeAnim_InitAnim: ; d0228
ld a, [rSVBK]
push af
ld a, $2
ld a, BANK(wPokeAnimExtraFlag)
ld [rSVBK], a
push bc
ld hl, wPokeAnimExtraFlag
@@ -1007,7 +1007,7 @@ GetMonAnimPointer: ; d055c
PokeAnim_GetFrontpicDims: ; d05b4
ld a, [rSVBK]
push af
ld a, $1
ld a, BANK(CurPartySpecies)
ld [rSVBK], a
ld a, [CurPartySpecies]
ld [CurSpecies], a