Prev: 43424 Up: Map Next: 43454
43435: Knock Player Down
Used by the routine at KnockPlayerBack.
Makes the player fall down the screen at the middle of the screen.
Input
IX Actor record of the player
KnockPlayerDown 43435 LD (IX+0),64 Set the sprite ID of the player to 64 ("Sabreman: Flying Left").
43439 LD (IX+6),0 Clear the X velocity of the player.
43443 LD (IX+7),4 Set the Y velocity of the player to 4 (falling).
43447 LD (IX+3),120 Set the X position of the player to 120 (the middle of the screen).
43451 JP DisplayActor Jump to DisplayActor to display the player.
Prev: 43424 Up: Map Next: 43454