jetpac | Routines |
Prev: 64c2 | Up: Map | Next: 64e8 |
Set the sprite to a random colour based on it's ID, which means colour values will be between $41 and $47.
|
||||||||
64d7 | ld a,($5dcc) | Game timer | ||||||
64da | rrca | |||||||
64db | rrca | |||||||
64dc | and $07 | |||||||
64de | jr nz,$64e1 | Jump if A is now 1-7 | ||||||
64e0 | inc a | |||||||
64e1 | or $40 | Make sure colour value is > $40 | ||||||
64e3 | ld (ix+$03),a | Set the colour to between $41 and $47 | ||||||
64e6 | jr $64a4 | Display the item sprite |
Prev: 64c2 | Up: Map | Next: 64e8 |