![]() |
Routines |
Prev: F8F6 | Up: Map |
|
||||||||||
F905 | LD D,$FE | Pick up the lesson identifier (0xE0-0xFF) from the main timetable | ||||||||
F907 | LD A,(DE) | |||||||||
F908 | CP $F3 | Is it PLAYTIME (0xF3-0xFF)? | ||||||||
F90A | RET C | Return if not | ||||||||
F90B | LD A,($7FEA) | 7FEA holds the game mode indicator | ||||||||
F90E | AND A | Set the zero flag if we're in demo mode | ||||||||
F90F | LD A,(DE) | Restore the lesson identifier to A and return if we're in demo mode | ||||||||
F910 | RET Z | |||||||||
F911 | CALL $61A1 | A=random number | ||||||||
F914 | JP $6E33 | Select a 'special' PLAYTIME occasionally |
Prev: F8F6 | Up: Map |