That's not quite what I meant. This is what I want to do (added code that needs fixing):
In Scene_Battle 2:
# Determine if treasure appears
if rand(100) < enemy.treasure_prob
if enemy.item_id > 0
treasures.push($data_items[enemy.item_id]) ## Enemy drops the item after battle
## Take enemy's drop item and draw over "??" already in Bestiary
# drop = $data_items[enemy.item_id].name
# _DROP = drop + " (" + enemy.treasure_prob.to_s + "%)"
# RPG.contents.draw_text(x_offset, 320, 256, 32, _DROP)
end
...
I know what to do, I just don't know all that ridiculous crap about accessors, scope, and references.