Prev: 6DDD Up: Map Next: 6DFF
6DEB: Initializes the starting bridge based on the value of state_game_mode using starting_bridges for the lookup.
Used by the routines at init_state and overview.
init_starting_bridge 6DEB LD A,($923A)
6DEE SRL A Shift the game mode right discarding the bit corresponding to the number of players and leaving the ones corresponding to the starting bridge.
6DF0 LD HL,$5D3F Point to the beginning of the list
6DF3 LD B,$00 Advance to the element corresponding to the game mode.
6DF5 LD C,A
6DF6 ADD HL,BC
6DF7 LD A,(HL) Get the starting bridge number
6DF8 LD ($5F6A),A
6DFB LD ($5F6B),A
6DFE RET
Prev: 6DDD Up: Map Next: 6DFF