Prev: 62778 Up: Map Next: 62827
62812: Update index of character whose turn it is to be updated
Used by the routine at 62622.
Output
A Updated index of character whose turn it is to be updated
62812 LD A,(23455) Increment index of character whose turn it is to be updated...
62815 INC A ...
62816 LD (23455),A ...
62819 CP 8 If new character index is not 8...
62821 RET NZ ...then return
62822 XOR A Set new character index to 0, as there are only 8 characters...
62823 LD (23455),A ...
62826 RET Return
Prev: 62778 Up: Map Next: 62827