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,10 +2605,8 @@ export class SyrupBombTag extends BattlerTag {
* @param {Pokemon} pokemon the target Pokemon * @param {Pokemon} pokemon the target Pokemon
*/ */
override onAdd(pokemon: Pokemon) { override onAdd(pokemon: Pokemon) {
if (Utils.isNullOrUndefined(pokemon.getTag(BattlerTagType.SYRUP_BOMB))) { super.onAdd(pokemon);
super.onAdd(pokemon); pokemon.scene.queueMessage(i18next.t("battlerTags:syrupBombOnAdd", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }));
pokemon.scene.queueMessage(i18next.t("battlerTags:syrupBombOnAdd", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }));
}
} }
/** /**