shithub: pokered

Download patch

ref: 83681177f818a34d250656b42e5a7134fc33094b
parent: f6b159bce7ec0ebe59717b2e13c231f322c45521
author: U-Fish-PC\Daniel <corrnondacqb@yahoo.com>
date: Wed Aug 28 10:13:42 EDT 2013

Add comments on bit 3 of battle status 3 to DeterminePaletteID:

--- a/main.asm
+++ b/main.asm
@@ -101819,8 +101819,8 @@
 INCBIN "baserom.gbc",$71f8f,$71f97 - $71f8f
 
 DeterminePaletteID: ; 71f97 (1c:5f97)
-	bit 3, a                 ; bit 3 of battle status 3 (unused?)
-	ld a, PAL_GREYMON
+	bit 3, a                 ; bit 3 of battle status 3, set if current Pokemon is transformed
+	ld a, PAL_GREYMON        ; if yes, use Ditto's palette
 	ret nz
 	ld a, [hl]
 Func_71f9d: ; 71f9d (1c:5f9d)