RGSS Ruby 1.8.1 [RPG Maker XP] [SOLVED]

EDIT: Issue has been resolved. Thread can be closed.

Hello fellow coders.
I am using Ruby for coding since the release of RPG Maker XP. I’ve been doing a project on and off and I am stuck at something that really annoys me:

I want to render Icons on an Enemy Instance. As of now, nothing I have done has worked. Stacking Animations would cause too much lag unfortunatelly. I coded something for the Actors that shows the Icons and States, but technically I just want to show Icons for Enemies since there is not much space:

Code unnavailable

What this Script does it takes State-IDs, converts them into Icons and posts them in a Grid above the Actor. The script can do much more when posted in full but this is the main thing I am trying to put above an Enemy.

I most likelly have to add something similar into class Game_Enemy < Game_Battler, but I am a messy coder and instead of doing refferences/aliases I put everything I’ve done so far 90% into the OG Code (oops.)

Can someone maybe help me find the solution? I think this goes beyond RPG Maker coding, I’ve tried my fullest knowledge for the last 3 days almost straight.

  • SGD