![]() |
Routines |
| Prev: 61030 | Up: Map | Next: 61092 |
|
Used by the routine at Handle_Gargoyle.
Returns either 32 or 224 (that is, 32 or minus 32), which depends on bit 6 of the low byte of FRAMES.
|
||||||||
| Choose_Random_Velocity | 61082 | LD A,(23672) | Fetch the low byte of FRAMES. | |||||
| 61085 | AND %01000000 | Keep only bit 6. | ||||||
| 61087 | OR %00100000 | Set bit 5. | ||||||
| 61089 | SUB 64 | Subtract 64 which gives 32 if bit 6 was set and 224 if it was not. | ||||||
| 61091 | RET | Return. | ||||||
| Prev: 61030 | Up: Map | Next: 61092 |