![]() |
Routines |
| Prev: 44138 | Up: Map | Next: 44278 |
|
The routine for states 2 and 3 of a menu entry: a revolver firing. It draws the revolver in the state of the entry for twelve frames, and then moves on to the next state.
|
||||
|
Draw the revolver for twelve frames.
|
||||
| HandleMenuRevolverFiring | 44258 | CALL DrawMenuSprite | Draw the revolver. | |
| 44261 | INC (IX+3) | Add one to the counter. | ||
| 44264 | LD A,(IX+3) | Fetch the counter. | ||
| 44267 | CP 12 | Compare it with twelve. | ||
| 44269 | RET NZ | Return if the counter has not reached twelve. | ||
|
Move on to the next state.
|
||||
| 44270 | INC (IX+0) | Move on to the next state. | ||
| 44273 | LD (IX+3),0 | Reset the counter. | ||
| 44277 | RET | Return. | ||
| Prev: 44138 | Up: Map | Next: 44278 |