09-19-2012, 01:50 AM
I actually have done that myself. Here are bits of the Game_System area:
PHP Code:
<?php
class Game_System
def bgm_data
data = {
"Battle2" => [60, 22180, 127830],
}
data.default = [0,0,0]
return data
end
PHP Code:
<?php
# BGM Every setting
if bgm != nil and bgm.name != ''
if bgm_data.include?(bgm.name)
start = bgm_data[bgm.name][0]
loop = bgm_data[bgm.name][1]
fin = bgm_data[bgm.name][2]
end