Need Help with a script.

First of all, I am sorry if I didn't post this to the right place. 

I just need help with something in a bestiary script. The script is a bestiary one, and I am noob, so I understand nothing. (Had difficulty adding options in menu.)

So I use a CBS side view battlers, and the problem is in the bestiary it loads the enemy battler sprites to show, and it doesn't look good at all with all those poses. Here is where I think it go get the sprite in the battler folder.
 

 

  def draw_bestiary_battler(enemy, w, h)

    bitmap = RPG::Cache.battler(enemy.battler_name, enemy.battler_hue)

    bitmap_w = bitmap.width / 2

    bitmap_h = bitmap.height / 2

    src_rect = Rect.new(0, 0, bitmap.width, bitmap.height)

    self.contents.blt(w/2 - bitmap_w, h/2 - bitmap_h, bitmap, src_rect, 192)

  end

What I would like if any one can help, is that it loads an image with the same name as the battler image, but in the picture folder instead.

Thank you for taking time to read this. 
Moving to RGSSx Script Support


Instead of RPG::Cache.battler, use RPG::Cache.picture - but check if it uses the same arguments. enemy.battler_name will be fine, but I don't know if pictures use a hue like battlers and characters do.


Note, responders, this is for RMXP.
Wouldn't it be better for this

bitmap = RPG::Cache.battler(enemy.battler_name, enemy.battler_hue)to be something like

bitmap = Cache.battler(enemy.battler_name, enemy.battler_hue)or you can change it to something like:

bitmap = Cache.picture(enemy.battler_name)and add the battler in the pictures folder?
Note, responders, this is for RMXP.
😉 XP does not have the Cache module. You have to use RPG::Cache


And I just checked - RMXP does not use hues for pictures, so it'd just be RPG::Cache.picture(enemy.battler_name)

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-a-script.38279/