RPG Maker Forums

I'm using Victor Engine ATB with Symphony side battle.

The problem is that VE ATB removes the "Fight Escape" from the start of the battle. So if I hit the cancel button, the game crashes with this:

Script 'Game_Actor' line 692: NoMethodError occurred.

undefined method '<=' for nil:NilClass

Here is the script that is causing the error:

 #--------------------------------------------------------------------------
  # * To Previous Command Input
  #--------------------------------------------------------------------------
  def prior_command
    return false if @action_input_index <= 0
    @action_input_index -= 1
    return true
  end

Basically the game is trying to go back to a previous command that doesn't exist, so it goes nuts.

I was thinking if there was a way to check to see if @action_input_index was not assigned a value, to either ignore it or set it at some value that isn't causing the game to crash.

If anyone has any ideas on how to fix this, I would be very grateful. I love using these two scripts together, they fit my needs perfectly. I can't find another good ATB script either, so I'm stuck trying to get VE ATB working.

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top