diff options
| author | Eblo <7004497+Eblo@users.noreply.github.com> | 2026-01-07 07:55:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-07 07:55:30 -0500 |
| commit | 4b1b70242de537b0eb0f935b404d7c1a3b332df6 (patch) | |
| tree | 8abff87ace9ed7566e399af146e4bc81e13d50a4 | |
| parent | 07854304a4bc40c9273ec2bc4f16766d636f9b84 (diff) | |
Grant starting enemy souls if not shuffled (#1443)
| -rw-r--r-- | mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp index 18b9e7cdb..1d4fab153 100644 --- a/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp +++ b/mm/2s2h/Rando/MiscBehavior/OnFileCreate.cpp @@ -33,6 +33,12 @@ void GrantStarters() { startingItems.push_back(RI_ABILITY_SWIM); } + if (RANDO_SAVE_OPTIONS[RO_SHUFFLE_ENEMY_SOULS] != RO_GENERIC_YES) { + for (int i = RI_SOUL_ENEMY_ALIEN; i <= RI_SOUL_ENEMY_WOLFOS; i++) { + startingItems.push_back((RandoItemId)i); + } + } + for (RandoItemId startingItem : startingItems) { Rando::GiveItem(Rando::ConvertItem(startingItem)); } |
