Prev: AA9B Up: Map Next: AADC
AAA8: Print Current Player ID
Used by the routines at 9D42 and Game_TwoPlayer.
Print_CurrentPlayerID AAA8 CALL PrintString_Loop Call PrintString_Loop.
AAAB DEFB $10,$07 INK: WHITE.
AAAD DEFB $11,$00 PAPER: BLACK.
AAAF DEFB $00
AAB0 DEFB $16,$0A,$0D PRINT AT: 0A, 0D.
AAB3 DEFM "PLAYER" player
AAB9 DEFB $FF Terminator.
Flip the current player ID.
AABA LD A,($9AB8) Toggle *ActivePlayer to switch from 1UP to 2UP/ 2UP to 1UP.
AABD XOR $01
AABF LD ($9AB8),A
AAC2 JR Z,Print_1 Jump to Print_1 if the current player is 1UP.
Print "2" (For Player 2).
AAC4 CALL PrintString_Loop Call PrintString_Loop.
AAC7 DEFB $16,$0A,$14 PRINT AT: 0A, 14.
AACA DEFM "2" 2
AACB DEFB $FF Terminator.
AACC CALL LongPause Call LongPause.
AACF RET Return.
Print "1" (For Player 1).
Print_1 AAD0 CALL PrintString_Loop Call PrintString_Loop.
AAD3 DEFB $16,$0A,$14 PRINT AT: 0A, 14.
AAD6 DEFM "1" 1
AAD7 DEFB $FF Terminator.
AAD8 CALL LongPause Call LongPause.
AADB RET Return.
Prev: AA9B Up: Map Next: AADC