![]() |
Routines |
| Prev: $105A | Up: Map | Next: $108A |
| $105B | LDA $D41B | Generate a random value between 0 and 3. | ||
| $105E | AND #$03 | |||
| $1060 | BNE $1069 | Branch unless it's 0. | ||
| $1062 | LDX #$24 | These are the coordinates of the bookcase in the Revision Library just outside the Reading Room. | ||
| $1064 | LDY #$03 | |||
| $1066 | JMP $1083 | Jump forward. | ||
| $1069 | CMP #$01 | Is the random value equal to 1? | ||
| $106B | BNE $1074 | Branch if not. | ||
| $106D | LDX #$5D | These are the coordinates of the far end of the fire escape. | ||
| $106F | LDY #$03 | |||
| $1071 | JMP $1083 | Jump forward. | ||
| $1074 | CMP #$02 | Is the random value equal to 2? | ||
| $1076 | BNE $107F | Branch if not. | ||
| $1078 | LDX #$08 | These are the coordinates of a spot between the big window and the stairs leading up to the staff room. | ||
| $107A | LDY #$11 | |||
| $107C | JMP $1083 | Jump forward. | ||
| $107F | LDX #$5D | These are the coordinates of the far end of the gym. | ||
| $1081 | LDY #$11 | |||
|
This entry point is used by the routine at $2885.
|
||||
| $1083 | STX $A6 | Store the destination coordinates at $A6 in the character's buffer. | ||
| $1085 | STY $A7 | |||
| $1087 | JMP $12C1 | Make the character go to this location. | ||
| Prev: $105A | Up: Map | Next: $108A |