#======================= # Visual_equip functions #======================= RPG::Cache.clear @game_party = $game_party @game_party = $game_party2 if $visual_equipment[0] for i in 0...@game_party.actors.sizefor img in $visual_equipment[i+1] bitmap = RPG::Cache.character(@game_party.actors[i].character_name, @game_party.actors[i].character_hue) if img!=true and img!=false add_equip(bitmap,img,i) end end end end

def add_weapon_sprite(id,sprite) @game_party = $game_party @game_party = $game_party2 if $visual_equipment[0] for i in 0...@game_party.actors.sizeif @game_party.actors[i].weapon_id==id $visual_equipment[i+1].push(sprite) end end end

def add_armor_sprite(id,sprite) @game_party = $game_party @game_party = $game_party2 if $visual_equipment[0] for i in 0...@game_party.actors.sizeif @game_party.actors[i].armor1_id==id or @game_party.actors[i].armor2_id==id or @game_party.actors[i].armor3_id==id or @game_party.actors[i].armor4_id==id $visual_equipment[i+1].push(sprite) end end end