![]() |
Routines |
| Prev: BBBB | Up: Map | Next: BBDD |
|
Used by the routine at HandleWaitingOutlaw.
Moves the outlaw in the duel by his speeds. Both his positions are single bytes in this stage.
|
||||||||
| MoveDuelOutlaw | BBCA | LD A,(IX+$02) | Fetch the horizontal position. | |||||
| BBCD | ADD A,(IX+$01) | Add the horizontal speed. | ||||||
| BBD0 | LD (IX+$02),A | Set the new horizontal position. | ||||||
| BBD3 | LD A,(IX+$04) | Fetch the vertical position. | ||||||
| BBD6 | ADD A,(IX+$03) | Add the vertical speed. | ||||||
| BBD9 | LD (IX+$04),A | Set the new vertical position. | ||||||
| BBDC | RET | Return. | ||||||
| Prev: BBBB | Up: Map | Next: BBDD |