Okay I'm making a menu that will show different pictures based on whether the player has found a certain item. When the play finds the item it will turn on a switch, which the menu will check and display picture #1. How would i write something like
Quote
If switch 1 on
@mnlay.bitmap = RPG::Cache.picture(Layout::Background1)
If switch 2 on
@mnlay.bitmap = RPG::Cache.picture(Layout::Background2)
etc.