updated pack_old_palette_chunk
This commit is contained in:
parent
669f771dc1
commit
2a596f7d40
@ -53,8 +53,7 @@ def pack_index(character_size, y_flip, x_flip, id):
|
|||||||
else:
|
else:
|
||||||
return pack_index_1word(character_size, y_flip, x_flip, id)
|
return pack_index_1word(character_size, y_flip, x_flip, id)
|
||||||
|
|
||||||
def pack_old_palette_chunk(old_palette_chunk):
|
def pack_old_palette_chunk(f,old_palette_chunk):
|
||||||
with open("palette.bin", "wb") as f:
|
|
||||||
for color in old_palette_chunk.packets[0].colors:
|
for color in old_palette_chunk.packets[0].colors:
|
||||||
f.write(pack_bgr555(*color))
|
f.write(pack_bgr555(*color))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user