modifiers: pp up/max now also shows pp (#467)
parent
b2c74cfc90
commit
6151ec0e49
|
@ -4350,7 +4350,7 @@ export class SelectModifierPhase extends BattlePhase {
|
|||
const isMoveModifier = modifierType instanceof PokemonMoveModifierType;
|
||||
const isTmModifier = modifierType instanceof TmModifierType;
|
||||
const isRememberMoveModifier = modifierType instanceof RememberMoveModifierType;
|
||||
const isPpRestoreModifier = modifierType instanceof PokemonPpRestoreModifierType;
|
||||
const isPpRestoreModifier = (modifierType instanceof PokemonPpRestoreModifierType || modifierType instanceof PokemonPpUpModifierType);
|
||||
const partyUiMode = isMoveModifier ? PartyUiMode.MOVE_MODIFIER
|
||||
: isTmModifier ? PartyUiMode.TM_MODIFIER
|
||||
: isRememberMoveModifier ? PartyUiMode.REMEMBER_MOVE_MODIFIER
|
||||
|
|
Loading…
Reference in New Issue