Prev: 94A7 Up: Map Next: 95C7
95B8: Get player controlled flag from WIZCON table
Used by the routines at CAST_S and routine06.
get_player_controlled_flag 95B8 LD HL,WIZCON set HL to address of WIZCON table
95BB LD A,(current_player) load current_player variable into A
95BE LD D,$00 add to WIZCON to get address in table
95C0 LD E,A
95C1 ADD HL,DE
95C2 LD A,(HL) copy byte from table into the computer_player_flag
95C3 LD (computer_player_flag),A
95C6 RET return
Prev: 94A7 Up: Map Next: 95C7