Skip to content

Commit e6f9411

Browse files
committed
DoS: Add back Yeti to first room when enemy rando is off
Fixes the soul dropped by Yeti being unobtainable when enemy rando is off.
1 parent 2c72808 commit e6f9411

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tweaks.rb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ def apply_pre_randomization_tweaks
2424

2525
if GAME == "dos"
2626
# Remove the enemy and the entity hider hiding that enemy during the intro cutscene from the first room of the vanilla game.
27-
# These two just cause more problems than they're worth - the hider can hide starting items, the enemy can hit you as soon as you enter the room, etc.
27+
# These two just cause more problems than they're worth - the hider can hide starting items, the enemy can hit you as soon as you enter the room when randomized into something besides the vanilla Yeti, etc.
2828
entity_hider = game.entity_by_str("00-00-01_0B")
2929
entity_hider.type = 0
3030
entity_hider.write_to_rom()
31-
enemy = game.entity_by_str("00-00-01_0C")
32-
enemy.type = 0
33-
enemy.write_to_rom()
31+
if options[:randomize_enemies]
32+
enemy = game.entity_by_str("00-00-01_0C")
33+
enemy.type = 0
34+
enemy.write_to_rom()
35+
end
3436
end
3537

3638
if GAME == "ooe"

0 commit comments

Comments
 (0)