Prev: 57780 Up: Map Next: 57989
57970: Start Tumbling Downwards
Used by the routine at Handle_Sabreman_Walking.
Makes Sabreman tumble downwards, as when a bubble pushes him against a ceiling. The sprite becomes 24 the countdown (byte 10) is set to 26 and the y velocity to 32.
The routine ends by drawing Sabreman and returning to the main loop.
Input
IX Object record of Sabreman
Start_Tumbling_Downwards 57970 LD (IX+0),24 Set the sprite id to 24 (tumbling).
57974 LD (IX+10),26 Set the countdown to 26.
57978 LD (IX+9),32 Set the y velocity to 32.
57982 LD (IX+11),0 Clear the contact flags.
57986 JP Update_Object_Sprite Jump to Update_Object_Sprite.
Prev: 57780 Up: Map Next: 57989