Show Party Commands Menu every turn

You may have noticed that if, at any point in battle, no member of your party is able to move, the Party Command Menu won't even show up at the start of the turn. Could you please change that? I'd like the player to always be able to try to run or do some other Party stuff.

Thanks in advance!
https://github.com/Archeia/YEARepo/blob/master/Ace_Battle_Engine.rb
This should work!!!
If I understand you wan't something were it shows commands
when you get into a battle.
I'm already using that script. Perhaps I didn't explain myself too well? Let's see:

2019-02-25.png


This beautiful menu? Which contains options like "Fight", "Run",... It shows up at the start of every turn... unless none of your party members are able to move. If all your party members are paralyzed/confused/asleep/whatever impairment, the window won't show up at all and the turn will start automatically.

I want that to change. I want the window to appear at the start of every turn no matter what. I hope I made it clearer now!
Well... I found a bad solution here, but I think it works.
When I have time I should refine it in something more elegant, but whatever... Here it is:

Code:
module BattleManager
  def self.input_start
    if @phase != :input
      @phase = :input
      $game_party.make_actions
      $game_troop.make_actions
      clear_actor
    end
    return !@surprise
  end
end

It needs more testing, so it may cause some undesired side effects.

Anyways, This is basically the same method found in the BattleManager module, the difference is that I changed this line
Code:
return !@surprise && $game_party.inputable?

By removing the $game_party.inputable? it should enable the party commands menu regardless of party member conditions.
You know the Battle Command script by Yanfly? If you do, know this causes a bug with that script. I seemingly solved it? Here's the specifics in case you want to know.

Spoiler

You know this small window the script creates? When there are no available battlers, the window activates when you use the fight command, but it's not even vissible. And most importantly, the game crashes if you cancel out of it.

I seemingly solved it by going to this line (988):



And adding the thing you removed.



I'm no scripter so I might be messing up everything really hard. What do you think?

That aside, your script works perfectly! Thank you so much! ^^

I'll wait for your response before closing the thread.
if your adjustments are doing fine, i see no problem in closing the thread. 😉
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/show-party-commands-menu-every-turn.106050/