Prev: 6577 Up: Map Next: 65AB
6587: Setup Player 2 status line during overview mode
Called during overview mode in two-player games to add the Player 2 status line to the display. Resets state_player to PLAYER_1 so the game starts with Player 1, then manually renders Player 2's bridge and status with cyan color scheme.
setup_overview_status_player_2 6587 LD A,($923A) Return if single-player mode.
658A BIT 0,A
658C RET Z
658D LD A,$01 Reset current player to PLAYER_1 for game start.
658F LD ($923D),A
6592 CALL print_bridge Print Player 1's bridge number.
6595 LD A,$10 INK PLAYER_2
6597 RST $10
6598 LD A,$05
659A RST $10
659B LD A,$16 AT 20,...
659D RST $10
659E LD A,$14
65A0 RST $10
65A1 LD DE,$8051
65A4 LD BC,$0009
65A7 CALL print_bridge_player_2_common Print Player 2 status line text
65AA RET
Prev: 6577 Up: Map Next: 65AB