Skip to content

Commit be3131c

Browse files
committed
Update palette formatting
1 parent c668fc7 commit be3131c

File tree

1 file changed

+50
-19
lines changed

1 file changed

+50
-19
lines changed

src/palettes.asm

Lines changed: 50 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,59 @@
1+
; ppu hi, ppu lo
2+
; length
3+
; palette data
4+
; $FF
5+
16
game_palette:
2-
.byte $3F,$00,$20,$0F,$30,$12,$16,$0F
3-
.byte $20,$12,$00,$0F,$2C,$16,$29,$0F
4-
.byte $3C,$00,$30,$0F,$16,$2A,$22,$0F
5-
.byte $10,$16,$2D,$0F,$2C,$16,$29,$0F
6-
.byte $3C,$00,$30,$FF
7+
.byte $3F,$00
8+
.byte $20
9+
.byte $0F,$30,$12,$16 ; bg
10+
.byte $0F,$20,$12,$00
11+
.byte $0F,$2C,$16,$29
12+
.byte $0F,$3C,$00,$30
13+
.byte $0F,$16,$2A,$22 ; sprite
14+
.byte $0F,$10,$16,$2D
15+
.byte $0F,$2C,$16,$29
16+
.byte $0F,$3C,$00,$30
17+
.byte $FF
718
title_palette:
8-
.byte $3F,$00,$14,$0F,$3C,$38,$00,$0F
9-
.byte $17,$27,$37,$0F,$30,MENU_HIGHLIGHT_COLOR,$00,$0F
10-
.byte $22,$2A,$28,$0F,$30,$29,$27,$FF
19+
.byte $3F,$00
20+
.byte $14
21+
.byte $0F,$3C,$38,$00 ; bg
22+
.byte $0F,$17,$27,$37
23+
.byte $0F,$30,MENU_HIGHLIGHT_COLOR,$00
24+
.byte $0F,$22,$2A,$28
25+
.byte $0F,$30,$29,$27 ; sprite
26+
.byte $FF
1127
menu_palette:
12-
.byte $3F,$00,$16,$0F,$30,$38,$26,$0F
13-
.byte $17,$27,$37,$0F,$30,MENU_HIGHLIGHT_COLOR,$00,$0F
14-
.byte $16,$2A,$28,$0F,$16,$26,$27,$0f,$2A,$FF
28+
.byte $3F,$00
29+
.byte $16
30+
.byte $0F,$30,$38,$26 ; bg
31+
.byte $0F,$17,$27,$37
32+
.byte $0F,$30,MENU_HIGHLIGHT_COLOR,$00
33+
.byte $0F,$16,$2A,$28
34+
.byte $0F,$16,$26,$27 ; sprite
35+
.byte $0F,$2A
36+
.byte $FF
1537
rocket_palette:
16-
.byte $3F,$11,$7
17-
.if INES_MAPPER = 0
18-
.byte $2D,$30,$27 ; Ufo colors
38+
.byte $3F,$11
39+
.byte $07
40+
.if INES_MAPPER = 0 ; sprite
41+
.byte $2D,$30,$27 ; Ufo colors
1942
.else
20-
.byte $16,$2A,$28 ; Cathedral colors
43+
.byte $16,$2A,$28 ; Cathedral colors
2144
.endif
22-
.byte $0f,$37,$18,$38 ; sprite
23-
.byte $3F,$00,$8,$0f,$3C,$38,$00,$0F,$20,$12,$15 ; bg
45+
.byte $0F,$37,$18,$38
46+
.byte $3F,$00
47+
.byte $08
48+
.byte $0F,$3C,$38,$00 ; bg
49+
.byte $0F,$20,$12,$15
2450
.byte $FF
2551
wait_palette:
26-
.byte $3F,$11,$1,$30
27-
.byte $3F,$00,$8,$f,$30,$38,$26,$0F,$17,$27,$37
52+
.byte $3F,$11
53+
.byte $01
54+
.byte $30 ; sprite
55+
.byte $3F,$00
56+
.byte $08
57+
.byte $0F,$30,$38,$26 ; bg
58+
.byte $0F,$17,$27,$37
2859
.byte $FF

0 commit comments

Comments
 (0)