Fix showing incorrect max PP on summary screen

This commit is contained in:
Flashfyre committed 2024-01-29 20:57:59 -05:00
1 parent 9a00090617
commit 5ab628039d
1 file changed
+1 -1
+1 -1
View File
@@ -676,7 +676,7 @@ export default class SummaryUiHandler extends UiHandler {
ppText.setOrigin(0, 1);
if (move) {
const maxPP = move.getMove().pp + move.ppUp;
const maxPP = move.getMovePp();
const pp = maxPP - move.ppUsed;
ppText.setText(`${Utils.padInt(pp, 2, ' ')}/${Utils.padInt(maxPP, 2, ' ')}`);
}