- Joined
- Jan 25, 2022
- Messages
- 77
- Reaction score
- 65
- First Language
- English
- Primarily Uses
- RMVXA
Anyway, I ran into a problem using Fomar0153's "YanFly Compatible Customisable ATB/Stamina Based Battle System script" (found here).
As it says, it requires Yanfly's Ace Battle Engine, which I am also using...
The problem: Whenever an enemy uses the "Escape" ability in battle, the game will crash and give me this error:

Here's line 458 in the script:

I'm not really sure how to fix this issue. From what I understand from the error message, it seems this method wasn't properly defined? However, only a few lines below, the 'stamina_cost' method is indeed defined:

So... I'm a little lost, to be honest. I recreated the error in a new project with fresh scripts from the sources I provided. The error still appeared. If anyone can take a look at these and try and find the solution, I would be eternally grateful.
As it says, it requires Yanfly's Ace Battle Engine, which I am also using...
The problem: Whenever an enemy uses the "Escape" ability in battle, the game will crash and give me this error:

Here's line 458 in the script:

I'm not really sure how to fix this issue. From what I understand from the error message, it seems this method wasn't properly defined? However, only a few lines below, the 'stamina_cost' method is indeed defined:

So... I'm a little lost, to be honest. I recreated the error in a new project with fresh scripts from the sources I provided. The error still appeared. If anyone can take a look at these and try and find the solution, I would be eternally grateful.
Last edited: