Wow, this is just a little embarrassing. The first hit on google contained a similar snippet:
@image = Sprite.new
@imate.bitmap = RPG::Cache.picture("name of picture")
And explicitly told me there should be a @ in front of the variable. But that resulted in an error , so I didn't bother to...