Routines |
Prev: C5EE | Up: Map | Next: C612 |
Used by the routine at display_object_info.
optional preceding comma as indicated by flag at display_comma_flag.
|
||||||||
print_spell_property | C5FC | PUSH AF | preserve AF | |||||
C5FD | LD A,(display_comma_flag) | skip to print_spell_property_0 if display_comma_flag flag is clear | ||||||
C600 | OR A | |||||||
C601 | JR Z,print_spell_property_0 | |||||||
C603 | LD A,$2C | call DH_P to print a comma | ||||||
C605 | CALL DH_P | |||||||
print_spell_property_0 | C608 | POP AF | restore AF | |||||
C609 | CALL MPRINT | Print current spell property (e.g. undead, flying, etc.) | ||||||
C60C | LD A,$01 | set flag at display_comma_flag so comma is printed next time | ||||||
C60E | LD (display_comma_flag),A | |||||||
C611 | RET | return |
Prev: C5EE | Up: Map | Next: C612 |