Problem with the Earthbound Battle system

Triforce Mario

The King of Awkwardness
Veteran
Joined
Jun 4, 2016
Messages
39
Reaction score
5
First Language
English
Primarily Uses
RMVXA
So, in a game I'm making, I put in the Earthbound battle system by cozziekuns
but, when I try to do battles, I get this error message
upload_2017-6-19_11-24-18.png
So, I decided to check it out, and it was this line of code that was messing up

rect = Rect.new(icon_index % 16 * 24, icon_index / 16 * 24, 24, 24)

I honestly have no clue what to do, I'll take any and all help, cause I'm confused.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Most likely that line has nothing to do with the error directly - the error just says that on this line the computer detected that you're missing data that is needed to process this line (undefined for nilclass means data doesn't exist)

So either you forgot to configure the script correctly, or you didn't start a new game after installing the script.

If that is not enough to find the error yourself, we need a link to the script and a screenshot of the backtrace output with the full error message (instead of the abbreviated default message you made a screenshot of).
If you don't know of the backtracer, please follow the link "how to use a script" in my signature.
 

Triforce Mario

The King of Awkwardness
Veteran
Joined
Jun 4, 2016
Messages
39
Reaction score
5
First Language
English
Primarily Uses
RMVXA
...huh
I fixed the problem by changing the sprites of the battle options.
weird.
Well, its fixed, that's all that matters, I suppose.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top