Removed unnecessary overlap check

This commit is contained in:
frutescens 2024-09-25 19:19:49 -07:00
parent 2d09c5c2c1
commit 268f54e376

View File

@ -2605,11 +2605,9 @@ export class SyrupBombTag extends BattlerTag {
* @param {Pokemon} pokemon the target Pokemon
*/
override onAdd(pokemon: Pokemon) {
if (Utils.isNullOrUndefined(pokemon.getTag(BattlerTagType.SYRUP_BOMB))) {
super.onAdd(pokemon);
pokemon.scene.queueMessage(i18next.t("battlerTags:syrupBombOnAdd", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }));
}
}
/**
* Applies the single-stage speed down to the target Pokemon and decrements the tag's turn count