![]() |
Routines |
| E | Lesson number (0-63) |
| 63749 | LD D,254 | Pick up the lesson identifier (224-255) from the main timetable |
| 63751 | LD A,(DE) | |
| 63752 | CP 243 | Is it PLAYTIME (243-255)? |
| 63754 | RET C | Return if not |
| 63755 | LD A,(32746) | 32746 holds the shield status |
| 63758 | AND A | Set the zero flag if we're in demo mode |
| 63759 | LD A,(DE) | Restore the lesson identifier to A and return if we're in demo mode |
| 63760 | RET Z | |
| 63761 | CALL 24993 | A=random number |
| 63764 | JP 28211 | Select a "special" PLAYTIME occasionally |