Fixes Pre-Clearing of Ganon's Trials. (#3783)

This commit is contained in:
Christopher Leggett 2024-01-02 17:19:56 -05:00 committed by GitHub
parent 46abda83d2
commit 96353c0b3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -493,7 +493,7 @@ void Randomizer::LoadMerchantMessages() {
} }
bool Randomizer::IsTrialRequired(RandomizerInf trial) { bool Randomizer::IsTrialRequired(RandomizerInf trial) {
return Rando::Context::GetInstance()->GetTrial(trial - RAND_INF_TRIALS_DONE_LIGHT_TRIAL); return Rando::Context::GetInstance()->GetTrial(trial - RAND_INF_TRIALS_DONE_LIGHT_TRIAL)->IsRequired();
} }
GetItemEntry Randomizer::GetItemFromActor(s16 actorId, s16 sceneNum, s16 actorParams, GetItemID ogItemId, GetItemEntry Randomizer::GetItemFromActor(s16 actorId, s16 sceneNum, s16 actorParams, GetItemID ogItemId,