Skip to content

Commit

Permalink
Make Gyre unique per seed not per flag set
Browse files Browse the repository at this point in the history
  • Loading branch information
TriumphantBass committed Jun 18, 2022
1 parent 290846d commit 7173b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TsRandomizer/LevelObjects/RoomTriggers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ static RoomTrigger()
RoomTriggers.Add(new RoomTrigger(14, 11, (level, itemLocation, seedOptions, gameSettings, screenManager) => {
// Play Gyre music in gyre
level.JukeBox.PlaySong(Timespinner.GameAbstractions.EBGM.Level14);
level.AsDynamic().SetLevelSaveInt("GyreDungeonSeed", seedOptions.Flags.GetHashCode()); // Set Gyre enemies
level.AsDynamic().SetLevelSaveInt("GyreDungeonSeed", (int)level.GameSave.GetSeed().Value.Id); // Set Gyre enemies
BestiaryManager.RefreshBossSaveFlags(level); // Reset boss save flags cleared by Gyre portal
}));
RoomTriggers.Add(new RoomTrigger(14, 23, (level, itemLocation, seedOptions, gameSettings, screenManager) => {
Expand Down

0 comments on commit 7173b4c

Please sign in to comment.