27 lines
839 B
Python
27 lines
839 B
Python
from pprint import pprint
|
|
|
|
from parse import parse
|
|
|
|
def generate():
|
|
pprint(parse.maps_blocks_list)
|
|
#pprint(parse.map_headers)
|
|
#pprint(parse.tileset_constants_list)
|
|
#pprint(parse.tileset_headers_list)
|
|
#pprint(parse.gfx_tilesets_list)
|
|
|
|
generate()
|
|
|
|
"""
|
|
map_headers[0].tileset == 'OVERWORLD'
|
|
map_headers[0].width() == 'PALLET_TOWN_WIDTH'
|
|
map_headers[0].height() == 'PALLET_TOWN_HEIGHT'
|
|
map_headers[0].blocks() == 'PalletTown_Blocks'
|
|
maps_blocks['PalletTown_Blocks'] == 'maps/PalletTown.blk'
|
|
tileset_constants_list['OVERWORLD'] == 0
|
|
tileset_headers_list[0].name == 'Overworld'
|
|
tileset_headers_list[0].blockset() == 'Overworld_Block'
|
|
tileset_headers_list[0].gfx() == 'Overworld_GFX'
|
|
gfx_tilesets_list['Overworld_Block'] == 'gfx/blocksets/overworld.bst'
|
|
gfx_tilesets_list['Overworld_GFX'] == 'gfx/tilesets/overworld.2bpp'
|
|
"""
|