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
commit b18cc9d628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 17 deletions

View file

@ -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);