Routines |
Prev: 30533 | Up: Map | Next: 30643 |
Used by the routine at 30145.
|
||||||||
30583 | PUSH HL | Store HL (address of start of character's stats) | ||||||
30584 | LD A,(HL) | Load character's strength into A... | ||||||
30585 | AND 127 | ...and remove bit 7 (unused) | ||||||
30587 | PUSH HL | Store HL (strength position in character's stats) | ||||||
30588 | LD HL,39201 | Point HL at start of " 99 " segment for strength in character's stats text at 39187 | ||||||
30591 | CALL 34697 | Splice numeric strength data as a string into character's stats text | ||||||
30594 | POP HL | Restore HL (strength position in character's stats) | ||||||
30595 | INC HL | Advance HL to happiness position | ||||||
30596 | LD A,(HL) | Load character's happiness into A... | ||||||
30597 | AND 127 | ...and remove bit 7 (unused) | ||||||
30599 | PUSH HL | Store HL (happiness position in character's stats) | ||||||
30600 | LD HL,39220 | Point HL at start of " 99 " segment for happiness in character's stats text at 39187 | ||||||
30603 | CALL 34697 | Splice numeric happiness data as a string into character's stats text | ||||||
30606 | POP HL | Restore HL (happiness position in character's stats) | ||||||
30607 | INC HL | Advance HL to stamina position | ||||||
30608 | LD A,(HL) | Load character's stamina into A... | ||||||
30609 | AND 127 | ...and remove bit 7 (characters-can't-move flag [Gordon only, see routine at 53731]) | ||||||
30611 | PUSH HL | Store HL (stamina position in character's stats) | ||||||
30612 | LD HL,39237 | Point HL at start of " 99 " segment for stamina in character's stats text at 39187 | ||||||
30615 | CALL 34697 | Splice numeric stamina data as a string into character's stats text | ||||||
30618 | POP HL | Restore HL (stamina position in character's stats) | ||||||
30619 | INC HL | Advance HL to charisma position | ||||||
30620 | LD A,(HL) | Load character's charisma into A... | ||||||
30621 | AND 127 | ...and remove bit 7 (can-help flag) | ||||||
30623 | PUSH HL | Store HL (charisma position in character's stats) | ||||||
30624 | LD HL,39255 | Point HL at start of " 99 " segment for charisma in character's stats text at 39187 | ||||||
30627 | CALL 34697 | Splice numeric charisma data as a string into character's stats text | ||||||
30630 | POP HL | Restore HL (charisma position in character's stats) | ||||||
30631 | INC HL | Advance HL to magic level position | ||||||
30632 | LD A,(HL) | Load character's magic level / attribute value into A... | ||||||
30633 | AND 127 | ...and remove bit 7 (FLASH flag) | ||||||
30635 | LD HL,39275 | Point HL at start of " 99 " segment for magic level in character's stats text at 39187 | ||||||
30638 | CALL 34697 | Splice numeric magic level data as a string into character's stats text | ||||||
30641 | POP HL | Restore HL (address of start of character's stats) | ||||||
30642 | RET | Return |
Prev: 30533 | Up: Map | Next: 30643 |