Prev: 30145 Up: Map Next: 30583
30533: Insert numeric stats (at HL) of USS Pisces into "examine USS Pisces" window text
Used by the routine at 30145.
Input
HL Pointer to USS Pisces' current stats
30533 PUSH HL Store HL (pointer to start of USS Pisces' current stats)
30534 LD A,(HL) Load life support level into A
30535 PUSH HL Store HL (pointer to USS Pisces' current life support level)
30536 LD HL,39439 Point HL at position in USS Pisces stats text (at 39359) at which to insert life support level...
30539 CALL 34697 ...and splice the value in
30542 POP HL Restore HL (pointer to USS Pisces' current life support level)
30543 INC HL Advance HL to USS Pisces' current star drive fuel level...
30544 LD A,(HL) ...and load value into A
30545 PUSH HL Store HL (pointer to USS Pisces' current star drive fuel level)
30546 LD HL,39462 Point HL at position in USS Pisces stats text (at 39359) at which to insert star drive fuel level...
30549 CALL 34697 ...and splice the value in
30552 POP HL Restore HL (pointer to USS Pisces' current star drive fuel level)
30553 INC HL Advance HL to USS Pisces' current impulse drive level...
30554 LD A,(HL) ...and load value into A
30555 PUSH HL Store HL (pointer to USS Pisces' current impulse drive level)
30556 LD HL,39486 Point HL at position in USS Pisces stats text (at 39359) at which to insert impulse drive level...
30559 CALL 34697 ...and splice the value in
30562 POP HL Restore HL (pointer to USS Pisces' current impulse drive level)
30563 INC HL Advance HL to USS Pisces' current shields level...
30564 LD A,(HL) ...and load value into A
30565 PUSH HL Store HL (pointer to USS Pisces' current shields level)
30566 LD HL,39506 Point HL at position in USS Pisces stats text (at 39359) at which to insert shields level...
30569 CALL 34697 ...and splice the value in
30572 POP HL Restore HL (pointer to USS Pisces' current shields level)
30573 INC HL Advance HL to USS Pisces' current transputer level...
30574 LD A,(HL) ...and load value into A
30575 LD HL,39519 Point HL at position in USS Pisces stats text (at 39359) at which to insert transputer level...
30578 CALL 34697 ...and splice the value in
30581 POP HL Restore HL (pointer to start of USS Pisces' current stats)
30582 RET Return
Prev: 30145 Up: Map Next: 30583