Prev: 30106 Up: Map Next: 30259
30248: 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 30248 LD IY,0 Point IY at 0000.
30252 XOR A Write 0 to clear *UFO_Abduction_Timer.
30253 LD (30334),A
30256 JP Randomise_Position_Loop Jump to Randomise_Position_Loop to generate a random valid position.
Prev: 30106 Up: Map Next: 30259