enemy script parsing