quill | Routines |
Prev: 26390 | Up: Map | Next: 26414 |
|
||||||||
ACTION_MESSAGE | 26396 | LD HL,(27551) | HL = Address of messages table | |||||
26399 | LD D,0 | |||||||
26401 | LD E,A | DE=message number | ||||||
26402 | ADD HL,DE | |||||||
26403 | ADD HL,DE | HL=HL+(2*message number) | ||||||
26404 | LD E,(HL) | E=LSB of message text | ||||||
26405 | INC HL | |||||||
26406 | LD D,(HL) | D=MSB of message text | ||||||
26407 | EX DE,HL | Put address of message text in HL | ||||||
26408 | CALL PRINT_TO_SCREEN_1 | Print message | ||||||
26411 | JP ACTION_CLEAR_0 | Back to processing actions |
Prev: 26390 | Up: Map | Next: 26414 |