how did you do the enemy ai?
Its very ad-hoc, I just programmed what I needed, without references, a couple of hours later, it worked so that's that xD