@@rand_music = nil def initialize @@rand_music = nil unless $scene.is_a?(Scene_Load) end
@@rand_music ||= rand(3) + 1 case @@rand_music when 1 Audio.bgm_play("Audio/BGM/1.mp3") when 2 Audio.bgm_play("Audio/BGM/2.mp3") when 3 Audio.bgm_play("Audio/BGM/3.mp3") end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |