def map_gen_to_table(generation: int):
    """This function returns the correct type table for a given generation, as multiple generations will share a type table."""
    if generation == 1:
        return 'gen1'
    elif 2 <= generation < 6:
        return 'gen2'
    else:
        return 'gen6'