(sprito.py) Created byte pallet

This commit is contained in:
KikooDX 2020-04-12 18:23:21 +02:00
parent dd341eb7dd
commit f63b1af088
1 changed files with 12 additions and 2 deletions

View File

@ -69,8 +69,8 @@ C_BLUE = (0,0,255)
C_YELLOW = (255,255,0)
C_PURPLE = (255,0,255)
C_CYAN = (0,255,255)
#standard pallet
PALLET = {
#standard pallets
PALLET_STR = {
'd': C_BLACK,
'w': C_WHITE,
'r': C_RED,
@ -80,3 +80,13 @@ PALLET = {
'p': C_PURPLE,
'c': C_CYAN
}
PALLET_BYTE = {
0x01: C_BLACK,
0x02: C_WHITE,
0x03: C_RED,
0x04: C_GREEN,
0x05: C_BLUE,
0x06: C_YELLOW,
0x07: C_PURPLE,
0x08: C_CYAN
}