![]() |
Routines |
| Prev: 27557 | Up: Map | Next: 27600 |
|
Used by the routine at FireWeapon.
Fires a smoke bomb to the right of Robbie, if he is not too close to the right edge of the play area.
|
||||||||||
| FireSmokeBomb_Right | 27591 | CP 192 | Return if Robbie is too close to the right edge. | |||||||
| 27593 | RET NC | |||||||||
| 27594 | ADD A,24 | Add 24 to the X position (so it starts to the right of Robbie). | ||||||||
| 27596 | LD (HL),4 | Write 4 (a smoke bomb moving right) to the state of the weapon. | ||||||||
| 27598 | JR FireWeapon_SmokeColour | Jump to FireWeapon_SmokeColour. | ||||||||
| Prev: 27557 | Up: Map | Next: 27600 |