jetpac | Routines |
Prev: 737d | Up: Map | Next: 73c3 |
Read thrust/direction controls and update position accordingly. Used by the routine at 737d.
|
||||||||
739e | call $72ef | Update actor position direction | ||||||
73a1 | call $7309 | Read Left/Right input | ||||||
73a4 | bit 3,a | Update Jetman direction for THRUST RIGHT | ||||||
73a6 | jp z,$73b8 | |||||||
73a9 | bit 4,a | Jetman thrust left | ||||||
73ab | jp z,$7501 | |||||||
73ae | ld a,($5dcc) | Game timer | ||||||
73b1 | and $01 | If bit-0 is reset, fly horizontal | ||||||
73b3 | jr z,$73da | |||||||
73b5 | jp $752d | Calculate new horizontal speed | ||||||
73b8 | res 6,(ix+$00) | Set Jetman direction to be "right" | ||||||
73bc | bit 6,(ix+$04) | Flip direction if currently moving left | ||||||
73c0 | jp nz,$750c |
Prev: 737d | Up: Map | Next: 73c3 |