mirror of https://github.com/pret/pokecrystal.git
proper labeling of common function GetSpritePalette
This commit is contained in:
parent
64a6af4052
commit
579ab13507
8
main.asm
8
main.asm
|
@ -668,12 +668,12 @@ SafeTileAnimation: ; 17d3
|
||||||
; 17ff
|
; 17ff
|
||||||
|
|
||||||
|
|
||||||
Function17ff: ; 17ff
|
GetSpritePalette: ; 17ff
|
||||||
push hl
|
push hl
|
||||||
push de
|
push de
|
||||||
push bc
|
push bc
|
||||||
ld c, a
|
ld c, a
|
||||||
callba GetSpritePalette
|
callba _GetSpritePalette
|
||||||
ld a, c
|
ld a, c
|
||||||
pop bc
|
pop bc
|
||||||
pop de
|
pop de
|
||||||
|
@ -16422,7 +16422,7 @@ Function811d: ; 811d
|
||||||
call Function180e
|
call Function180e
|
||||||
ld [$c2f2], a
|
ld [$c2f2], a
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
call Function17ff
|
call GetSpritePalette
|
||||||
ld [$c2f3], a
|
ld [$c2f3], a
|
||||||
ld hl, $0008
|
ld hl, $0008
|
||||||
add hl, bc
|
add hl, bc
|
||||||
|
@ -26460,7 +26460,7 @@ Function142a7: ; 142a7
|
||||||
; 142c4
|
; 142c4
|
||||||
|
|
||||||
|
|
||||||
GetSpritePalette: ; 142c4
|
_GetSpritePalette: ; 142c4
|
||||||
ld a, c
|
ld a, c
|
||||||
call GetMonSprite
|
call GetMonSprite
|
||||||
jr c, .asm_142d8
|
jr c, .asm_142d8
|
||||||
|
|
Loading…
Reference in New Issue