right function for the right enemy