![]() |
Routines |
| Prev: 56612 | Up: Map | Next: 56702 |
Called from routine at 59287. This prints the relevant spell message text (at 28604) for the active spell using the text print routine at 58080.
|
||||
| 56668 | LD A,(60361) | Character number in the current spell message text | ||
| 56671 | LD C,A | |||
| 56672 | LD DE,(60138) | Active spell message text address pointer | ||
| 56676 | LD A,(DE) | Get length of the message text | ||
| 56677 | INC DE | And advance to the first message text character | ||
| 56678 | CP C | Check if we've reached the end of the text to print | ||
| 56679 | JR Z,56702 | If so, skip the text print routine | ||
| 56681 | LD A,C | Retrieve and increment the text counter number... | ||
| 56682 | INC A | |||
| 56683 | LD (60361),A | ...and re-store | ||
| 56686 | LD (60065),DE | Store the text address pointer | ||
| 56690 | LD (60067),A | Number of text characters to print | ||
| 56693 | LD HL,20616 | Set screen display address - middle of scroll, on left | ||
| 56696 | LD (60068),HL | ...and store | ||
| 56699 | CALL 58080 | Print text on scroll | ||
| Prev: 56612 | Up: Map | Next: 56702 |