Turns out I forgot a wait until <time < 38> block to prevent the enemy from appearing more than once, it should be fixed now