Routines |
Prev: C5FC | Up: Map | Next: C63D |
Used by the routine at display_object_info.
|
||||
print_creature_attribute | C612 | LD A,(creature_attribute_message) | load A with spell attribute message number from creature_attribute_message | |
C615 | PUSH AF | preserve AF | ||
C616 | CALL MPRINT | Print creature attribute | ||
C619 | POP AF | restore AF | ||
C61A | INC A | increment spell attribute message number at creature_attribute_message | ||
C61B | LD (creature_attribute_message),A | |||
C61E | LD A,$47 | set ATTR-T to $47 (bright white on black) | ||
C620 | LD ($5C8F),A | |||
C623 | LD A,(object_number) | load object table row number variable into D | ||
C626 | LD D,A | |||
C627 | LD A,(offset_in_object_data) | load offset within object data variable into E | ||
C62A | LD E,A | |||
C62B | INC A | increment byte at offset_in_object_data | ||
C62C | LD (offset_in_object_data),A | |||
C62F | CALL GETCHR | call GETCHR | ||
C632 | ADD A,$30 | add $30 to number returned to get character value | ||
C634 | CALL DH_P | call DH_P to print double height character at coordinates in BC | ||
C637 | LD A,$45 | set ATTR-P to $45 (bright cyan on black) | ||
C639 | LD ($5C8F),A | |||
C63C | RET | return |
Prev: C5FC | Up: Map | Next: C63D |