Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions randomizer/CompileHints.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
BananaportRando,
BLockerSetting,
ClimbingStatus,
FasterChecksSelected,
ProgressiveHintItem,
ActivateAllBananaports,
LogicType,
Expand Down Expand Up @@ -1423,6 +1424,12 @@ def compileHints(spoiler: Spoiler) -> bool:
# Forest Donkey Mill needs to find the Grinder Room rather than Forest Main
Locations.ForestDonkeyMill: [Regions.GrinderRoom, Maps.ForestMillFront],
}
# If the Arcade GB isn't on the blast course, it's in the Arcade region and can be entrance hinted
if not spoiler.LogicVariables.checkFastCheck(FasterChecksSelected.factory_arcade_round_1):
location_exceptions[Locations.FactoryDonkeyDKArcade] = [Regions.FactoryArcadeTunnel, Maps.FranticFactory]
# If it is on, then it's on the blast course - this exception will make it unhintable
else:
location_exceptions[Locations.FactoryDonkeyDKArcade] = [Regions.FactoryBaboonBlast, Maps.FactoryBaboonBlast]
region_exceptions = {
# Most Galleon ships share a Map but have segmented sections. We want to be sure we're looking for the correct transition for each check.
Regions.TinyShip: [Transitions.GalleonTinyToShipyard],
Expand Down
4 changes: 2 additions & 2 deletions randomizer/LogicFiles/FungiForest.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,14 @@
TransitionFront(Regions.MushroomUpper, lambda _: True, Transitions.ForestUpperExteriorToUpperMushroom),
TransitionFront(Regions.MushroomNightExterior, lambda l: (l.istiny and l.twirl) or not l.IsHardFallDamage()),
TransitionFront(Regions.GiantMushroomArea, lambda _: True),
TransitionFront(Regions.MushroomVeryTopExterior, lambda l: (l.handstand and l.islanky) or (l.slope_resets and l.diddy)),
TransitionFront(Regions.MushroomVeryTopExterior, lambda l: (l.handstand and l.islanky) or (l.slope_resets and l.isdiddy)),
TransitionFront(Regions.MushroomChunkyRoom, lambda l: (l.CanSlamSwitch(Levels.FungiForest, 2) and l.ischunky) or l.CanPhase() or l.CanOStandTBSNoclip(), Transitions.ForestExteriorToChunky),
TransitionFront(Regions.MushroomLankyZingersRoom, lambda l: Events.LankyMushroomSlamSwitch in l.Events or l.CanOStandTBSNoclip(), Transitions.ForestExteriorToZingers),
TransitionFront(Regions.MushroomLankyMushroomsRoom, lambda l: Events.LankyMushroomSlamSwitch in l.Events or l.CanPhase() or l.CanOStandTBSNoclip(), Transitions.ForestExteriorToMushrooms),
TransitionFront(Regions.ForestBossLobby, lambda l: not l.settings.tns_location_rando),
]),

Regions.MushroomVeryTopExterior: Region("Very Top of Mushroom", HintRegion.MushroomExterior, Levels.FungiForest, True, -1, [
Regions.MushroomVeryTopExterior: Region("Very Top of Mushroom", HintRegion.MushroomExterior, Levels.FungiForest, False, -1, [
LocationLogic(Locations.ForestMainEnemy_TopOfMushroom, lambda _: True),
LocationLogic(Locations.KremKap_ForestMainEnemy_TopOfMushroom, lambda l: l.camera),

Expand Down
Loading