mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-11 22:18:04 -05:00
Merge pull request #1380 from leggettc18/rando-next-key-fix
Fixes Ganon's Boss Key setting discrepancy
This commit is contained in:
commit
c1894f108f
@ -1471,12 +1471,17 @@ s16 Randomizer::GetItemFromGet(RandomizerGet randoGet, GetItemID ogItemId) {
|
|||||||
case RG_WATER_TEMPLE_BOSS_KEY:
|
case RG_WATER_TEMPLE_BOSS_KEY:
|
||||||
case RG_SPIRIT_TEMPLE_BOSS_KEY:
|
case RG_SPIRIT_TEMPLE_BOSS_KEY:
|
||||||
case RG_SHADOW_TEMPLE_BOSS_KEY:
|
case RG_SHADOW_TEMPLE_BOSS_KEY:
|
||||||
case RG_GANONS_CASTLE_BOSS_KEY:
|
|
||||||
if (GetRandoSettingValue(RSK_BOSS_KEYSANITY) < 3) {
|
if (GetRandoSettingValue(RSK_BOSS_KEYSANITY) < 3) {
|
||||||
return GI_KEY_BOSS;
|
return GI_KEY_BOSS;
|
||||||
} else {
|
} else {
|
||||||
return randoGet;
|
return randoGet;
|
||||||
}
|
}
|
||||||
|
case RG_GANONS_CASTLE_BOSS_KEY:
|
||||||
|
if (GetRandoSettingValue(RSK_GANONS_BOSS_KEY) < 3) {
|
||||||
|
return GI_KEY_BOSS;
|
||||||
|
} else {
|
||||||
|
return randoGet;
|
||||||
|
}
|
||||||
|
|
||||||
case RG_FOREST_TEMPLE_SMALL_KEY:
|
case RG_FOREST_TEMPLE_SMALL_KEY:
|
||||||
case RG_FIRE_TEMPLE_SMALL_KEY:
|
case RG_FIRE_TEMPLE_SMALL_KEY:
|
||||||
|
Loading…
Reference in New Issue
Block a user