How to temporarily disable the "[Enemy] has appeared" message?

Hello! I just need some simple help.

I want to temporarily disable the "[Bleh] has appeared!" message for a specific fight (with switches, calls or whatever is easiest) since the boss is supposed to be revealed after some beginning dialogue.

Thanks!
I haven't tested this, so not sure if it will work. Replace 15 below with whatever switch you want to use, then turn the switch ON when you DON'T want the window to show.

Code:
module BattleManager
  #--------------------------------------------------------------------------
  # * Battle Start
  #--------------------------------------------------------------------------
  def self.battle_start
    $game_system.battle_count += 1
    $game_party.on_battle_start
    $game_troop.on_battle_start
    return if $game_switches[15]
    $game_troop.enemy_names.each do |name|
      $game_message.add(sprintf(Vocab::Emerge, name))
    end
    if @preemptive
      $game_message.add(sprintf(Vocab::Preemptive, $game_party.name))
    elsif @surprise
      $game_message.add(sprintf(Vocab::Surprise, $game_party.name))
    end
    wait_for_message
  end
end
@Shaz Yup, it works!! Thanks so much Shaz! ^-^
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/how-to-temporarily-disable-the-enemy-has-appeared-message.91844/