class Window_BattleStatus
#--------------------------------------------------------------------------
# * Set Level Up Flag
# actor_index : actor index
#--------------------------------------------------------------------------
def level_up(actor_index)
@level_up_flags[actor_index] = true
$game_system.se_play("Action01")
end
end
#--------------------------------------------------------------------------
# * Play Sound Effect
# se : sound effect to be played
#--------------------------------------------------------------------------
def se_play(se)
if se != nil and se.name != ""
Audio.se_play("Audio/SE/" + se.name, se.volume, se.pitch)
end
end
class Window_BattleStatus
#--------------------------------------------------------------------------
# * Set Level Up Flag
# actor_index : actor index
#--------------------------------------------------------------------------
alias se_level_up level_up
def level_up(actor_index)
se_level_up(actor_index)
sound = RPG::AudioFile.new("LevelUp")
$game_system.se_play(sound)
end
end