Temporary Fishing Fixes for rando (#1525)

Co-authored-by: aMannus <mannusmenting@gmail.com>
Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
briaguya
2022-09-19 22:55:46 -04:00
committed by GitHub
parent 978b325a30
commit b18cc9d628
2 changed files with 5 additions and 17 deletions
@@ -2901,18 +2901,8 @@ f32 Fishing_GetMinimumRequiredScore() {
// values above rando fish weight values when rando'd
if(sLinkAge == 1) {
weight = CVar_GetS32("gChildMinimumWeightFish", 10);
if (gSaveContext.n64ddFlag) {
if (weight > 8) {
weight = 8;
}
}
} else {
weight = CVar_GetS32("gAdultMinimumWeightFish", 13);
if (gSaveContext.n64ddFlag) {
if (weight > 10) {
weight = 10;
}
}
weight = CVar_GetS32("gAdultMinimumWeightFish", 13);
}
return sqrt(((f32)weight - 0.5f) / 0.0036f);