diff --git a/src/data/ability.ts b/src/data/ability.ts index 004614357..ee4a1acbe 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -2824,7 +2824,7 @@ export function applyPostStatChangeAbAttrs(attrType: { new(...args: any[]): Post export function applyPreSetStatusAbAttrs(attrType: { new(...args: any[]): PreSetStatusAbAttr }, pokemon: Pokemon, effect: StatusEffect, cancelled: Utils.BooleanHolder, ...args: any[]): Promise { - const simulated = args[0]; + const simulated = args[0]; // Used to mark the call as simulated or not return applyAbAttrsInternal(attrType, pokemon, (attr, passive) => attr.applyPreSetStatus(pokemon, passive, effect, cancelled, args), args, false, false, simulated); }