Skip to navigation


Text: PrintRaceClass

Name: PrintRaceClass [Show more] Type: Subroutine Category: Text Summary: Print the race class
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * MainLoop (Part 5 of 6) calls PrintRaceClass * PrintDriverTable calls PrintRaceClass
.PrintRaceClass LDA raceClass \ Set A to the race class + 7, so that gives us: CLC \ ADC #7 \ * 7 for Novice TAX \ * 8 for Amateur \ * 9 for Professional JSR PrintToken \ Print token X, which will be token 7 ("Novice"), token \ 8 ("Amateur") or token 9 ("Professional") RTS \ Return from the subroutine