From e2317b79a3ea0543717ec665cc3bfc7e7649f8ad Mon Sep 17 00:00:00 2001 From: Dread134 Date: Wed, 15 May 2024 13:55:36 -0400 Subject: [PATCH] Update ability.ts Added comment explaining the simulated parameter --- src/data/ability.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index 0046143573b..ee4a1acbe2e 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); }