
*label calculations

*temp quadnum 0
*set quadnum quadrant

*temp sectornum 0
*set sectornum sector

*if (starbase1_quadrant = quadnum) and (starbase1_sector = sectornum)
	*set starbase_name starbase1_name
	*set starbase true
	*return
*elseif (starbase2_quadrant = quadnum) and (starbase2_sector = sectornum)
	*set starbase_name starbase2_name
	*set starbase true
	*return
*elseif (starbase3_quadrant = quadnum) and (starbase3_sector = sectornum)
	*set starbase_name starbase3_name
	*set starbase true
	*return
*elseif (starbase4_quadrant = quadnum) and (starbase4_sector = sectornum)
	*set starbase_name starbase4_name
	*set starbase true
	*return
*elseif (starbase5_quadrant = quadnum) and (starbase5_sector = sectornum)
	*set starbase_name starbase5_name
	*set starbase true
	*return
*elseif (starbase6_quadrant = quadnum) and (starbase6_sector = sectornum)
	*set starbase_name starbase6_name
	*set starbase true
	*return
*elseif (starbase7_quadrant = quadnum) and (starbase7_sector = sectornum)
	*set starbase_name starbase7_name
	*set starbase true
	*return
*elseif (starbase8_quadrant = quadnum) and (starbase8_sector = sectornum)
	*set starbase_name starbase8_name
	*set starbase true
	*return
*elseif (starbase9_quadrant = quadnum) and (starbase9_sector = sectornum)
	*set starbase_name starbase9_name
	*set starbase true
	*return
*elseif (starbase10_quadrant = quadnum) and (starbase10_sector = sectornum)
	*set starbase_name starbase10_name
	*set starbase true
	*return
*elseif (starbase11_quadrant = quadnum) and (starbase11_sector = sectornum)
	*set starbase_name starbase11_name
	*set starbase true
	*return
*else
	*set starbase false
	*return


*label starbase_level

*temp sectornum 0
*set sectornum sector

*if (starbase1_quadrant = quadnum) and (starbase1_sector = sectornum)
	*set starbase_level starbase1_level
	*set starbase true
	*return
*elseif (starbase2_quadrant = quadnum) and (starbase1_sector = sectornum)
	*set starbase_level starbase2_level
	*set starbase true
	*return
*elseif (starbase3_quadrant = quadnum) and (starbase1_sector = sectornum)
	*set starbase_level starbase3_level
	*set starbase true
	*return
*elseif (starbase4_quadrant = quadnum) and (starbase4_sector = sectornum)
	*set starbase_level starbase4_level
	*set starbase true
	*return
*elseif (starbase5_quadrant = quadnum) and (starbase5_sector = sectornum)
	*set starbase_level starbase5_level
	*set starbase true
	*return
*elseif (starbase6_quadrant = quadnum) and (starbase6_sector = sectornum)
	*set starbase_level starbase6_level
	*set starbase true
	*return
*elseif (starbase7_quadrant = quadnum) and (starbase7_sector = sectornum)
	*set starbase_level starbase7_level
	*set starbase true
	*return
*elseif (starbase8_quadrant = quadnum) and (starbase8_sector = sectornum)
	*set starbase_level starbase8_level
	*set starbase true
	*return
*elseif (starbase9_quadrant = quadnum) and (starbase9_sector = sectornum)
	*set starbase_level starbase9_level
	*set starbase true
	*return
*elseif (starbase10_quadrant = quadnum) and (starbase10_sector = sectornum)
	*set starbase_level starbase10_level
	*set starbase true
	*return
*elseif (starbase11_quadrant = quadnum) and (starbase11_sector = sectornum)
	*set starbase_level starbase11_level
	*set starbase true
	*return
*elseif (starbase12_quadrant = quadnum) and (starbase12_sector = sectornum)
	*set starbase_level starbase12_level
	*set starbase true
	*return
*elseif (starbase13_quadrant = quadnum) and (starbase13_sector = sectornum)
	*set starbase_level starbase13_level
	*set starbase true
	*return
*elseif (starbase14_quadrant = quadnum) and (starbase14_sector = sectornum)
	*set starbase_level starbase14_level
	*set starbase true
	*return
*elseif (starbase15_quadrant = quadnum) and (starbase15_sector = sectornum)
	*set starbase_level starbase15_level
	*set starbase true
	*return
*elseif (starbase16_quadrant = quadnum) and (starbase16_sector = sectornum)
	*set starbase_level starbase16_level
	*set starbase true
	*return
*elseif (starbase17_quadrant = quadnum) and (starbase17_sector = sectornum)
	*set starbase_level starbase17_level
	*set starbase true
	*return
*elseif (starbase18_quadrant = quadnum) and (starbase18_sector = sectornum)
	*set starbase_level starbase18_level
	*set starbase true
	*return
*elseif (starbase19_quadrant = quadnum) and (starbase19_sector = sectornum)
	*set starbase_level starbase19_level
	*set starbase true
	*return
*elseif (starbase20_quadrant = quadnum) and (starbase20_sector = sectornum)
	*set starbase_level starbase20_level
	*set starbase true
	*return
*elseif (starbase21_quadrant = quadnum) and (starbase21_sector = sectornum)
	*set starbase_level starbase21_level
	*set starbase true
	*return
*elseif (starbase22_quadrant = quadnum) and (starbase22_sector = sectornum)
	*set starbase_level starbase22_level
	*set starbase true
	*return
*elseif (starbase23_quadrant = quadnum) and (starbase23_sector = sectornum)
	*set starbase_level starbase23_level
	*set starbase true
	*return
*elseif (starbase24_quadrant = quadnum) and (starbase24_sector = sectornum)
	*set starbase_level starbase24_level
	*set starbase true
	*return
*elseif (starbase25_quadrant = quadnum) and (starbase25_sector = sectornum)
	*set starbase_level starbase25_level
	*set starbase true
	*return
*elseif (starbase26_quadrant = quadnum) and (starbase26_sector = sectornum)
	*set starbase_level starbase26_level
	*set starbase true
	*return
*elseif (starbase27_quadrant = quadnum) and (starbase27_sector = sectornum)
	*set starbase_level starbase27_level
	*set starbase true
	*return
*elseif (starbase28_quadrant = quadnum) and (starbase28_sector = sectornum)
	*set starbase_level starbase28_level
	*set starbase true
	*return
*elseif (starbase29_quadrant = quadnum) and (starbase29_sector = sectornum)
	*set starbase_level starbase29_level
	*set starbase true
	*return
*elseif (starbase30_quadrant = quadnum) and (starbase30_sector = sectornum)
	*set starbase_level starbase30_level
	*set starbase true
	*return
*elseif (starbase31_quadrant = quadnum) and (starbase31_sector = sectornum)
	*set starbase_level starbase31_level
	*set starbase true
	*return
*elseif (starbase32_quadrant = quadnum) and (starbase32_sector = sectornum)
	*set starbase_level starbase32_level
	*set starbase true
	*return
*elseif (starbase33_quadrant = quadnum) and (starbase33_sector = sectornum)
	*set starbase_level starbase33_level
	*set starbase true
	*return
*elseif (starbase34_quadrant = quadnum) and (starbase34_sector = sectornum)
	*set starbase_level starbase34_level
	*set starbase true
	*return
*elseif (starbase35_quadrant = quadnum) and (starbase35_sector = sectornum)
	*set starbase_level starbase35_level
	*set starbase true
	*return
*elseif (starbase36_quadrant = quadnum) and (starbase36_sector = sectornum)
	*set starbase_level starbase36_level
	*set starbase true
	*return
*elseif (starbase37_quadrant = quadnum) and (starbase37_sector = sectornum)
	*set starbase_level starbase37_level
	*set starbase true
	*return
*elseif (starbase38_quadrant = quadnum) and (starbase38_sector = sectornum)
	*set starbase_level starbase38_level
	*set starbase true
	*return
*elseif (starbase39_quadrant = quadnum) and (starbase39_sector = sectornum)
	*set starbase_level starbase39_level
	*set starbase true
	*return
*elseif (starbase40_quadrant = quadnum) and (starbase40_sector = sectornum)
	*set starbase_level starbase40_level
	*set starbase true
	*return
*elseif (starbase41_quadrant = quadnum) and (starbase41_sector = sectornum)
	*set starbase_level starbase41_level
	*set starbase true
	*return
*elseif (starbase42_quadrant = quadnum) and (starbase42_sector = sectornum)
	*set starbase_level starbase42_level
	*set starbase true
	*return
*elseif (starbase43_quadrant = quadnum) and (starbase43_sector = sectornum)
	*set starbase_level starbase43_level
	*set starbase true
	*return
*elseif (starbase44_quadrant = quadnum) and (starbase44_sector = sectornum)
	*set starbase_level starbase44_level
	*set starbase true
	*return
*elseif (starbase45_quadrant = quadnum) and (starbase45_sector = sectornum)
	*set starbase_level starbase45_level
	*set starbase true
	*return
*elseif (starbase46_quadrant = quadnum) and (starbase46_sector = sectornum)
	*set starbase_level starbase46_level
	*set starbase true
	*return
*elseif (starbase47_quadrant = quadnum) and (starbase47_sector = sectornum)
	*set starbase_level starbase47_level
	*set starbase true
	*return
*elseif (starbase48_quadrant = quadnum) and (starbase48_sector = sectornum)
	*set starbase_level starbase48_level
	*set starbase true
	*return
*elseif (starbase49_quadrant = quadnum) and (starbase49_sector = sectornum)
	*set starbase_level starbase49_level
	*set starbase true
	*return
*elseif (starbase50_quadrant = quadnum) and (starbase50_sector = sectornum)
	*set starbase_level starbase50_level
	*set starbase true
	*return
*elseif (starbase51_quadrant = quadnum) and (starbase51_sector = sectornum)
	*set starbase_level starbase51_level
	*set starbase true
	*return
*elseif (starbase52_quadrant = quadnum) and (starbase52_sector = sectornum)
	*set starbase_level starbase52_level
	*set starbase true
	*return
*elseif (starbase53_quadrant = quadnum) and (starbase53_sector = sectornum)
	*set starbase_level starbase53_level
	*set starbase true
	*return
*elseif (starbase54_quadrant = quadnum) and (starbase54_sector = sectornum)
	*set starbase_level starbase54_level
	*set starbase true
	*return
*elseif (starbase55_quadrant = quadnum) and (starbase55_sector = sectornum)
	*set starbase_level starbase55_level
	*set starbase true
	*return
*elseif (starbase56_quadrant = quadnum) and (starbase56_sector = sectornum)
	*set starbase_level starbase56_level
	*set starbase true
	*return
*elseif (starbase57_quadrant = quadnum) and (starbase57_sector = sectornum)
	*set starbase_level starbase57_level
	*set starbase true
	*return
*elseif (starbase58_quadrant = quadnum) and (starbase58_sector = sectornum)
	*set starbase_level starbase58_level
	*set starbase true
	*return
*elseif (starbase59_quadrant = quadnum) and (starbase59_sector = sectornum)
	*set starbase_level starbase59_level
	*set starbase true
	*return
*elseif (starbase60_quadrant = quadnum) and (starbase60_sector = sectornum)
	*set starbase_level starbase60_level
	*set starbase true
	*return
*elseif (starbase61_quadrant = quadnum) and (starbase61_sector = sectornum)
	*set starbase_level starbase61_level
	*set starbase true
	*return
*elseif (starbase62_quadrant = quadnum) and (starbase62_sector = sectornum)
	*set starbase_level starbase62_level
	*set starbase true
	*return
*elseif (starbase63_quadrant = quadnum) and (starbase63_sector = sectornum)
	*set starbase_level starbase63_level
	*set starbase true
	*return
*elseif (starbase64_quadrant = quadnum) and (starbase64_sector = sectornum)
	*set starbase_level starbase64_level
	*set starbase true
	*return
*elseif (starbase65_quadrant = quadnum) and (starbase65_sector = sectornum)
	*set starbase_level starbase65_level
	*set starbase true
	*return
*elseif (starbase66_quadrant = quadnum) and (starbase66_sector = sectornum)
	*set starbase_level starbase66_level
	*set starbase true
	*return
*elseif (starbase67_quadrant = quadnum) and (starbase67_sector = sectornum)
	*set starbase_level starbase67_level
	*set starbase true
	*return
*elseif (starbase68_quadrant = quadnum) and (starbase68_sector = sectornum)
	*set starbase_level starbase68_level
	*set starbase true
	*return
*elseif (starbase69_quadrant = quadnum) and (starbase69_sector = sectornum)
	*set starbase_level starbase69_level
	*set starbase true
	*return
*elseif (starbase70_quadrant = quadnum) and (starbase70_sector = sectornum)
	*set starbase_level starbase70_level
	*set starbase true
	*return
*elseif (starbase71_quadrant = quadnum) and (starbase71_sector = sectornum)
	*set starbase_level starbase71_level
	*set starbase true
	*return
*elseif (starbase72_quadrant = quadnum) and (starbase72_sector = sectornum)
	*set starbase_level starbase72_level
	*set starbase true
	*return
*elseif (starbase73_quadrant = quadnum) and (starbase73_sector = sectornum)
	*set starbase_level starbase73_level
	*set starbase true
	*return
*elseif (starbase74_quadrant = quadnum) and (starbase74_sector = sectornum)
	*set starbase_level starbase74_level
	*set starbase true
	*return
*elseif (starbase75_quadrant = quadnum) and (starbase75_sector = sectornum)
	*set starbase_level starbase75_level
	*set starbase true
	*return
*elseif (starbase76_quadrant = quadnum) and (starbase76_sector = sectornum)
	*set starbase_level starbase76_level
	*set starbase true
	*return
*elseif (starbase77_quadrant = quadnum) and (starbase77_sector = sectornum)
	*set starbase_level starbase77_level
	*set starbase true
	*return
*elseif (starbase78_quadrant = quadnum) and (starbase78_sector = sectornum)
	*set starbase_level starbase78_level
	*set starbase true
	*return
*elseif (starbase79_quadrant = quadnum) and (starbase79_sector = sectornum)
	*set starbase_level starbase79_level
	*set starbase true
	*return
*elseif (starbase80_quadrant = quadnum) and (starbase80_sector = sectornum)
	*set starbase_level starbase80_level
	*set starbase true
	*return
*elseif (starbase81_quadrant = quadnum) and (starbase81_sector = sectornum)
	*set starbase_level starbase81_level
	*set starbase true
	*return
*elseif (starbase82_quadrant = quadnum) and (starbase82_sector = sectornum)
	*set starbase_level starbase82_level
	*set starbase true
	*return
*elseif (starbase83_quadrant = quadnum) and (starbase83_sector = sectornum)
	*set starbase_level starbase83_level
	*set starbase true
	*return
*elseif (starbase84_quadrant = quadnum) and (starbase84_sector = sectornum)
	*set starbase_level starbase84_level
	*set starbase true
	*return
*elseif (starbase85_quadrant = quadnum) and (starbase85_sector = sectornum)
	*set starbase_level starbase85_level
	*set starbase true
	*return
*elseif (starbase86_quadrant = quadnum) and (starbase86_sector = sectornum)
	*set starbase_level starbase86_level
	*set starbase true
	*return
*elseif (starbase87_quadrant = quadnum) and (starbase87_sector = sectornum)
	*set starbase_level starbase87_level
	*set starbase true
	*return
*elseif (starbase88_quadrant = quadnum) and (starbase88_sector = sectornum)
	*set starbase_level starbase88_level
	*set starbase true
	*return
*elseif (starbase89_quadrant = quadnum) and (starbase89_sector = sectornum)
	*set starbase_level starbase89_level
	*set starbase true
	*return
*elseif (starbase90_quadrant = quadnum) and (starbase90_sector = sectornum)
	*set starbase_level starbase90_level
	*set starbase true
	*return
*elseif (starbase91_quadrant = quadnum) and (starbase91_sector = sectornum)
	*set starbase_level starbase91_level
	*set starbase true
	*return
*elseif (starbase92_quadrant = quadnum) and (starbase92_sector = sectornum)
	*set starbase_level starbase92_level
	*set starbase true
	*return
*elseif (starbase93_quadrant = quadnum) and (starbase93_sector = sectornum)
	*set starbase_level starbase93_level
	*set starbase true
	*return
*elseif (starbase94_quadrant = quadnum) and (starbase94_sector = sectornum)
	*set starbase_level starbase94_level
	*set starbase true
	*return
*elseif (starbase95_quadrant = quadnum) and (starbase95_sector = sectornum)
	*set starbase_level starbase95_level
	*set starbase true
	*return
*elseif (starbase96_quadrant = quadnum) and (starbase96_sector = sectornum)
	*set starbase_level starbase96_level
	*set starbase true
	*return
*elseif (starbase97_quadrant = quadnum) and (starbase97_sector = sectornum)
	*set starbase_level starbase97_level
	*set starbase true
	*return
*elseif (starbase98_quadrant = quadnum) and (starbase98_sector = sectornum)
	*set starbase_level starbase98_level
	*set starbase true
	*return
*elseif (starbase99_quadrant = quadnum) and (starbase99_sector = sectornum)
	*set starbase_level starbase99_level
	*set starbase true
	*return
*if (starbase101_quadrant = quadnum) and (starbase101_sector = sectornum)
	*set starbase_level starbase101_level
	*set starbase true
	*return
*elseif (starbase102_quadrant = quadnum) and (starbase101_sector = sectornum)
	*set starbase_level starbase102_level
	*set starbase true
	*return
*elseif (starbase103_quadrant = quadnum) and (starbase101_sector = sectornum)
	*set starbase_level starbase103_level
	*set starbase true
	*return
*elseif (starbase104_quadrant = quadnum) and (starbase104_sector = sectornum)
	*set starbase_level starbase104_level
	*set starbase true
	*return
*elseif (starbase105_quadrant = quadnum) and (starbase105_sector = sectornum)
	*set starbase_level starbase105_level
	*set starbase true
	*return
*elseif (starbase106_quadrant = quadnum) and (starbase106_sector = sectornum)
	*set starbase_level starbase106_level
	*set starbase true
	*return
*elseif (starbase107_quadrant = quadnum) and (starbase107_sector = sectornum)
	*set starbase_level starbase107_level
	*set starbase true
	*return
*elseif (starbase108_quadrant = quadnum) and (starbase108_sector = sectornum)
	*set starbase_level starbase108_level
	*set starbase true
	*return
*elseif (starbase109_quadrant = quadnum) and (starbase109_sector = sectornum)
	*set starbase_level starbase109_level
	*set starbase true
	*return
*elseif (starbase110_quadrant = quadnum) and (starbase110_sector = sectornum)
	*set starbase_level starbase110_level
	*set starbase true
	*return
*elseif (starbase120_quadrant = quadnum) and (starbase120_sector = sectornum)
	*set starbase_level starbase120_level
	*set starbase true
	*return
*elseif (starbase121_quadrant = quadnum) and (starbase121_sector = sectornum)
	*set starbase_level starbase121_level
	*set starbase true
	*return
*elseif (starbase122_quadrant = quadnum) and (starbase122_sector = sectornum)
	*set starbase_level starbase122_level
	*set starbase true
	*return
*elseif (starbase123_quadrant = quadnum) and (starbase123_sector = sectornum)
	*set starbase_level starbase123_level
	*set starbase true
	*return
*elseif (starbase124_quadrant = quadnum) and (starbase124_sector = sectornum)
	*set starbase_level starbase124_level
	*set starbase true
	*return
*elseif (starbase125_quadrant = quadnum) and (starbase125_sector = sectornum)
	*set starbase_level starbase125_level
	*set starbase true
	*return
*elseif (starbase126_quadrant = quadnum) and (starbase126_sector = sectornum)
	*set starbase_level starbase126_level
	*set starbase true
	*return
*elseif (starbase127_quadrant = quadnum) and (starbase127_sector = sectornum)
	*set starbase_level starbase127_level
	*set starbase true
	*return
*elseif (starbase128_quadrant = quadnum) and (starbase128_sector = sectornum)
	*set starbase_level starbase128_level
	*set starbase true
	*return
*elseif (starbase129_quadrant = quadnum) and (starbase129_sector = sectornum)
	*set starbase_level starbase129_level
	*set starbase true
	*return
*elseif (starbase130_quadrant = quadnum) and (starbase130_sector = sectornum)
	*set starbase_level starbase130_level
	*set starbase true
	*return
*elseif (starbase131_quadrant = quadnum) and (starbase131_sector = sectornum)
	*set starbase_level starbase131_level
	*set starbase true
	*return
*elseif (starbase132_quadrant = quadnum) and (starbase132_sector = sectornum)
	*set starbase_level starbase132_level
	*set starbase true
	*return
*elseif (starbase133_quadrant = quadnum) and (starbase133_sector = sectornum)
	*set starbase_level starbase133_level
	*set starbase true
	*return
*elseif (starbase134_quadrant = quadnum) and (starbase134_sector = sectornum)
	*set starbase_level starbase134_level
	*set starbase true
	*return
*elseif (starbase135_quadrant = quadnum) and (starbase135_sector = sectornum)
	*set starbase_level starbase135_level
	*set starbase true
	*return
*elseif (starbase136_quadrant = quadnum) and (starbase136_sector = sectornum)
	*set starbase_level starbase136_level
	*set starbase true
	*return
*elseif (starbase137_quadrant = quadnum) and (starbase137_sector = sectornum)
	*set starbase_level starbase137_level
	*set starbase true
	*return
*elseif (starbase138_quadrant = quadnum) and (starbase138_sector = sectornum)
	*set starbase_level starbase138_level
	*set starbase true
	*return
*elseif (starbase139_quadrant = quadnum) and (starbase139_sector = sectornum)
	*set starbase_level starbase139_level
	*set starbase true
	*return
*elseif (starbase140_quadrant = quadnum) and (starbase140_sector = sectornum)
	*set starbase_level starbase140_level
	*set starbase true
	*return
*elseif (starbase141_quadrant = quadnum) and (starbase141_sector = sectornum)
	*set starbase_level starbase141_level
	*set starbase true
	*return
*elseif (starbase142_quadrant = quadnum) and (starbase142_sector = sectornum)
	*set starbase_level starbase142_level
	*set starbase true
	*return
*elseif (starbase143_quadrant = quadnum) and (starbase143_sector = sectornum)
	*set starbase_level starbase143_level
	*set starbase true
	*return
*elseif (starbase144_quadrant = quadnum) and (starbase144_sector = sectornum)
	*set starbase_level starbase144_level
	*set starbase true
	*return
*elseif (starbase145_quadrant = quadnum) and (starbase145_sector = sectornum)
	*set starbase_level starbase145_level
	*set starbase true
	*return
*elseif (starbase146_quadrant = quadnum) and (starbase146_sector = sectornum)
	*set starbase_level starbase146_level
	*set starbase true
	*return
*elseif (starbase147_quadrant = quadnum) and (starbase147_sector = sectornum)
	*set starbase_level starbase147_level
	*set starbase true
	*return
*elseif (starbase148_quadrant = quadnum) and (starbase148_sector = sectornum)
	*set starbase_level starbase148_level
	*set starbase true
	*return
*elseif (starbase149_quadrant = quadnum) and (starbase149_sector = sectornum)
	*set starbase_level starbase149_level
	*set starbase true
	*return
*elseif (starbase150_quadrant = quadnum) and (starbase150_sector = sectornum)
	*set starbase_level starbase150_level
	*set starbase true
	*return
*else
	*set starbase false
	*return

*label starbase_culture

*temp sectornum 0
*set sectornum sector

*if (starbase1_quadrant = quadnum) and (starbase1_sector = sectornum)
	*set starbase_culture starbase1_culture
	*set starbase true
	*return
*elseif (starbase2_quadrant = quadnum) and (starbase1_sector = sectornum)
	*set starbase_culture starbase2_culture
	*set starbase true
	*return
*elseif (starbase3_quadrant = quadnum) and (starbase1_sector = sectornum)
	*set starbase_culture starbase3_culture
	*set starbase true
	*return
*elseif (starbase4_quadrant = quadnum) and (starbase4_sector = sectornum)
	*set starbase_culture starbase4_culture
	*set starbase true
	*return
*elseif (starbase5_quadrant = quadnum) and (starbase5_sector = sectornum)
	*set starbase_culture starbase5_culture
	*set starbase true
	*return
*elseif (starbase6_quadrant = quadnum) and (starbase6_sector = sectornum)
	*set starbase_culture starbase6_culture
	*set starbase true
	*return
*elseif (starbase7_quadrant = quadnum) and (starbase7_sector = sectornum)
	*set starbase_culture starbase7_culture
	*set starbase true
	*return
*elseif (starbase8_quadrant = quadnum) and (starbase8_sector = sectornum)
	*set starbase_culture starbase8_culture
	*set starbase true
	*return
*elseif (starbase9_quadrant = quadnum) and (starbase9_sector = sectornum)
	*set starbase_culture starbase9_culture
	*set starbase true
	*return
*elseif (starbase10_quadrant = quadnum) and (starbase10_sector = sectornum)
	*set starbase_culture starbase10_culture
	*set starbase true
	*return
*elseif (starbase11_quadrant = quadnum) and (starbase11_sector = sectornum)
	*set starbase_culture starbase11_culture
	*set starbase true
	*return
*elseif (starbase12_quadrant = quadnum) and (starbase12_sector = sectornum)
	*set starbase_culture starbase12_culture
	*set starbase true
	*return
*elseif (starbase13_quadrant = quadnum) and (starbase13_sector = sectornum)
	*set starbase_culture starbase13_culture
	*set starbase true
	*return
*elseif (starbase14_quadrant = quadnum) and (starbase14_sector = sectornum)
	*set starbase_culture starbase14_culture
	*set starbase true
	*return
*elseif (starbase15_quadrant = quadnum) and (starbase15_sector = sectornum)
	*set starbase_culture starbase15_culture
	*set starbase true
	*return
*elseif (starbase16_quadrant = quadnum) and (starbase16_sector = sectornum)
	*set starbase_culture starbase16_culture
	*set starbase true
	*return
*elseif (starbase17_quadrant = quadnum) and (starbase17_sector = sectornum)
	*set starbase_culture starbase17_culture
	*set starbase true
	*return
*elseif (starbase18_quadrant = quadnum) and (starbase18_sector = sectornum)
	*set starbase_culture starbase18_culture
	*set starbase true
	*return
*elseif (starbase19_quadrant = quadnum) and (starbase19_sector = sectornum)
	*set starbase_culture starbase19_culture
	*set starbase true
	*return
*elseif (starbase20_quadrant = quadnum) and (starbase20_sector = sectornum)
	*set starbase_culture starbase20_culture
	*set starbase true
	*return
*elseif (starbase21_quadrant = quadnum) and (starbase21_sector = sectornum)
	*set starbase_culture starbase21_culture
	*set starbase true
	*return
*elseif (starbase22_quadrant = quadnum) and (starbase22_sector = sectornum)
	*set starbase_culture starbase22_culture
	*set starbase true
	*return
*elseif (starbase23_quadrant = quadnum) and (starbase23_sector = sectornum)
	*set starbase_culture starbase23_culture
	*set starbase true
	*return
*elseif (starbase24_quadrant = quadnum) and (starbase24_sector = sectornum)
	*set starbase_culture starbase24_culture
	*set starbase true
	*return
*elseif (starbase25_quadrant = quadnum) and (starbase25_sector = sectornum)
	*set starbase_culture starbase25_culture
	*set starbase true
	*return
*elseif (starbase26_quadrant = quadnum) and (starbase26_sector = sectornum)
	*set starbase_culture starbase26_culture
	*set starbase true
	*return
*elseif (starbase27_quadrant = quadnum) and (starbase27_sector = sectornum)
	*set starbase_culture starbase27_culture
	*set starbase true
	*return
*elseif (starbase28_quadrant = quadnum) and (starbase28_sector = sectornum)
	*set starbase_culture starbase28_culture
	*set starbase true
	*return
*elseif (starbase29_quadrant = quadnum) and (starbase29_sector = sectornum)
	*set starbase_culture starbase29_culture
	*set starbase true
	*return
*elseif (starbase30_quadrant = quadnum) and (starbase30_sector = sectornum)
	*set starbase_culture starbase30_culture
	*set starbase true
	*return
*elseif (starbase31_quadrant = quadnum) and (starbase31_sector = sectornum)
	*set starbase_culture starbase31_culture
	*set starbase true
	*return
*elseif (starbase32_quadrant = quadnum) and (starbase32_sector = sectornum)
	*set starbase_culture starbase32_culture
	*set starbase true
	*return
*elseif (starbase33_quadrant = quadnum) and (starbase33_sector = sectornum)
	*set starbase_culture starbase33_culture
	*set starbase true
	*return
*elseif (starbase34_quadrant = quadnum) and (starbase34_sector = sectornum)
	*set starbase_culture starbase34_culture
	*set starbase true
	*return
*elseif (starbase35_quadrant = quadnum) and (starbase35_sector = sectornum)
	*set starbase_culture starbase35_culture
	*set starbase true
	*return
*elseif (starbase36_quadrant = quadnum) and (starbase36_sector = sectornum)
	*set starbase_culture starbase36_culture
	*set starbase true
	*return
*elseif (starbase37_quadrant = quadnum) and (starbase37_sector = sectornum)
	*set starbase_culture starbase37_culture
	*set starbase true
	*return
*elseif (starbase38_quadrant = quadnum) and (starbase38_sector = sectornum)
	*set starbase_culture starbase38_culture
	*set starbase true
	*return
*elseif (starbase39_quadrant = quadnum) and (starbase39_sector = sectornum)
	*set starbase_culture starbase39_culture
	*set starbase true
	*return
*elseif (starbase40_quadrant = quadnum) and (starbase40_sector = sectornum)
	*set starbase_culture starbase40_culture
	*set starbase true
	*return
*elseif (starbase41_quadrant = quadnum) and (starbase41_sector = sectornum)
	*set starbase_culture starbase41_culture
	*set starbase true
	*return
*elseif (starbase42_quadrant = quadnum) and (starbase42_sector = sectornum)
	*set starbase_culture starbase42_culture
	*set starbase true
	*return
*elseif (starbase43_quadrant = quadnum) and (starbase43_sector = sectornum)
	*set starbase_culture starbase43_culture
	*set starbase true
	*return
*elseif (starbase44_quadrant = quadnum) and (starbase44_sector = sectornum)
	*set starbase_culture starbase44_culture
	*set starbase true
	*return
*elseif (starbase45_quadrant = quadnum) and (starbase45_sector = sectornum)
	*set starbase_culture starbase45_culture
	*set starbase true
	*return
*elseif (starbase46_quadrant = quadnum) and (starbase46_sector = sectornum)
	*set starbase_culture starbase46_culture
	*set starbase true
	*return
*elseif (starbase47_quadrant = quadnum) and (starbase47_sector = sectornum)
	*set starbase_culture starbase47_culture
	*set starbase true
	*return
*elseif (starbase48_quadrant = quadnum) and (starbase48_sector = sectornum)
	*set starbase_culture starbase48_culture
	*set starbase true
	*return
*elseif (starbase49_quadrant = quadnum) and (starbase49_sector = sectornum)
	*set starbase_culture starbase49_culture
	*set starbase true
	*return
*elseif (starbase50_quadrant = quadnum) and (starbase50_sector = sectornum)
	*set starbase_culture starbase50_culture
	*set starbase true
	*return
*elseif (starbase51_quadrant = quadnum) and (starbase51_sector = sectornum)
	*set starbase_culture starbase51_culture
	*set starbase true
	*return
*elseif (starbase52_quadrant = quadnum) and (starbase52_sector = sectornum)
	*set starbase_culture starbase52_culture
	*set starbase true
	*return
*elseif (starbase53_quadrant = quadnum) and (starbase53_sector = sectornum)
	*set starbase_culture starbase53_culture
	*set starbase true
	*return
*elseif (starbase54_quadrant = quadnum) and (starbase54_sector = sectornum)
	*set starbase_culture starbase54_culture
	*set starbase true
	*return
*elseif (starbase55_quadrant = quadnum) and (starbase55_sector = sectornum)
	*set starbase_culture starbase55_culture
	*set starbase true
	*return
*elseif (starbase56_quadrant = quadnum) and (starbase56_sector = sectornum)
	*set starbase_culture starbase56_culture
	*set starbase true
	*return
*elseif (starbase57_quadrant = quadnum) and (starbase57_sector = sectornum)
	*set starbase_culture starbase57_culture
	*set starbase true
	*return
*elseif (starbase58_quadrant = quadnum) and (starbase58_sector = sectornum)
	*set starbase_culture starbase58_culture
	*set starbase true
	*return
*elseif (starbase59_quadrant = quadnum) and (starbase59_sector = sectornum)
	*set starbase_culture starbase59_culture
	*set starbase true
	*return
*elseif (starbase60_quadrant = quadnum) and (starbase60_sector = sectornum)
	*set starbase_culture starbase60_culture
	*set starbase true
	*return
*elseif (starbase61_quadrant = quadnum) and (starbase61_sector = sectornum)
	*set starbase_culture starbase61_culture
	*set starbase true
	*return
*elseif (starbase62_quadrant = quadnum) and (starbase62_sector = sectornum)
	*set starbase_culture starbase62_culture
	*set starbase true
	*return
*elseif (starbase63_quadrant = quadnum) and (starbase63_sector = sectornum)
	*set starbase_culture starbase63_culture
	*set starbase true
	*return
*elseif (starbase64_quadrant = quadnum) and (starbase64_sector = sectornum)
	*set starbase_culture starbase64_culture
	*set starbase true
	*return
*elseif (starbase65_quadrant = quadnum) and (starbase65_sector = sectornum)
	*set starbase_culture starbase65_culture
	*set starbase true
	*return
*elseif (starbase66_quadrant = quadnum) and (starbase66_sector = sectornum)
	*set starbase_culture starbase66_culture
	*set starbase true
	*return
*elseif (starbase67_quadrant = quadnum) and (starbase67_sector = sectornum)
	*set starbase_culture starbase67_culture
	*set starbase true
	*return
*elseif (starbase68_quadrant = quadnum) and (starbase68_sector = sectornum)
	*set starbase_culture starbase68_culture
	*set starbase true
	*return
*elseif (starbase69_quadrant = quadnum) and (starbase69_sector = sectornum)
	*set starbase_culture starbase69_culture
	*set starbase true
	*return
*elseif (starbase70_quadrant = quadnum) and (starbase70_sector = sectornum)
	*set starbase_culture starbase70_culture
	*set starbase true
	*return
*elseif (starbase71_quadrant = quadnum) and (starbase71_sector = sectornum)
	*set starbase_culture starbase71_culture
	*set starbase true
	*return
*elseif (starbase72_quadrant = quadnum) and (starbase72_sector = sectornum)
	*set starbase_culture starbase72_culture
	*set starbase true
	*return
*elseif (starbase73_quadrant = quadnum) and (starbase73_sector = sectornum)
	*set starbase_culture starbase73_culture
	*set starbase true
	*return
*elseif (starbase74_quadrant = quadnum) and (starbase74_sector = sectornum)
	*set starbase_culture starbase74_culture
	*set starbase true
	*return
*elseif (starbase75_quadrant = quadnum) and (starbase75_sector = sectornum)
	*set starbase_culture starbase75_culture
	*set starbase true
	*return
*elseif (starbase76_quadrant = quadnum) and (starbase76_sector = sectornum)
	*set starbase_culture starbase76_culture
	*set starbase true
	*return
*elseif (starbase77_quadrant = quadnum) and (starbase77_sector = sectornum)
	*set starbase_culture starbase77_culture
	*set starbase true
	*return
*elseif (starbase78_quadrant = quadnum) and (starbase78_sector = sectornum)
	*set starbase_culture starbase78_culture
	*set starbase true
	*return
*elseif (starbase79_quadrant = quadnum) and (starbase79_sector = sectornum)
	*set starbase_culture starbase79_culture
	*set starbase true
	*return
*elseif (starbase80_quadrant = quadnum) and (starbase80_sector = sectornum)
	*set starbase_culture starbase80_culture
	*set starbase true
	*return
*elseif (starbase81_quadrant = quadnum) and (starbase81_sector = sectornum)
	*set starbase_culture starbase81_culture
	*set starbase true
	*return
*elseif (starbase82_quadrant = quadnum) and (starbase82_sector = sectornum)
	*set starbase_culture starbase82_culture
	*set starbase true
	*return
*elseif (starbase83_quadrant = quadnum) and (starbase83_sector = sectornum)
	*set starbase_culture starbase83_culture
	*set starbase true
	*return
*elseif (starbase84_quadrant = quadnum) and (starbase84_sector = sectornum)
	*set starbase_culture starbase84_culture
	*set starbase true
	*return
*elseif (starbase85_quadrant = quadnum) and (starbase85_sector = sectornum)
	*set starbase_culture starbase85_culture
	*set starbase true
	*return
*elseif (starbase86_quadrant = quadnum) and (starbase86_sector = sectornum)
	*set starbase_culture starbase86_culture
	*set starbase true
	*return
*elseif (starbase87_quadrant = quadnum) and (starbase87_sector = sectornum)
	*set starbase_culture starbase87_culture
	*set starbase true
	*return
*elseif (starbase88_quadrant = quadnum) and (starbase88_sector = sectornum)
	*set starbase_culture starbase88_culture
	*set starbase true
	*return
*elseif (starbase89_quadrant = quadnum) and (starbase89_sector = sectornum)
	*set starbase_culture starbase89_culture
	*set starbase true
	*return
*elseif (starbase90_quadrant = quadnum) and (starbase90_sector = sectornum)
	*set starbase_culture starbase90_culture
	*set starbase true
	*return
*elseif (starbase91_quadrant = quadnum) and (starbase91_sector = sectornum)
	*set starbase_culture starbase91_culture
	*set starbase true
	*return
*elseif (starbase92_quadrant = quadnum) and (starbase92_sector = sectornum)
	*set starbase_culture starbase92_culture
	*set starbase true
	*return
*elseif (starbase93_quadrant = quadnum) and (starbase93_sector = sectornum)
	*set starbase_culture starbase93_culture
	*set starbase true
	*return
*elseif (starbase94_quadrant = quadnum) and (starbase94_sector = sectornum)
	*set starbase_culture starbase94_culture
	*set starbase true
	*return
*elseif (starbase95_quadrant = quadnum) and (starbase95_sector = sectornum)
	*set starbase_culture starbase95_culture
	*set starbase true
	*return
*elseif (starbase96_quadrant = quadnum) and (starbase96_sector = sectornum)
	*set starbase_culture starbase96_culture
	*set starbase true
	*return
*elseif (starbase97_quadrant = quadnum) and (starbase97_sector = sectornum)
	*set starbase_culture starbase97_culture
	*set starbase true
	*return
*elseif (starbase98_quadrant = quadnum) and (starbase98_sector = sectornum)
	*set starbase_culture starbase98_culture
	*set starbase true
	*return
*elseif (starbase99_quadrant = quadnum) and (starbase99_sector = sectornum)
	*set starbase_culture starbase99_culture
	*set starbase true
	*return
*if (starbase101_quadrant = quadnum) and (starbase101_sector = sectornum)
	*set starbase_culture starbase101_culture
	*set starbase true
	*return
*elseif (starbase102_quadrant = quadnum) and (starbase101_sector = sectornum)
	*set starbase_culture starbase102_culture
	*set starbase true
	*return
*elseif (starbase103_quadrant = quadnum) and (starbase101_sector = sectornum)
	*set starbase_culture starbase103_culture
	*set starbase true
	*return
*elseif (starbase104_quadrant = quadnum) and (starbase104_sector = sectornum)
	*set starbase_culture starbase104_culture
	*set starbase true
	*return
*elseif (starbase105_quadrant = quadnum) and (starbase105_sector = sectornum)
	*set starbase_culture starbase105_culture
	*set starbase true
	*return
*elseif (starbase106_quadrant = quadnum) and (starbase106_sector = sectornum)
	*set starbase_culture starbase106_culture
	*set starbase true
	*return
*elseif (starbase107_quadrant = quadnum) and (starbase107_sector = sectornum)
	*set starbase_culture starbase107_culture
	*set starbase true
	*return
*elseif (starbase108_quadrant = quadnum) and (starbase108_sector = sectornum)
	*set starbase_culture starbase108_culture
	*set starbase true
	*return
*elseif (starbase109_quadrant = quadnum) and (starbase109_sector = sectornum)
	*set starbase_culture starbase109_culture
	*set starbase true
	*return
*elseif (starbase110_quadrant = quadnum) and (starbase110_sector = sectornum)
	*set starbase_culture starbase110_culture
	*set starbase true
	*return
*elseif (starbase120_quadrant = quadnum) and (starbase120_sector = sectornum)
	*set starbase_culture starbase120_culture
	*set starbase true
	*return
*elseif (starbase121_quadrant = quadnum) and (starbase121_sector = sectornum)
	*set starbase_culture starbase121_culture
	*set starbase true
	*return
*elseif (starbase122_quadrant = quadnum) and (starbase122_sector = sectornum)
	*set starbase_culture starbase122_culture
	*set starbase true
	*return
*elseif (starbase123_quadrant = quadnum) and (starbase123_sector = sectornum)
	*set starbase_culture starbase123_culture
	*set starbase true
	*return
*elseif (starbase124_quadrant = quadnum) and (starbase124_sector = sectornum)
	*set starbase_culture starbase124_culture
	*set starbase true
	*return
*elseif (starbase125_quadrant = quadnum) and (starbase125_sector = sectornum)
	*set starbase_culture starbase125_culture
	*set starbase true
	*return
*elseif (starbase126_quadrant = quadnum) and (starbase126_sector = sectornum)
	*set starbase_culture starbase126_culture
	*set starbase true
	*return
*elseif (starbase127_quadrant = quadnum) and (starbase127_sector = sectornum)
	*set starbase_culture starbase127_culture
	*set starbase true
	*return
*elseif (starbase128_quadrant = quadnum) and (starbase128_sector = sectornum)
	*set starbase_culture starbase128_culture
	*set starbase true
	*return
*elseif (starbase129_quadrant = quadnum) and (starbase129_sector = sectornum)
	*set starbase_culture starbase129_culture
	*set starbase true
	*return
*elseif (starbase130_quadrant = quadnum) and (starbase130_sector = sectornum)
	*set starbase_culture starbase130_culture
	*set starbase true
	*return
*elseif (starbase131_quadrant = quadnum) and (starbase131_sector = sectornum)
	*set starbase_culture starbase131_culture
	*set starbase true
	*return
*elseif (starbase132_quadrant = quadnum) and (starbase132_sector = sectornum)
	*set starbase_culture starbase132_culture
	*set starbase true
	*return
*elseif (starbase133_quadrant = quadnum) and (starbase133_sector = sectornum)
	*set starbase_culture starbase133_culture
	*set starbase true
	*return
*elseif (starbase134_quadrant = quadnum) and (starbase134_sector = sectornum)
	*set starbase_culture starbase134_culture
	*set starbase true
	*return
*elseif (starbase135_quadrant = quadnum) and (starbase135_sector = sectornum)
	*set starbase_culture starbase135_culture
	*set starbase true
	*return
*elseif (starbase136_quadrant = quadnum) and (starbase136_sector = sectornum)
	*set starbase_culture starbase136_culture
	*set starbase true
	*return
*elseif (starbase137_quadrant = quadnum) and (starbase137_sector = sectornum)
	*set starbase_culture starbase137_culture
	*set starbase true
	*return
*elseif (starbase138_quadrant = quadnum) and (starbase138_sector = sectornum)
	*set starbase_culture starbase138_culture
	*set starbase true
	*return
*elseif (starbase139_quadrant = quadnum) and (starbase139_sector = sectornum)
	*set starbase_culture starbase139_culture
	*set starbase true
	*return
*elseif (starbase140_quadrant = quadnum) and (starbase140_sector = sectornum)
	*set starbase_culture starbase140_culture
	*set starbase true
	*return
*elseif (starbase141_quadrant = quadnum) and (starbase141_sector = sectornum)
	*set starbase_culture starbase141_culture
	*set starbase true
	*return
*elseif (starbase142_quadrant = quadnum) and (starbase142_sector = sectornum)
	*set starbase_culture starbase142_culture
	*set starbase true
	*return
*elseif (starbase143_quadrant = quadnum) and (starbase143_sector = sectornum)
	*set starbase_culture starbase143_culture
	*set starbase true
	*return
*elseif (starbase144_quadrant = quadnum) and (starbase144_sector = sectornum)
	*set starbase_culture starbase144_culture
	*set starbase true
	*return
*elseif (starbase145_quadrant = quadnum) and (starbase145_sector = sectornum)
	*set starbase_culture starbase145_culture
	*set starbase true
	*return
*elseif (starbase146_quadrant = quadnum) and (starbase146_sector = sectornum)
	*set starbase_culture starbase146_culture
	*set starbase true
	*return
*elseif (starbase147_quadrant = quadnum) and (starbase147_sector = sectornum)
	*set starbase_culture starbase147_culture
	*set starbase true
	*return
*elseif (starbase148_quadrant = quadnum) and (starbase148_sector = sectornum)
	*set starbase_culture starbase148_culture
	*set starbase true
	*return
*elseif (starbase149_quadrant = quadnum) and (starbase149_sector = sectornum)
	*set starbase_culture starbase149_culture
	*set starbase true
	*return
*elseif (starbase150_quadrant = quadnum) and (starbase150_sector = sectornum)
	*set starbase_culture starbase150_culture
	*set starbase true
	*return
*else
	*return
