Prev: 36763 Up: Map Next: 36859
36793: RefreshRoomInfo
Refresh the viewed room's info: redraw the "Also here" room-mate lists, then handle a hostile presence — the alien in the room hands off to AlienInfoCheck (encounter screen / ATTACK row), the Android (once hostile) to AndroidInfoCheck.
Used by the routines at 35451, 36150 and 45338.
36793 LD HL,65535 forget the cached room-mates and
36796 LD (31250),HL redraw the "Also here" lists
36799 CALL 32536
36802 LD A,(31242) the alien in the viewed room?
36805 LD HL,29567
36808 CP (HL)
36809 JR Z,36830 yes: AlienInfoCheck
36811 CALL 39695 no: restart the encounter animation
36814 LD A,(33704) Android hostile yet?
36817 AND A
36818 RET Z no: done
36819 LD HL,(33701) is the Android in the viewed room
36822 INC HL (Z flag for AndroidInfoCheck)?
36823 LD A,(31242)
36826 CP (HL)
36827 JP 45080
36830 JP 45019
This entry point is used by the routine at 45019.
36833 LD HL,32896 freeze both animation channels
36836 LD (31263),HL ($8080) and switch to view type 4:
36839 LD A,4 the alien-encounter screen
36841 LD (31243),A
This entry point is used by the routine at 45080.
36844 LD A,52 Special cell (13) = " ATTACK "
36846 LD (29643),A
36849 LD HL,18646 and redraw the special row
36852 LD (31257),HL (screen row 14, col 22)
36855 CALL 31634
36858 RET
Prev: 36763 Up: Map Next: 36859