showmap option
This commit is contained in:
11
Rom.py
11
Rom.py
@@ -1452,6 +1452,9 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None):
|
||||
if world.showloot[player] == 'never':
|
||||
rom.write_bytes(0x1CFF08, [0x00, 0x00, 0x00, 0x00])
|
||||
rom.write_byte(0x1CFF11, 0x00)
|
||||
elif world.showloot[player] == 'presence':
|
||||
rom.write_bytes(0x1CFF08, [0x01, 0x00, 0x00, 0x00])
|
||||
rom.write_byte(0x1CFF11, 0x00)
|
||||
elif world.showloot[player] == 'compass':
|
||||
rom.write_bytes(0x1CFF08, [0x01, 0x00, 0x02, 0x00])
|
||||
rom.write_byte(0x1CFF11, 0x01)
|
||||
@@ -1459,8 +1462,12 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None):
|
||||
rom.write_bytes(0x1CFF08, [0x02, 0x00, 0x00, 0x00])
|
||||
rom.write_byte(0x1CFF11, 0x00)
|
||||
|
||||
if world.doorShuffle[player] != 'vanilla':
|
||||
rom.write_bytes(0x1CFF00, [0x01, 0x05, 0x00, 0x04])
|
||||
if world.showmap[player] == 'visited':
|
||||
rom.write_bytes(0x1CFF00, [0x01, 0x00, 0x00, 0x05])
|
||||
elif world.showmap[player] == 'map':
|
||||
rom.write_bytes(0x1CFF00, [0x01, 0x05, 0x00, 0x05])
|
||||
elif world.showmap[player] == 'always':
|
||||
rom.write_bytes(0x1CFF00, [0x05, 0x00, 0x00, 0x00])
|
||||
|
||||
loot_icons = 0x1CF900
|
||||
if world.bombbag[player]:
|
||||
|
||||
Reference in New Issue
Block a user