| jetpac | Routines | 
| Prev: 65e9 | Up: Map | Next: 6624 | 
| 
 
Used by the routine at 6971.
 
 | 
||||
| 65f9 | ld a,($5d00) | Jetman direction | ||
| 65fc | and $3f | |||
| 65fe | ret z | Return if not one of the 6 directions | ||
| 65ff | cp $03 | |||
| 6601 | ret nc | Return if >= 3 (all movement except up right?) | ||
| 6602 | ld hl,$6033 | HL=default rocket module state | ||
| 6605 | ld de,$5d38 | DE=rocket module object | ||
| 6608 | ld bc,$0008 | |||
| 660b | ld a,(de) | Return if currently in use | ||
| 660c | and a | |||
| 660d | ret nz | |||
| 660e | ld a,($5d35) | |||
| 6611 | cp $06 | |||
| 6613 | ret nc | Return if fuel collected >= 6 | ||
| 6614 | ld a,($5dcc) | Game timer | ||
| 6617 | cpl | |||
| 6618 | and $0f | |||
| 661a | ret nz | Return if A is between 1-15 | ||
| 661b | ldir | |||
| 661d | call $65db | A=column to drop item | ||
| 6620 | ld ($5d39),a | |||
| 6623 | ret | |||
| Prev: 65e9 | Up: Map | Next: 6624 |