def make_sprite_sheet
if @battler == nil
@spritesheet = Bitmap.new(1, 1)
return
end
if @battler.is_a?(Game_Actor)
@game_actor = true
weapon = $data_weapons[@battler.weapon_id]
if weapon != nil
begin
RPG::Cache.battler(@battler.battler_name + "_attack_" + weapon.name.sub(" ", "_"), @battler.battler_hue)
@pose_names = ["_ready", "_guard", "_hit", "_miss", "_skill_default",
"_attack_" + weapon.name.sub(" ", "_"), "_lowhp",
"_moveto", "_movefrom", "_dead", "_battle_open", "_item",
"_attack_high", "_attack_weak"] # added these
rescue
@pose_names = ["_ready", "_guard", "_hit", "_miss", "_skill_default",
"_attack_default", "_lowhp", "_moveto", "_movefrom",
"_dead", "_battle_open", "_item",
"_attack_high", "_attack_weak"] # added these here too
end
else
@pose_names = ["_ready", "_guard", "_hit", "_miss", "_skill_default",
"_attack_default", "_lowhp", "_moveto", "_movefrom",
"_dead", "_battle_open", "_item",
"_attack_high", "_attack_weak"] # added these here too
end