Prev: 33935 Up: Map Next: 34062
33993: Command-character-to-help routine for Elrand
Used by the routine at 31842.
33993 LD A,169 Set last character of "[CHARACTER] CANNOT HELP YOU..." text to 169 ("HERE")...
33995 LD (46710),A ...
33998 LD A,(65529) If Magic Knight is not at The Wall...
34001 CP 29 ...
34003 JP NZ,34514 ...then display "ELRAND CANNOT HELP YOU" window and exit
34006 LD A,170 Set last character of "[CHARACTER] CANNOT HELP YOU..." text to 170 ("YET")...
34008 LD (46710),A ...
34011 LD A,(23411) If wall-broken flag is set...
34014 AND 8 ...
34016 JP NZ,33875 ...then display "THERE IS NOTHING MORE THAT ELRAND CAN DO TO HELP YOU HERE" window and exit
34019 LD A,(23411) If tower-zapped-by-Thor flag is not set...
34022 AND 2 ...
34024 JP Z,34514 ...then display "ELRAND CANNOT HELP YOU" window and exit
34027 LD A,(23411) Set wall-broken flag...
34030 OR 8 ...
34032 LD (23411),A ...
34035 LD HL,53317 Change room data pointer for The Wall from 53289 (original version) to 53317 (Wall broken version)...
34038 LD A,L ...
34039 LD (51971),A ...
34042 LD A,H ...
34043 LD (51972),A ...
34046 LD A,29 Set both lumps of brickwork to be at The Wall...
34048 LD (25539),A ...
34051 LD (25596),A ...
34054 LD HL,44643 Display "THE TRUMPET BLOWS AND THE WALL COMES A-TUMBLING DOWN !!" window...
34057 LD A,24 ...
34059 JP 34768 ...and return to game
Prev: 33935 Up: Map Next: 34062