The images = [] is where you put your images named after your status'. Ex: you have Poison as a status, have a picture in the icons folder called Poison.
def make_battler_state_images(battler)
images = []
for i in battler.states
images.push(RPG::Cache.icon($data_states[i].name))
end
return images
end
def draw_actor_state(actor, x, y, width = 120)
images = make_battler_state_images(actor)
for i in 0...images.length
rect = Rect.new(x + (i * 26), y, self.width - 32, 24)
self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
self.contents.blt(x + (i * 26), y, images[i], Rect.new(0, 0, 24, 24), 255)
end
end