Ensure apply modifier conditional retains original behavior

This commit is contained in:
Sirz Benjie 2025-06-15 13:47:49 -05:00
parent 62c4756c78
commit a131aee63a
No known key found for this signature in database
GPG Key ID: 38AC42D68CF5E138

View File

@ -275,7 +275,7 @@ export class SelectModifierPhase extends BattlePhase {
globalScene.phaseManager.unshiftPhase(this.copy()); globalScene.phaseManager.unshiftPhase(this.copy());
} }
if (cost && !(modifier.type instanceof RememberMoveModifierType)) { if (cost !== -1 && !(modifier.type instanceof RememberMoveModifierType)) {
if (result) { if (result) {
if (!Overrides.WAIVE_ROLL_FEE_OVERRIDE) { if (!Overrides.WAIVE_ROLL_FEE_OVERRIDE) {
globalScene.money -= cost; globalScene.money -= cost;