|
1 | | -using DynamicData; |
2 | | -using FtRandoLib.Importer; |
3 | | -using js65; |
4 | | -using NLog; |
5 | | -using System; |
| 1 | +using System; |
6 | 2 | using System.Buffers; |
7 | 3 | using System.Collections.Generic; |
8 | 4 | using System.Diagnostics; |
9 | 5 | using System.IO; |
10 | 6 | using System.Linq; |
11 | | -using System.Reflection; |
12 | 7 | using System.Text; |
13 | 8 | using System.Text.Json; |
14 | 9 | using System.Threading; |
15 | 10 | using System.Threading.Tasks; |
| 11 | +using NLog; |
| 12 | +using js65; |
| 13 | +using FtRandoLib.Importer; |
16 | 14 | using Z2Randomizer.RandomizerCore.Enemy; |
17 | 15 | using Z2Randomizer.RandomizerCore.Overworld; |
18 | 16 | using Z2Randomizer.RandomizerCore.Sidescroll; |
@@ -174,7 +172,7 @@ public class Hyrule |
174 | 172 | */ |
175 | 173 |
|
176 | 174 | public ROM ROMData { get; set; } |
177 | | - public Random r { get; set; } |
| 175 | + public RandomizerCore.Random r { get; set; } |
178 | 176 | public string Flags { get; private set; } |
179 | 177 | public int SeedHash { get; private set; } |
180 | 178 | public RandomizerProperties Props |
@@ -1273,7 +1271,7 @@ private async Task<bool> FillPalaceRooms(AsmModule sideviewModule) |
1273 | 1271 | try |
1274 | 1272 | { |
1275 | 1273 | ROM testRom = new(ROMData); |
1276 | | - Random testRng = new Random(); |
| 1274 | + Random testRng = new(SeedHash); |
1277 | 1275 | //This continues to get worse, the text is based on the palaces and asm patched, so it needs to |
1278 | 1276 | //be tested here, but we don't actually know what they will be until later, for now i'm just |
1279 | 1277 | //testing with the vanilla text, but this could be an issue down the line. |
|
0 commit comments