class Game_System
def bgm_play(bgm)
if $game_switches[10] # If switch 10 is on, which would disable music
return # Exit
end
@playing_bgm = bgm
if bgm != nil and bgm.name != ""
Audio.bgm_play("Audio/BGM/" + bgm.name, bgm.volume, bgm.pitch)
else
Audio.bgm_stop
end
Graphics.frame_reset
end
def me_play(me)
if $game_switches[10] # If switch 10 is on, which would disable music
return # Exit
end
if me != nil and me.name != ""
Audio.me_play("Audio/ME/" + me.name, me.volume, me.pitch)
else
Audio.me_stop
end
Graphics.frame_reset
end
end