|  | Unused | 
| Prev: 55740 | Up: Map | Next: 55768 | 
| 
This routine generates a random seed / random number up to B.
 
 | ||||||||
| 55760 | CALL 55740 | Set new random seed and load A and E with a random number | ||||||
| 55763 | CP B | If random seed is greater than or equal to B... | ||||||
| 55764 | JR NC,55760 | ...then loop back to 55760 | ||||||
| 55766 | LD E,A | Load value into E | ||||||
| 55767 | RET | Return | ||||||
| Prev: 55740 | Up: Map | Next: 55768 |