![]() |
Routines |
A | Random number |
DE | Address of main timetable entry (65024-65087) |
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 |