Add option to not show level up stats

This commit is contained in:
Flashfyre committed 2023-11-04 21:53:38 -04:00
1 parent 7e5615c1bb
commit 4f91c47168
4 files changed
+20 -8

No files matched your search

+2
View File
@@ -131,6 +131,8 @@ export default class BattleMessageUiHandler extends MessageUiHandler {
}
promptLevelUpStats(partyMemberIndex: integer, prevStats: integer[], showTotals: boolean, callback?: Function): void {
if (!this.scene.showLevelUpStats)
return callback();
const newStats = (this.scene as BattleScene).getParty()[partyMemberIndex].stats;
let levelUpStatsValuesText = '';
const stats = Utils.getEnumValues(Stat);