Prev: 64810 Up: Map Next: 64836
64829: Generate a random seed / random number up to B
Used by the routine at 38024.
Input
B Cap value
Output
A Random number
64829 CALL 64810 Set new random seed and load A with a random number
64832 CP B If random seed is greater than or equal to B...
64833 JR NC,64829 ...then loop back to 64829
64835 RET Return
Prev: 64810 Up: Map Next: 64836