From 43c34f44944ed736721c5d360c2c95447c804b3c Mon Sep 17 00:00:00 2001 From: codemann8 Date: Thu, 8 Jan 2026 16:43:49 -0600 Subject: [PATCH] Fixed Invulnerable goals, no longer expects a target value --- Rom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rom.py b/Rom.py index 67a86860..50e9ec24 100644 --- a/Rom.py +++ b/Rom.py @@ -1264,8 +1264,8 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None): else: goal_bytes += int16_as_bytes(req['target']) elif req['condition'] & 0x80 == 0: - if req['condition'] & 0x7F == 0x06 or req['condition'] & 0x7F == 0x07: - # agahnims have no target value + if req['condition'] & 0x7F in [0x00, 0x06, 0x07]: + # no target value pass elif req['condition'] & 0x7F < 0x08: goal_bytes += [req['target']]