Joined
Jan 25, 2022
Messages
68
Reaction score
64
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:
error.png
Here's line 458 in the script:
458.png
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:
stamina_cost.png
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:

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,903
Reaction score
9,428
First Language
Indonesian
Primarily Uses
N/A
Here is a quick fix.
At the end of line 458 from your second screenshot, add if @actions[0]
 

Latest Threads

Latest Posts

Latest Profile Posts


Clarn Hold
(No storylines)
There was a tutorial on how to draw anime eyes. Just draw Among Us. So I tried.
Screenshot_107.jpg
DamageActor3_7.png added!
index.php

Making a "characters first appearance" drawing for my game. Now I just have to finish the sprite art animation for her grand entrance.​
ScreenShot_9_24_2022_7_56_24.png
New area being started today. It leads to one of the games 2 optional bosses.

Forum statistics

Threads
125,540
Messages
1,171,812
Members
164,610
Latest member
ririrea
Top