![]() |
Routines |
| Prev: A0D8 | Up: Map | Next: A0E7 |
|
Used by the routine at Game_Initialisation.
Compares HL with the schedule time at IY+06-07.
|
||||||||||||
| CheckCharacterSchedule | A0DB | LD E,(IY+$06) | Read this character's place in the schedule. | |||||||||
| A0DE | LD D,(IY+$07) | |||||||||||
| A0E1 | LD A,H | Read the high byte of the pointer. | ||||||||||
| A0E2 | CP D | See whether the two values match. | ||||||||||
| A0E3 | RET NZ | Return if they differ. | ||||||||||
| A0E4 | LD A,L | Read the low byte of the pointer. | ||||||||||
| A0E5 | CP E | See whether the two values match. | ||||||||||
| A0E6 | RET | Return. | ||||||||||
| Prev: A0D8 | Up: Map | Next: A0E7 |