![]() |
Routines |
D | y-coordinate of location |
E | x-coordinate of location |
28067 | LD BC,46651 | B=182, C=59 |
28070 | LD A,D | A=y-coordinate of the location |
28071 | CP 14 | The assembly hall stage's y-coordinate is 14 |
28073 | RET NZ | Return to 25554 if the location is not there |
28074 | LD A,E | A=x-coordinate of the location |
28075 | CP 90 | Return to 25554 unless 74<=A<90 (the rough vicinity of the stage) |
28077 | RET NC | |
28078 | CP 74 | |
28080 | RET C | |
28081 | POP BC | Drop the return address from the stack |
28082 | LD A,192 | A=192: region identifier for assembly hall stage (see 25554) |
28084 | RET | Return with the carry flag reset (indicating that the location is not on a staircase) to the caller of 25554 |