Prev: F641 Up: Map Next: F662
F658: Get Inactive Level Digits
Converts the level of the inactive player into two digits in the same way as Calculate_ActivePlayer_Level, with a level of FF treated as 00.
Output
A Tens digit of the level
C Units digit of the level
Calculate_InactivePlayer_Level F658 LD A,($5EA4) If InactivePlayer_Level is not FF, jump to Calculate_Player_Level.
F65B CP $FF
F65D JR NZ,Calculate_Player_Level
F65F XOR A A=00.
F660 JR Calculate_Player_Level Jump to Calculate_Player_Level.
Prev: F641 Up: Map Next: F662