shithub: pokecrystal

Download patch

ref: 927e87eda525b9b322033982f929945626b3eae2
parent: 4ce75e8dfc21810bcc65b881dad88a570893fbc2
author: yenatch <yenatch@gmail.com>
date: Sun Dec 31 23:40:30 EST 2017

AnimateEndOfExpBar palette constant

--- a/engine/sprites.asm
+++ b/engine/sprites.asm
@@ -683,7 +683,7 @@
 
 	ld a, $0
 	ld [hli], a
-	ld a, $6 ; OBJ 6
+	ld a, PAL_BATTLE_OB_BLUE
 	ld [hli], a
 	jr .anim_loop
 ; 8e7f4
@@ -701,7 +701,7 @@
 	ld hl, wSpriteAnimDict
 	ld bc, wSpriteAnimsEnd - wSpriteAnimDict
 .loop
-	ld [hl], $0
+	ld [hl], 0
 	inc hl
 	dec bc
 	ld a, c