Prev: C9BC Up: Map Next: C9CC
C9C1: Gravity
Used by the routine at move_player_xy.
Gravity takes 2 from dZ every frame. The exception is a player going up or level with jump still held, who loses only 1: holding jump makes a higher, slower jump. Nothing limits the speed of a fall.
apply_gravity C9C1 LD A,(IX+$0B)
C9C4 AND A
C9C5 JP M,gravity_extra
C9C8 BIT 3,C
C9CA JR NZ,move_player_apply
Prev: C9BC Up: Map Next: C9CC