Add ow_fog setting

This commit is contained in:
Catobat
2026-01-12 21:53:52 +01:00
parent 6afdd79741
commit 4b7c453219
12 changed files with 49 additions and 5 deletions

2
Rom.py
View File

@@ -658,7 +658,7 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None):
write_int16(rom, 0x150002, owMode)
write_int16(rom, 0x150004, owFlags)
write_int16(rom, 0x150008, owFog)
write_int16(rom, 0x150008, owFog if world.owFog[player] else 0x00)
# patch entrance/exits/holes
for region in world.regions: