added boss sprite detection