Game status buffer
Prev:
32704
Up:
Map
Next:
32712
32708: Bullet buffer 2
Used by the routines at
25118
,
26075
and
26224
.
Input
Output
32708
DEFB 0
x-coordinate of the leftmost column of the play area on screen the last time the bullet was drawn
32709
DEFB 0
Bullet's screen x-coordinate: x
32710
DEFB 0
Bullet's screen y-coordinate: y (0 if the bullet is not in flight)
The bits in the fourth byte of the bullet buffer have the following significance:
Bit(s)
Description
7
Reset if the bullet is flying leftwards, set otherwise
6
Reset if the bullet is flying perfectly horizontally, set otherwise (in which case bit 4 is also used)
5
Unused
4
Reset if the bullet is flying towards the ground, set if it's flying towards the sky
3
Unused
0-2
Pixel row at which the bullet should be drawn in the screen cell at (x,y)
32711
DEFB 0
Prev:
32704
Up:
Map
Next:
32712