Earthbound-Ish Battle System

When I go into battle, this error occurs.

vLbOZWD.png


The only scripts I have are:

-Earthbound-Ish Battle Core

-Earthbound-Ish Sprite Display

-Earthbound-Ish Odometer Roll

On line 373 is

    rect = Rect.new(icon_index % 16 * 24, icon_index / 16 * 24, 24, 24)
[ the scripts can be found at http://rmrk.net/index.php/topic,47693.0.html ]

Please help, and thank you.
Any chance you've changed your window to a small size?

This is a common error, where the icon index being passed in is nil.  I THINK it has to do with resizing the window, and there isn't enough room to display the icons.
Any chance you've changed your window to a small size?

This is a common error, where the icon index being passed in is nil.  I THINK it has to do with resizing the window, and there isn't enough room to display the icons.
No, I don't think I resized the window since this is a brand new project with the scripts slapped on.

Original thread: https://forums.rpgmakerweb.com/threads/earthbound-ish-battle-system.52543/