Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # // By IceDragon (rpgmakervx.net)
- # // Patch for Lufia Menu background
- module MenuBackground
- BACKGROUNDS = {
- 0 => "Lufia Menu Back", # // Default
- 1 => "Lufia Menu Back2", # // Your other
- 2 => "Lufia Menu Back3" # // And another
- }
- BACKGROUND_VAR_ID = 1
- end
- # // Just for the sake of not having to call a crap load of stuff
- # // Well hell I could just dump the Constants in the class itself...
- class Scene_Base
- include MenuBackground
- end
- [:Scene_Menu,:Scene_Status,:Scene_Equip,:Scene_Item,:Scene_Skill].each do |sym|
- eval(%Q(
- class #{sym}
- alias :backchange_start :start
- def start(*args,&block)
- backchange_start(*args,&block)
- filename = BACKGROUNDS[$game_variables[BACKGROUND_VAR_ID]]
- @menuback_sprite.bitmap = Cache.system(filename)
- end
- end
- ))
- end
Advertisement
Add Comment
Please, Sign In to add comment