Prev: A9A0 Up: Map Next: A9BE
A9AB: 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 A9AB LD (IX+$00),$40 Set the sprite ID of the player to 40 ("Sabreman: Flying Left").
A9AF LD (IX+$06),$00 Clear the X velocity of the player.
A9B3 LD (IX+$07),$04 Set the Y velocity of the player to 04 (falling).
A9B7 LD (IX+$03),$78 Set the X position of the player to 78 (the middle of the screen).
A9BB JP DisplayActor Jump to DisplayActor to display the player.
Prev: A9A0 Up: Map Next: A9BE