move = 0; respx = xstart; //Set the 'x' position where the enemy will respawn. respy = ystart; //Set the 'y' position where the enemy will respawn. respobj = object_index; //Sets the object that will appear after respawning. (I recommend using the name of the original object.)