Routines |
Prev: 33808 | Up: Map | Next: 33883 |
Used by the routine at 31842.
|
||||
33811 | LD A,169 | Set last character of "[CHARACTER] CANNOT HELP YOU..." text to 169 ("HERE")... | ||
33813 | LD (46710),A | ... | ||
33816 | LD A,(65529) | If Magic Knight is not in the lift... | ||
33819 | OR A | ... | ||
33820 | JR NZ,33846 | ...then skip ahead to 33846 | ||
33822 | LD A,(23411) | If lift-fixed flag is set... | ||
33825 | AND 1 | ... | ||
33827 | JP NZ,33875 | ...then display "THERE IS NOTHING MORE THAT THOR CAN DO TO HELP HERE" window and exit | ||
33830 | LD A,(23411) | Set lift-fixed flag | ||
33833 | OR 1 | ... | ||
33835 | LD (23411),A | ... | ||
33838 | LD HL,44278 | Display "THOR SMASHED THE LIFT CONTROL BOX..." window and return to game | ||
33841 | LD A,24 | ... | ||
33843 | JP 34768 | ... | ||
33846 | CP 9 | If Magic Knight is not at The Tower... | ||
33848 | JP NZ,34514 | ...then display "THOR CANNOT HELP YOU" window and exit | ||
33851 | LD A,(23411) | If tower-zapped-by-Thor flag is set... | ||
33854 | AND 2 | ... | ||
33856 | JP NZ,33875 | ...then display "THERE IS NOTHING MORE THAT THOR CAN DO TO HELP HERE" window and exit | ||
33859 | LD A,(23411) | Set tower-zapped-by-Thor flag... | ||
33862 | OR 2 | ... | ||
33864 | LD (23411),A | ... | ||
33867 | LD HL,44349 | Display "THE TOWER SHOOK AS THOR SENT A BOLT OF HIS BEST LIGHTNING AT IT..." window and return to game | ||
33870 | LD A,24 | ... | ||
33872 | JP 34768 | ... | ||
This entry point is used by the routines at 33935, 33993 and 34062.
|
||||
33875 | LD HL,44244 | Display "THERE IS NOTHING MORE THAT THOR CAN DO TO HELP HERE" window... | ||
33878 | LD A,24 | ... | ||
33880 | JP 34768 | ...and return to game |
Prev: 33808 | Up: Map | Next: 33883 |