mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-05-30 17:15:58 -04:00
Merge branch 'GetItemFromGet-changes' of github.com:garrettjoecox/OOT into GetItem-renaming
This commit is contained in:
@@ -1639,7 +1639,6 @@ extern "C" GetItemEntry Randomizer_GetItemFromActor(s16 actorId, s16 sceneNum, s
|
||||
}
|
||||
s16 itemID = OTRGlobals::Instance->gRandomizer->GetItemIdFromActor(actorId, sceneNum, actorParams, ogId);
|
||||
|
||||
// This feels awkward, maybe in the future each mod will have it's own obtainability check
|
||||
if (OTRGlobals::Instance->gRandomizer->GetItemObtainabilityFromRandomizerCheck(randomizerCheck) != CAN_OBTAIN) {
|
||||
return ItemTable_RetrieveEntry(MOD_NONE, GI_RUPEE_BLUE);
|
||||
}
|
||||
@@ -1656,7 +1655,6 @@ extern "C" GetItemEntry Randomizer_GetItemFromKnownCheck(RandomizerCheck randomi
|
||||
}
|
||||
s16 itemID = OTRGlobals::Instance->gRandomizer->GetItemIdFromKnownCheck(randomizerCheck, ogId);
|
||||
|
||||
// This feels awkward, maybe in the future each mod will have it's own obtainability check
|
||||
if (OTRGlobals::Instance->gRandomizer->GetItemObtainabilityFromRandomizerCheck(randomizerCheck) != CAN_OBTAIN) {
|
||||
return ItemTable_RetrieveEntry(MOD_NONE, GI_RUPEE_BLUE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user