Used by the routines at
25700,
25843 and
32379. The value returned in
A (corresponding to the location in
DE) is as follows:
| ID |
Region |
| 189 |
Top floor, left of left study door in boys' skool |
| 190 |
Middle floor, left of far wall of Science Lab storeroom |
| 191 |
Anywhere on the bottom floor (or in mid-air!) |
| 192 |
Assembly hall stage |
| 193 |
Near middle-floor window in boys' skool |
| 194 |
Top floor, right of left study door in boys' skool |
| 195 |
Middle floor, girls' skool |
| 196 |
Top floor, girls' skool |
Or if the entry point at 25557 is used (for ERIC's location):
| ID |
Region |
| 0 |
None of the places below (ERIC is never allowed here) |
| 1 |
Playground |
| 2 |
Various places in boys' skool outside classrooms |
| 3 |
Assembly hall |
| 4 |
Dining hall |
| 5 |
Revision Library, outside Yellow Room door |
| 6 |
Science Lab |
| 7 |
Blue Room |
| 8 |
Yellow Room |
The carry flag is set upon return to the caller of this routine if the coordinates in
DE correspond to a location on a staircase.