![]() |
Routines |
| Prev: DA0C | Up: Map | Next: DAFE |
|
Used by the routine at Character_Chooser.
|
||||
| DAEF | CALL Random_Number | Generate a random number. | ||
| DAF2 | LD C,A | Put this in C. | ||
| DAF3 | LD A,($5C78) | FRAMES - Frame counter. | ||
| DAF6 | RR C | Remember the top 5 bits. | ||
| DAF8 | RR C | |||
| DAFA | RR C | |||
| DAFC | ADD A,C | Add the frame counter. | ||
| DAFD | RET | |||
| Prev: DA0C | Up: Map | Next: DAFE |