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.
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.