ref: 37c80175368352710e20f752ebfdc1e9e3ac3e2b
parent: 3ded09ef5dc1ab7af6d786cf34dd881ae8da3114
parent: 83681177f818a34d250656b42e5a7134fc33094b
author: iimarckus <iimarckus@gmail.com>
date: Wed Sep 4 16:38:49 EDT 2013
Merge pull request #3 from dannye/comments Add comments on bit 3 of battle status 3 to DeterminePaletteID:
--- a/main.asm
+++ b/main.asm
@@ -102503,8 +102503,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)