Removed the additional indents

This commit is contained in:
EmoUsedHM01 2024-04-11 19:52:03 +01:00 committed by GitHub
parent f0c2e62883
commit 4269c27b9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2477,10 +2477,10 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
return new Promise(resolve => {
// Check if the move category is not STATUS or if the switch out condition is not met
if (move.category !== MoveCategory.STATUS && !this.getSwitchOutCondition()(user, target, move)) {
// Apply effects that need to be executed before switch out
// For example, applying poison or any other status condition
//Apply effects that need to be executed before switch out
//For example, applying poison or any other status condition
this.applyEffectsBeforeSwitchOut(user, target, move);
// Resolve the Promise after the switch out is complete
//Resolve the Promise after the switch out is complete
return resolve(false);
}