ref: fe92089694f94d499cd8f71796abd2cde0efec0b
parent: c3cab23cda3dc8d8fffab5c2be99074673b34d04
author: yenatch <[email protected]>
date: Sun Sep 15 13:31:18 EDT 2013
dump a couple palettes in predef/cgb.asm
--- a/predef/cgb.asm
+++ b/predef/cgb.asm
@@ -224,7 +224,7 @@
call Function9643
ld hl, $68ca
call Function9643
- ld hl, $4f52
+ ld hl, Palette8f52
ld de, $d018
ld bc, $0018
ld a, $5
@@ -257,8 +257,25 @@
ret
; 8f52
-INCBIN "baserom.gbc", $8f52, $8f70 - $8f52
+Palette8f52: ; 8f52
+ RGB 31, 31, 31
+ RGB 31, 19, 31
+ RGB 31, 15, 31
+ RGB 00, 00, 00
+ RGB 31, 31, 31
+ RGB 21, 31, 14
+ RGB 17, 31, 00
+ RGB 00, 00, 00
+
+ RGB 31, 31, 31
+ RGB 17, 31, 31
+ RGB 17, 31, 31
+ RGB 00, 00, 00
+; 8f6a
+
+INCBIN "baserom.gbc", $8f6a, $8f70 - $8f6a
+
Function8f70: ; 8f70
ld de, Unkn1Pals
ld a, $1d
@@ -267,7 +284,7 @@
ld a, [CurPartySpecies]
cp $ff
jr nz, .asm_8f8a
- ld hl, $4fba
+ ld hl, Palette8fba
call Function9630
jr .asm_8f90
@@ -282,7 +299,7 @@
ld a, $1
call Function9663
call Function971a
- ld hl, $4fc2
+ ld hl, Palette8fc2
ld de, $d078
ld bc, $0008
ld a, $5
@@ -294,8 +311,19 @@
ret
; 8fba
-INCBIN "baserom.gbc", $8fba, $8fca - $8fba
+Palette8fba: ; 8fba
+ RGB 11, 23, 00
+ RGB 07, 17, 00
+ RGB 06, 16, 03
+ RGB 05, 12, 01
+Palette8fc2: ; 8fc2
+ RGB 00, 00, 00
+ RGB 11, 23, 00
+ RGB 07, 17, 00
+ RGB 00, 00, 00
+; 8fca
+
Function8fca: ; 8fca
ld de, Unkn1Pals
ld a, $1d
@@ -304,7 +332,7 @@
ld a, [CurPartySpecies]
cp $ff
jr nz, .asm_8fe4
- ld hl, $5036
+ ld hl, Palette9036
call Function9630
jr .asm_8fed
@@ -327,8 +355,15 @@
ret
; 9009
-INCBIN "baserom.gbc", $9009, $903e - $9009
+INCBIN "baserom.gbc", $9009, $9036 - $9009
+Palette9036: ; 9036
+ RGB 31, 15, 00
+ RGB 23, 12, 00
+ RGB 15, 07, 00
+ RGB 00, 00, 00
+; 903e
+
Function903e: ; 903e
ld de, Unkn1Pals
ld a, $1d
@@ -351,7 +386,7 @@
; 906e
Function906e: ; 906e
- ld hl, $77a9
+ ld hl, Paletteb7a9
ld de, Unkn1Pals
ld bc, $0080
ld a, $5