#--------------------------------------------------------------------------
# ● 设置
# troop_id : 敌人 ID
#--------------------------------------------------------------------------
def setup(troop_id)
# 由敌人序列的设置来确定队伍的设置
@enemies = []
troop = $data_troops[troop_id]
#####################################################
for i in 0...troop.members.size
enemy = $data_enemies[troop.members.enemy_id]
if enemy != nil
@enemies.push(Game_Enemy.new(troop_id, i))
end
end
#####################################################
end