How to remove Enemy Emerge text

I'm making a scripted battle where it would be pretty out of place to have a line of text saying "Mysterious Figure Emerged." Is there anything I can do to change this or remove this? I know you can in MV, but I haven't found anything on VX Ace.
Are you asking to have the text go away for all battles?
Ruby:
module BattleManager
  #--------------------------------------------------------------------------
  # * Battle Start
  #--------------------------------------------------------------------------
  def self.battle_start
    $game_system.battle_count += 1
    $game_party.on_battle_start
    $game_troop.on_battle_start
    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
Yes, that would be appreciated. I would also like there to be a way to change it for every battle. It would be crazy if there's not a way to do this outside of scripting, but if there isn't that's fine.
Yes, that would be appreciated. I would also like there to be a way to change it for every battle. It would be crazy if there's not a way to do this outside of scripting, but if there isn't that's fine.
The only way to have it turn on and off would be to use a switch.
This changes the method. I can put in a switch and then you can change it in the map event or have the switch off always then turn on when you want it to show for specific battles, but would have to be done before the battle starts.
Just change the switch number in the script
Ruby:
module BattleManager
  #--------------------------------------------------------------------------
  # * Battle Start
  #--------------------------------------------------------------------------
  def self.battle_start
    $game_system.battle_count += 1
    $game_party.on_battle_start
    $game_troop.on_battle_start
    if $game_switches[1] == true
      $game_troop.enemy_names.each do |name|
        $game_message.add(sprintf(Vocab::Emerge, name))
      end
    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
How should I use this? I put it in the BattleManager script but it did nothing. I tried turning on the switch before the battle, but nothing changed. Am I doing something wrong?
I put it in the BattleManager script
how? Most likely you made a mistake. All custom scripts go below materials and above main, unless you know what you are doing.
With the switch on the message is displayed. with it off it is not displayed.
Yeah, it doesn't seem to work. I put the script below mat and above main, and turned the switch off before initiating battle. I'm pretty sure I'm doing something wrong. It might have something to do with the switches, but I put 5 where it said 1 in the "game_switches" part and changed that switch to off before battle.
Nevermind it works I just forgot a part of the script

Anyway, should I give you credit for this? If so, I'll put your username in the in-game credits, like I'm doing with all the other plugin creators(I just put Yanfly for Yanfly). If you want me to do something else that's fine.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-remove-enemy-emerge-text.169720/