fix(enemizer): any trinexx outside of TR should disable ice breath now
This commit is contained in:
@@ -166,14 +166,14 @@ def boss_writes(world, player, rom):
|
|||||||
data_tables.room_headers[room_id].byte_0 = 0x60
|
data_tables.room_headers[room_id].byte_0 = 0x60
|
||||||
data_tables.room_headers[room_id].effect = 4
|
data_tables.room_headers[room_id].effect = 4
|
||||||
# $2E, $98, $FF (original shell)
|
# $2E, $98, $FF (original shell)
|
||||||
|
# disable trinexx ice breath with No-ops if there's a trinexx anywhere outside TR
|
||||||
|
rom.write_bytes(snes_to_pc(0x09B37E), [0xEA, 0xEA, 0xEA, 0xEA])
|
||||||
if boss.name == 'Kholdstare' and (dungeon.name != 'Ice Palace' or level is not None):
|
if boss.name == 'Kholdstare' and (dungeon.name != 'Ice Palace' or level is not None):
|
||||||
add_shell_to_boss_room(data_tables, dungeon.name, level, 0xF95)
|
add_shell_to_boss_room(data_tables, dungeon.name, level, 0xF95)
|
||||||
data_tables.room_headers[room_id].byte_0 = 0xE0
|
data_tables.room_headers[room_id].byte_0 = 0xE0
|
||||||
data_tables.room_headers[room_id].effect = 1
|
data_tables.room_headers[room_id].effect = 1
|
||||||
if boss.name != 'Trinexx' and dungeon.name == 'Turtle Rock' and level is None:
|
if boss.name != 'Trinexx' and dungeon.name == 'Turtle Rock' and level is None:
|
||||||
remove_shell_from_boss_room(data_tables, dungeon.name, level, 0xFF2)
|
remove_shell_from_boss_room(data_tables, dungeon.name, level, 0xFF2)
|
||||||
# disable trinexx ice breath with No-ops
|
|
||||||
rom.write_bytes(snes_to_pc(0x09B37E), [0xEA, 0xEA, 0xEA, 0xEA])
|
|
||||||
if boss.name != 'Kholdstare' and dungeon.name == 'Ice Palace' and level is None:
|
if boss.name != 'Kholdstare' and dungeon.name == 'Ice Palace' and level is None:
|
||||||
remove_shell_from_boss_room(data_tables, dungeon.name, level, 0xF95)
|
remove_shell_from_boss_room(data_tables, dungeon.name, level, 0xF95)
|
||||||
if boss.name != 'Blind' and dungeon.name == 'Thieves Town' and level is None:
|
if boss.name != 'Blind' and dungeon.name == 'Thieves Town' and level is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user