module Suppon Title_Random_Choice = true #使用しない場合はfalseにしてください。 end class Scene_Title alias suppon_create_background create_background def create_background suppon_create_background return unless Suppon::Title_Random_Choice @sprite1 = Sprite.new @sprite1.bitmap = Cache.title1(random_choice_title1) @sprite2 = Sprite.new @sprite2.bitmap = Cache.title2(random_choice_title2) center_sprite(@sprite1) center_sprite(@sprite2) end def random_choice_title1 list = ["タイトル","タイトル2","タイトル3","タイトル4","タイトル5","タイトル6", "タイトル7","タイトル8","タイトル9","タイトル10","タイトル11", "タイトル12","タイトル13","タイトル14","タイトル15","タイトル16", "タイトル17","タイトル18","タイトル19","タイトル20","タイトル21", "タイトル22","タイトル23","タイトル24","タイトル25","タイトル26", "タイトル27","タイトル28","タイトル29","タイトル30","タイトル31"] #list = ["タイトル21"] return list.sample end def random_choice_title2 list = [""] return list.sample end end