Fix showing incorrect max PP on summary screen

pull/14/head
Flashfyre 2024-01-29 20:57:59 -05:00
parent 9a00090617
commit 5ab628039d
1 changed files with 1 additions and 1 deletions

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, ' ')}`);
}