Finish bps work

Fixing a couple bugs
This commit is contained in:
aerinon
2020-10-29 15:46:27 -06:00
parent a02dcd0ba4
commit d3e643b9c6
14 changed files with 139 additions and 31 deletions

View File

@@ -575,7 +575,8 @@ def extract_data_from_jp_rom(rom):
with open(rom, 'rb') as stream:
rom_data = bytearray(stream.read())
rooms = [0x7b, 0x7c, 0x7d, 0x8b, 0x8c, 0x8d, 0x9b, 0x9c, 0x9d]
# rooms = [0x7b, 0x7c, 0x7d, 0x8b, 0x8c, 0x8d, 0x9b, 0x9c, 0x9d]
rooms = [0x1a, 0x2a, 0xd1]
for room in rooms:
b2idx = room*2
b3idx = room*3
@@ -652,6 +653,6 @@ if __name__ == '__main__':
# make_new_base2current()
# read_entrance_data(old_rom=sys.argv[1])
# room_palette_data(old_rom=sys.argv[1])
extract_data_from_us_rom(sys.argv[1])
# extract_data_from_jp_rom(sys.argv[1])
# extract_data_from_us_rom(sys.argv[1])
extract_data_from_jp_rom(sys.argv[1])