Merge pull request #53 from CaitSith2/patch-3

player names moved in new basepatch
This commit is contained in:
aerinon
2020-06-23 16:45:06 -06:00
committed by GitHub

4
Rom.py
View File

@@ -1322,8 +1322,8 @@ def patch_rom(world, rom, player, team, enemized):
rom.write_bytes(0x7FC0, rom.name)
# set player names
for p in range(1, min(world.players, 64) + 1):
rom.write_bytes(0x186380 + ((p - 1) * 32), hud_format_text(world.player_names[p][team]))
for p in range(1, min(world.players, 255) + 1):
rom.write_bytes(0x195FFC + ((p - 1) * 32), hud_format_text(world.player_names[p][team]))
# Write title screen Code
hashint = int(rom.get_hash(), 16)