Prev: 73d6 Up: Map Next: 73f1
73da: Fly Jetman horizontally.
Used by the routines at 739e, 73d1 and 750c.
Input
IX Jetman object.
Output
H New X position.
L New Thrust value.
73da ld h,$00
73dc ld l,(ix+$05) Jetman X speed (will be <= 64)
73df add hl,hl Multiply X speed by 3
73e0 add hl,hl
73e1 add hl,hl
73e2 ld d,(ix+$01) D=Jetman X position
73e5 ld a,($5dc7)
73e8 ld e,a
73e9 bit 6,(ix+$04) Decrease Jetman X position if moving right
73ed jp nz,$74fa
73f0 add hl,de else, increase X position
Prev: 73d6 Up: Map Next: 73f1