Routines |
Prev: 25600 | Up: Map | Next: 25636 |
Used by the routine at InitialiseGame.
|
||||
SetRandomNumberSeed | 25620 | LD HL,(23672) | HL=*FRAMES. | |
25623 | LD A,H | H=random number between 121-123. | ||
25624 | AND %00000011 | |||
25626 | JR NZ,SkipNonZero | |||
25628 | INC A | |||
SkipNonZero | 25629 | ADD A,120 | ||
25631 | LD H,A | |||
25632 | LD (30750),HL | Write HL to *RandomNumberSeed. | ||
25635 | RET | Return. |
Prev: 25600 | Up: Map | Next: 25636 |