Prev: 7204 Up: Map Next: 7217
720A: Play Object Warble
Used by the routine at UpdateType15.
Does nothing once the ship is exploding (the counter at 8F53 is 0A or more). Otherwise it makes a warble that depends on the age of the object at offset 15 of IX, and then carries on at PlayWarble.
Input
IX Address of the object
PlayObjectWarble 720A LD A,($8F53) The ship state.
720D CP $0A Return if A is 0A or more.
720F RET NC
7210 LD A,(IX+$15) Read offset 15 of IX.
7213 AND %00111111 Keep the bits of A that are set in 3F.
7215 RR A Rotate A right through the carry.
Continue on to PlayWarble.
Prev: 7204 Up: Map Next: 7217