Prev: 32684 Up: Map Next: 32816
32719: RedrawRoomScene
Rebuilds the whole room scene: resets the action-menu strip and the room item state (ResetActionMenu), redraws the corridor strip, rebuilds the exit and item menus, the info panel (room name, damage, items present, grille state, crew condition) and the special actors, then updates the status panel. Called by everything that changes what the room shows (item transfers, deaths, grille removal, ...).
Used by the routines at 35163, 35578, 35725, 36034, 36101, 36150, 39695 and 44815.
32719 CALL 32684 ResetActionMenu
32722 LD HL,32896 freeze both animation channels
32725 LD (31263),HL ($8080)
32728 LD A,128 and the Jones / alien-body
32730 LD (39753),A animation phases too
32733 LD (39741),A
32736 CALL 31721 point IX at the selected slot
32739 LD A,(31242) sharing the room with the alien?
32742 LD HL,29567
32745 CP (HL)
32746 JR NZ,32753
32748 LD HL,31243 yes: view type 4 —
32751 LD (HL),4 the encounter screen
32753 BIT 6,A viewing a duct position?
32755 JR NZ,32765
32757 CALL 31267 no: draw the room background
32760 CALL 31759 and build the exit list
32763 JR 32768
32765 CALL 32967 yes: the air-duct view
32768 CALL 33500 the crew portrait,
32771 CALL 31796 the room's item list,
32774 CALL 31820 the held-items cache,
32777 CALL 31915 the " use:" menu rows,
32780 CALL 33479 a clear info panel,
32783 CALL 32143 room name + damage meter,
32786 CALL 32280 "Items Present" / grille state,
32789 CALL 32385 the condition line,
32792 CALL 32536 the "Also here" lists,
32795 CALL 31964 hostiles/Jones/fixtures,
32798 CALL 32816 the menu strip + status line
32801 LD A,(31243) encounter screen?
32804 CP 4
32806 RET Z then no map marker
32807 LD A,(31242) in a room (not the ducts):
32810 BIT 6,A place the walking-figure marker
32812 CALL Z,35101 on the deck map
32815 RET
Prev: 32684 Up: Map Next: 32816