Routines |
Prev: 28143 | Up: Map | Next: 28220 |
Used by the routine at 63749. Three times out of eight, this routine returns with the identifier of a 'special' playtime (243, 244 or 245) in A; the rest of the time it returns with A holding the PLAYTIME identifier from the main timetable.
|
||||||||||
28211 | AND 7 | A=random number between 238 and 245 | ||||||||
28213 | ADD A,238 | |||||||||
28215 | CP 243 | Return if A is 243, 244, or 245 (one of the 'special' playtimes) | ||||||||
28217 | RET NC | |||||||||
28218 | LD A,(DE) | Otherwise return with A holding the PLAYTIME identifier from the main timetable | ||||||||
28219 | RET |
Prev: 28143 | Up: Map | Next: 28220 |