pokemon/tools/generate/blocks_list.py
2023-07-25 05:34:48 +00:00

16 lines
324 B
Python

from os import path
from generate.generate import prefix
def as_obj_binary(path):
p0, _ = str(path).splitext()
p = p0.replace('.', '_').replace('/', '_')
return f"_binary_{p}"
def g(block_path):
path = prefix / block_path
obj_binary = as_obj_binary(path)
"forest.4bpp.cell.h"
def f(blocks_list):