Prev: 759A Up: Map Next: 7633
7628: Reset UFO Position
Used by the routine at Handler_UFO.
Resets the UFO to a random position and clears the abduction timer.
Input
IX Pointer to UFO sprite data
Reset_UFO_Position 7628 LD IY,$0000 Point IY at 0000.
762C XOR A Write 00 to clear *UFO_Abduction_Timer.
762D LD ($767E),A
7630 JP Randomise_Position_Loop Jump to Randomise_Position_Loop to generate a random valid position.
Prev: 759A Up: Map Next: 7633