Compare commits

..

No commits in common. "1f04d875a164cced4abb42bd85116f3181bb401b" and "669f771dc12ab3166962d098813ff4af1790f7d7" have entirely different histories.

View File

@ -53,7 +53,8 @@ def pack_index(character_size, y_flip, x_flip, id):
else:
return pack_index_1word(character_size, y_flip, x_flip, id)
def pack_old_palette_chunk(f, old_palette_chunk):
def pack_old_palette_chunk(old_palette_chunk):
with open("palette.bin", "wb") as f:
for color in old_palette_chunk.packets[0].colors:
f.write(pack_bgr555(*color))