shithub: pokecrystal

Download patch

ref: 579ab1350762a553d4f61e4c3534b52e857bc682
parent: 64a6af405240dcef1fdf4b4d321d9cc2093d2fd0
author: yenatch <[email protected]>
date: Thu Aug 29 16:03:46 EDT 2013

proper labeling of common function GetSpritePalette

--- a/main.asm
+++ b/main.asm
@@ -668,12 +668,12 @@
 ; 17ff
 
 
-Function17ff: ; 17ff
+GetSpritePalette: ; 17ff
 	push hl
 	push de
 	push bc
 	ld c, a
-	callba GetSpritePalette
+	callba _GetSpritePalette
 	ld a, c
 	pop bc
 	pop de
@@ -16422,7 +16422,7 @@
 	call Function180e
 	ld [$c2f2], a
 	ld a, [hl]
-	call Function17ff
+	call GetSpritePalette
 	ld [$c2f3], a
 	ld hl, $0008
 	add hl, bc
@@ -26460,7 +26460,7 @@
 ; 142c4
 
 
-GetSpritePalette: ; 142c4
+_GetSpritePalette: ; 142c4
 	ld a, c
 	call GetMonSprite
 	jr c, .asm_142d8