Skip Party Command Window
#1
Not surprisingly Helladen's dropbox link to his Skip Party Command Window post 404'd.

Helladen - 07-27-2012 Wrote:This script will skip the party command window when a battle starts and when a turn ends, because it is really annoying to click fight, and most of the time you will not run. Furthermore, I have added an option to disable it from skipping when a battle starts to help make it more friendly to developers. I also left in the compatibility for YEA - Command Party since it won't really affect anyone as well.

This script should work with almost every system, and to install it just paste it above main and below all your other scripts.

I tried to recreate it, modifying Yanfly's YEA - Battle Engine's code, like OP.
So like, all the credit goes to Yanfly.

To be clear, this is not OP's code, this is what I imagine it was like. It works, though.
Code:
class Scene_Battle < Scene_Base

  alias scene_battle_battle_start_abe battle_start
  def battle_start
    scene_battle_battle_start_abe
    @party_command_window.deactivate
    if BattleManager.input_start
      command_fight
    else
      turn_start
    end
  end
 
  alias scene_battle_turn_end_abe turn_end
  def turn_end
    scene_battle_turn_end_abe
    return if end_battle_conditions?
    if BattleManager.input_start
      @party_command_window.deactivate
      command_fight
    else
      @party_command_window.deactivate
      turn_start
    end
  end
 
  def end_battle_conditions?
    return true if $game_party.members.empty?
    return true if $game_party.all_dead?
    return true if $game_troop.all_dead?
    return true if BattleManager.aborting?
    return false
  end
end
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
   Command Color VX + ACE kyonides 1 2,594 09-10-2025, 10:15 AM
Last Post: kyonides
   Toggle Message Window VX kyonides 0 2,577 11-11-2024, 01:36 AM
Last Post: kyonides
   Skip Title Once VX + ACE kyonides 0 2,392 11-03-2024, 12:39 AM
Last Post: kyonides
   Skip Battle Messages Helladen 1 9,424 08-06-2012, 01:34 AM
Last Post: Helladen
   Victor Engine - Item Command Victor Sant 0 7,361 08-05-2012, 10:36 PM
Last Post: Victor Sant
   Victor Engine - Direct Command Victor Sant 0 7,668 08-05-2012, 01:44 AM
Last Post: Victor Sant
   Skip Battle Log Helladen 0 7,506 08-02-2012, 10:49 AM
Last Post: Helladen
   Victor Engine - Skip Battle Log Victor Sant 0 7,604 01-09-2012, 05:27 AM
Last Post: Victor Sant
   Xenres' Title Skip StrangeAutomaton 0 8,330 11-25-2010, 06:03 AM
Last Post: StrangeAutomaton
   AWorks Frame Skip vgvgf 0 7,079 09-23-2009, 11:57 PM
Last Post: vgvgf



Users browsing this thread: 1 Guest(s)