Routines |
Prev: DD24 | Up: Map | Next: DD7E |
Called from routine at E797. This prints the relevant spell message text (at 6FBC) for the active spell using the text print routine at E2E0.
|
||||
DD5C | LD A,($EBC9) | Character number in the current spell message text | ||
DD5F | LD C,A | |||
DD60 | LD DE,($EAEA) | Active spell message text address pointer | ||
DD64 | LD A,(DE) | Get length of the message text | ||
DD65 | INC DE | And advance to the first message text character | ||
DD66 | CP C | Check if we've reached the end of the text to print | ||
DD67 | JR Z,$DD7E | If so, skip the text print routine | ||
DD69 | LD A,C | Retrieve and increment the text counter number... | ||
DD6A | INC A | |||
DD6B | LD ($EBC9),A | ...and re-store | ||
DD6E | LD ($EAA1),DE | Store the text address pointer | ||
DD72 | LD ($EAA3),A | Number of text characters to print | ||
DD75 | LD HL,$5088 | Set screen display address - middle of scroll, on left | ||
DD78 | LD ($EAA4),HL | ...and store | ||
DD7B | CALL $E2E0 | Print text on scroll |
Prev: DD24 | Up: Map | Next: DD7E |