class Scene_Title < Scene_Base
#中略
if Input.trigger?(:C)
Sound.play_ok
case @choice_sprite.index
when 1
@stage=3
when 2
@stage=4
when 3
@stage=5
when 4
@stage=6
end
end
when 3
Audio.bgm_fade(BGM_FADE)
@mask_sprite.opacity+=MASK_FADE[1]
if @mask_sprite.opacity>=255
command_new_game
end
when 4
command_continue
when 5
Explanation
when 6
Audio.bgm_fade(BGM_FADE)
@mask_sprite.opacity+=MASK_FADE[1]
if @mask_sprite.opacity>=255
exit
end
end
class Scene_Title < Scene_Base
#中略
if Input.trigger?(:C)
Sound.play_ok
case @choice_sprite.index
when 1
@stage=3
when 2
@stage=4
when 3
@stage=5
when 4
@stage=6
end
end
when 3
Audio.bgm_fade(BGM_FADE)
@mask_sprite.opacity+=MASK_FADE[1]
if @mask_sprite.opacity>=255
command_new_game
end
when 4
command_continue
when 5
Explanation
when 6
Audio.bgm_fade(BGM_FADE)
@mask_sprite.opacity+=MASK_FADE[1]
if @mask_sprite.opacity>=255
exit
end
end
def Explanation
super(0, 0, 144, 273)
self.contents.draw_text(0, 0, self.contents.width, 24,[1], "ABC")
end
def Explanation
super(0, 0, 144, 273)
self.contents.draw_text(0, 0, self.contents.width, 24,[1], "ABC")
end