broadcast the message foe clear smog

This commit is contained in:
Yaseen
2024-10-26 16:24:44 +01:00
parent 732eb344af
commit ee419596ce
@@ -29,6 +29,7 @@ class ClearBoostInstruction(val message: BattleMessage): InterpreterInstruction
battle.dispatchWaiting(1.5F) {
val pokemonName = battlePokemon.getName()
val lang = battleLang("clearboost", pokemonName)
battle.broadcastChatMessage(lang)
battlePokemon.contextManager.clear(BattleContext.Type.UNBOOST)
battle.minorBattleActions[battlePokemon.uuid] = message
}