Prev: 43675 Up: Map Next: 43740
43688: Print Current Player ID
Used by the routines at Handler_Bust and Game_TwoPlayer.
Print_CurrentPlayerID 43688 CALL PrintString_Loop Call PrintString_Loop.
43691 DEFB 16,7 INK: WHITE.
43693 DEFB 17,0 PAPER: BLACK.
43695 DEFB 0
43696 DEFB 22,10,13 PRINT AT: 10, 13.
43699 DEFM "PLAYER" player
43705 DEFB 255 Terminator.
Flip the current player ID.
43706 LD A,(39608) Toggle *ActivePlayer to switch from 1UP to 2UP/ 2UP to 1UP.
43709 XOR 1
43711 LD (39608),A
43714 JR Z,Print_1 Jump to Print_1 if the current player is 1UP.
Print "2" (For Player 2).
43716 CALL PrintString_Loop Call PrintString_Loop.
43719 DEFB 22,10,20 PRINT AT: 10, 20.
43722 DEFM "2" 2
43723 DEFB 255 Terminator.
43724 CALL LongPause Call LongPause.
43727 RET Return.
Print "1" (For Player 1).
Print_1 43728 CALL PrintString_Loop Call PrintString_Loop.
43731 DEFB 22,10,20 PRINT AT: 10, 20.
43734 DEFM "1" 1
43735 DEFB 255 Terminator.
43736 CALL LongPause Call LongPause.
43739 RET Return.
Prev: 43675 Up: Map Next: 43740