From 7c0b9425da89531211a2e473312597ae6098b185 Mon Sep 17 00:00:00 2001 From: shayebeadlingkl Date: Sun, 12 May 2024 08:54:09 -0400 Subject: [PATCH] code comments --- src/data/battler-tags.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/data/battler-tags.ts b/src/data/battler-tags.ts index 3481f5991..4f2e19a16 100644 --- a/src/data/battler-tags.ts +++ b/src/data/battler-tags.ts @@ -1249,6 +1249,10 @@ export class CursedTag extends BattlerTag { } } +/** + * If the pokemon faints to an attack move, the attacker loses all pp for that move + * @param {integer} sourceId The ID of the source pokemon + */ export class GrudgeTag extends BattlerTag { private sourceIndex: integer;