Prev: 29188 Up: Map Next: 29207
29194: Play Object Warble
Used by the routine at UpdateType15.
Does nothing once the ship is exploding (the counter at 36691 is 10 or more). Otherwise it makes a warble that depends on the age of the object at offset 21 of IX, and then carries on at PlayWarble.
Input
IX Address of the object
PlayObjectWarble 29194 LD A,(36691) The ship state.
29197 CP 10 Return if A is 10 or more.
29199 RET NC
29200 LD A,(IX+21) Read offset 21 of IX.
29203 AND %00111111 Keep the bits of A that are set in 63.
29205 RR A Rotate A right through the carry.
Continue on to PlayWarble.
Prev: 29188 Up: Map Next: 29207