summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPepper0ni <93387759+Pepper0ni@users.noreply.github.com>2026-09-24 23:37:48 +0100
committerGitHub <noreply@github.com>2026-09-24 22:37:48 +0000
commit479aa26ef4a3d8208c54b9bc1f554c03edbbff9d (patch)
tree172d6a0a4e4b041e04cc7b92e5d4fbaa15740c40
parent8fc1fc869bd1c7036dfa4237720e6fd66361075b (diff)
Fix the seeding for Dark Link's spot in enemy rando. (#7249)
-rw-r--r--soh/soh/Enhancements/ExtraModes/EnemyRandomizer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/ExtraModes/EnemyRandomizer.cpp b/soh/soh/Enhancements/ExtraModes/EnemyRandomizer.cpp
index e11718c8c..4a09a5a5a 100644
--- a/soh/soh/Enhancements/ExtraModes/EnemyRandomizer.cpp
+++ b/soh/soh/Enhancements/ExtraModes/EnemyRandomizer.cpp
@@ -828,10 +828,13 @@ void RegisterEnemyRandomizer() {
s16 posZ = static_cast<s16>(blkobj->dyna.actor.world.pos.z);
s16 rotX = 0;
s16 rotY = blkobj->dyna.actor.yawTowardsPlayer;
+ s16 seededRotY = 6969;
s16 rotZ = 0;
s16 params = 0;
- if (!GetRandomizedEnemy(play, &actorId, &posX, &posY, &posZ, &rotX, &rotY, &rotZ, &params)) {
+ // rotation is hardcoded here as it is inconsistent, breaking seeded randomiser
+ // value provided is the best meme number avalible, theoretically any number works
+ if (!GetRandomizedEnemy(play, &actorId, &posX, &posY, &posZ, &rotX, &seededRotY, &rotZ, &params)) {
assert(false);
}