![]() |
Routines |
| Prev: 26722 | Up: Map | Next: 26916 |
|
Used by the routine at handle_inputs.
|
||||
| fire_pressed | 26883 | CALL sound_burbler | Sound burbler | |
| 26886 | DEFB 20,50,10,100,5,200,0 | Player fire sound | ||
|
Sound burbler return point
|
||||
| 26893 | LD A,1 | Mark bullet in flight | ||
| 26895 | LD (_PLAYER_BULLET_IN_FLIGHT),A | |||
| 26898 | LD A,(_PLAYER_XPOS) | Player xpos plus half the width of the player ship is the bullet's xpos | ||
| 26901 | LD IX,_PLAYER_BULLET_XPOS | |||
| 26905 | ADD A,10 | |||
| 26907 | LD (IX+0),A | |||
| 26910 | LD (IX+1),176 | Bullet ypos starts down here | ||
| 26914 | JR draw_player_bullet_0 | Jump to draw bullet | ||
| Prev: 26722 | Up: Map | Next: 26916 |