From 65acd08f7afb41ab52ebfa49d90cd44fcca52c74 Mon Sep 17 00:00:00 2001 From: pbj Date: Fri, 7 Aug 2026 22:00:19 -0500 Subject: [PATCH] fixed issue with training move start and boss placement --- randomizer/ShuffleBosses.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/randomizer/ShuffleBosses.py b/randomizer/ShuffleBosses.py index f85260f74..ed3063ce3 100644 --- a/randomizer/ShuffleBosses.py +++ b/randomizer/ShuffleBosses.py @@ -7,7 +7,7 @@ from randomizer.Enums.Kongs import Kongs from randomizer.Enums.Levels import Levels from randomizer.Enums.Locations import Locations -from randomizer.Enums.Settings import SlamRequirement, HardBossesSelected, KroolInBossPool +from randomizer.Enums.Settings import SlamRequirement, HardBossesSelected, KroolInBossPool, TrainingBarrels from randomizer.Lists.Exceptions import BossOutOfLocationsException, PlandoIncompatibleException from randomizer.Enums.Maps import Maps from randomizer.Patching.Library.Generic import IsDDMSSelected @@ -166,6 +166,10 @@ def ShuffleBossesBasedOnOwnedItems(spoiler, ownedKongs: dict, ownedMoves: dict): Levels.CrystalCaves: [], Levels.CreepyCastle: [], } + if spoiler.settings.training_barrels == TrainingBarrels.normal: + # If training barrels are not shuffled then the player has them in every level (notably including Barrels), but it may not come through on this dict + for level in ownedMoves: + ownedMoves[level].extend([Items.Barrels, Items.Vines, Items.Oranges, Items.Swim]) for level in bossOptions.keys(): # Pufftoss is always accessible bossOptions[level].append(Maps.GalleonBoss)