Fix grade in summary screen not accounting for 26 IV (#8157)
This commit is contained in:
parent
97b115d572
commit
ff1039f148
@ -3800,18 +3800,18 @@ static const u8 *GetLetterGrade(u32 stat)
|
||||
static const u8 gText_GradeA[] = _("A");
|
||||
static const u8 gText_GradeS[] = _("S");
|
||||
|
||||
if (stat > 0 && stat <= 15)
|
||||
return gText_GradeD;
|
||||
else if (stat > 15 && stat <= 25)
|
||||
return gText_GradeC;
|
||||
else if (stat > 26 && stat <= 29)
|
||||
return gText_GradeB;
|
||||
else if (stat == 30)
|
||||
return gText_GradeA;
|
||||
else if (stat == 31)
|
||||
return gText_GradeS;
|
||||
else
|
||||
if (stat <= 0)
|
||||
return gText_GradeF;
|
||||
else if (stat <= 15)
|
||||
return gText_GradeD;
|
||||
else if (stat <= 25)
|
||||
return gText_GradeC;
|
||||
else if (stat <= 29)
|
||||
return gText_GradeB;
|
||||
else if (stat <= 30)
|
||||
return gText_GradeA;
|
||||
else
|
||||
return gText_GradeS;
|
||||
}
|
||||
|
||||
static void BufferLeftColumnStats(void)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user