| ← 9C99 | Map | 9CB3 → |
9CA6: Drag the bat's extension down
|
Lowers the bat extension in lockstep with the bat. The counterpart of the extension's upward drag, gated the same way.
|
|||||||
|
|||||||
| drag_attached_down | 9CA6 | LD A,(expand_active) | No extension attached? Nothing to drag. | ||||
| 9CA9 | OR A | ||||||
| 9CAA | RET Z | ||||||
| 9CAB | LD A,(bat_ext_y) | Move the extension down by the step: add B to its Y. | |||||
| 9CAE | ADD A,B | ||||||
| 9CAF | LD (bat_ext_y),A | ||||||
| 9CB2 | RET | ||||||
| ← 9C99 | Map | 9CB3 → |
