# common variables
@coa_width = 768
@coa_height = 512
@canton_scale_cross_x = @[ ( 333 / coa_width ) + 0.001 ]
@canton_scale_cross_y = @[ ( 205 / coa_height ) + 0.001 ]
@canton_scale_sweden_x = @[ ( 255 / coa_width ) + 0.001 ]
@canton_scale_sweden_y = @[ ( 204 / coa_height ) + 0.001 ]
@canton_scale_norway_x = @[ ( 192 / coa_width ) + 0.001 ]
@canton_scale_norway_y = @[ ( 192 / coa_height ) + 0.001 ]
@canton_scale_denmark_x = @[ ( 220 / coa_width ) + 0.001 ]
@canton_scale_denmark_y = @[ ( 220 / coa_height ) + 0.001 ]
@third = @[1/3]

## America gets her own file since she's sphesul ##

@usa_canton_width = 0.5
@usa_canton_height = @[ 1 / 13 * 7 ]

USA = {	# United States of America

	# WB originals
	flag_definition = {
		coa = USA_anarchist
		subject_canton = USA_anarchist
		priority = 1501
		trigger = { 
			coa_def_anarchy_flag_trigger = yes
		}
	}
	
	# WB British subject
	
	flag_definition = {
		coa = USA_subject_GBR
		subject_canton = sub_USA_canton_star
		allow_overlord_canton = no		
		priority = 200
		trigger = {
			coa_def_british_ensign_trigger = yes
		}
	}
	
	flag_definition = {
		coa = USA_monarchy_subject_GBR
		subject_canton = sub_USA_canton_star
		allow_overlord_canton = no		
		priority = 205
		trigger = {
			coa_def_british_ensign_trigger = yes
			coa_def_absolute_monarchy_flag_trigger = yes
		}
	}
	
	flag_definition = {
		coa = USA_communist_subject_GBR
		subject_canton = USA_communist_subject_GBR
		allow_overlord_canton = no		
		priority = 1600
		trigger = {
			coa_def_british_ensign_trigger = yes
			coa_def_communist_flag_trigger = yes
		}
	}
	
	flag_definition = {
		coa = USA_anarchist_subject_GBR
		subject_canton = USA_anarchist_subject_GBR
		allow_overlord_canton = no		
		priority = 1601
		trigger = {
			coa_def_british_ensign_trigger = yes
			coa_def_anarchy_flag_trigger = yes
		}
	}
	
	flag_definition = {
		coa = USA_theocracy_subject_GBR
		subject_canton = sub_USA_canton_star
		allow_overlord_canton = no
		priority = 230
		trigger = { 
			coa_def_british_ensign_trigger = yes
			coa_def_theocracy_flag_trigger = yes
		}
	}
	
	flag_definition = {
		coa = USA_dictatorship_subject_GBR
		subject_canton = sub_USA_canton_star
		allow_overlord_canton = no		
		priority = 230
		trigger = {
			coa_def_british_ensign_trigger = yes
			coa_def_dictatorship_flag_trigger = yes
		}
	}
	
	flag_definition = {
		coa = USA_fascist_subject_GBR
		subject_canton = sub_USA_canton_star
		allow_overlord_canton = no		
		priority = 240
		trigger = {
			coa_def_british_ensign_trigger = yes
			coa_def_fascist_flag_trigger = yes
		}
	}
	
	# WB Anglo sisters subject
	
	flag_definition = {
		coa = USA_subject_CAN
		subject_canton = sub_USA_canton_star
		allow_overlord_canton = no		
		priority = 200
		trigger = {
			OR = {
				coa_def_canadian_ensign_trigger = yes
				coa_def_ontarian_ensign_trigger = yes
			}
		}
	}
	
	flag_definition = {
		coa = USA_subject_AST
		subject_canton = sub_USA_canton_star
		allow_overlord_canton = no		
		priority = 200
		trigger = {
			coa_def_australian_ensign_trigger = yes
		}
	}
	
	flag_definition = {
		coa = USA_subject_NZL
		subject_canton = sub_USA_canton_star
		allow_overlord_canton = no		
		priority = 201
		trigger = {
			OR = {
				coa_def_new_zealander_ensign_trigger = yes
				coa_def_NZL_australia_ensign_trigger = yes
			}
		}
	}

	# Vicky 3 vanilla
	
	flag_definition = {
		coa = USA # 24 stars
		coa_with_overlord_canton = USA
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
	}
	flag_definition = {
		coa = USA_coa
		subject_canton = sub_USA_canton_star
		priority = 10
		
		allow_overlord_canton = yes
		overlord_canton_scale = { 0.337 0.337 }
		trigger = { 
			coa_def_monarchy_flag_trigger = yes
		}
	}	
	flag_definition = {
		coa = USA_dictatorship
		subject_canton = sub_USA_canton_star
		priority = 10
		trigger = { 
			coa_def_dictatorship_flag_trigger = yes
		}
	}
	flag_definition = {
		coa = USA_theocracy
		subject_canton = sub_USA_canton_star
		priority = 10
		trigger = { 
			coa_def_theocracy_flag_trigger = yes
		}
	}
	flag_definition = {
		coa = USA_communist
		subject_canton = USA_communist
		priority = 1500
		trigger = { 
			coa_def_communist_flag_trigger = yes
		}
	}
	flag_definition = {
		coa = USA_fascist
		subject_canton = sub_USA_canton_star
		priority = 1500
		trigger = { 
			coa_def_fascist_flag_trigger = yes
		}
	}
	flag_definition = {
		coa = USA_technocracy
		subject_canton = USA_technocracy
		priority = 1500
		trigger = { 
			scope:actor ?= {
				OR = {
					has_law = law_type:law_presidential_republic
					has_law = law_type:law_parliamentary_republic
				}
				has_law = law_type:law_technocracy
			}
		}
	}
	# 25 to 100 star flag definitions
	flag_definition = {
		coa = USA_25
		coa_with_overlord_canton = USA_25
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 25
				}
			}
		}
	}
	flag_definition = {
		coa = USA_26
		coa_with_overlord_canton = USA_26
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 26
				}
			}
		}
	}
	flag_definition = {
		coa = USA_27
		coa_with_overlord_canton = USA_27
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 27
				}
			}
		}
	}
	flag_definition = {
		coa = USA_28
		coa_with_overlord_canton = USA_28
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 28
				}
			}
		}
	}
	flag_definition = {
		coa = USA_29
		coa_with_overlord_canton = USA_29
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 29
				}
			}
		}
	}
	flag_definition = {
		coa = USA_30
		coa_with_overlord_canton = USA_30
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 30
				}
			}
		}
	}
	flag_definition = {
		coa = USA_31
		coa_with_overlord_canton = USA_31
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 31
				}
			}
		}
	}
	flag_definition = {
		coa = USA_32
		coa_with_overlord_canton = USA_32
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 32
				}
			}
		}
	}
	flag_definition = {
		coa = USA_33
		coa_with_overlord_canton = USA_33
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 33
				}
			}
		}
	}
	flag_definition = {
		coa = USA_34
		coa_with_overlord_canton = USA_34
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 34
				}
			}
		}
	}
	flag_definition = {
		coa = USA_35
		coa_with_overlord_canton = USA_35
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 35
				}
			}
		}
	}
	flag_definition = {
		coa = USA_36
		coa_with_overlord_canton = USA_36
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 36
				}
			}
		}
	}
	flag_definition = {
		coa = USA_37
		coa_with_overlord_canton = USA_37
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 37
				}
			}
		}
	}
	flag_definition = {
		coa = USA_38
		coa_with_overlord_canton = USA_38
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 38
				}
			}
		}
	}
	flag_definition = {
		coa = USA_39
		coa_with_overlord_canton = USA_39
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 39
				}
			}
		}
	}
	flag_definition = {
		coa = USA_40
		coa_with_overlord_canton = USA_40
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 40
				}
			}
		}
	}
	flag_definition = {
		coa = USA_41
		coa_with_overlord_canton = USA_41
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 41
				}
			}
		}
	}
	flag_definition = {
		coa = USA_42
		coa_with_overlord_canton = USA_42
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 42
				}
			}
		}
	}
	flag_definition = {
		coa = USA_43
		coa_with_overlord_canton = USA_43
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 43
				}
			}
		}
	}
	flag_definition = {
		coa = USA_44
		coa_with_overlord_canton = USA_44
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 44
				}
			}
		}
	}
	flag_definition = {
		coa = USA_45
		coa_with_overlord_canton = USA_45
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 45
				}
			}
		}
	}
	flag_definition = {
		coa = USA_46
		coa_with_overlord_canton = USA_46
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 46
				}
			}
		}
	}
	flag_definition = {
		coa = USA_47
		coa_with_overlord_canton = USA_47
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 47
				}
			}
		}
	}
	flag_definition = {
		coa = USA_48
		coa_with_overlord_canton = USA_48
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 48
				}
			}
		}
	}
	flag_definition = {
		coa = USA_49
		coa_with_overlord_canton = USA_49
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 49
				}
			}
		}
	}
	flag_definition = {
		coa = USA_50
		coa_with_overlord_canton = USA_50
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 50
				}
			}
		}
	}
	flag_definition = {
		coa = USA_51
		coa_with_overlord_canton = USA_51
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 51
				}
			}
		}
	}
	flag_definition = {
		coa = USA_52
		coa_with_overlord_canton = USA_52
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 52
				}
			}
		}
	}
	flag_definition = {
		coa = USA_53
		coa_with_overlord_canton = USA_53
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 53
				}
			}
		}
	}
	flag_definition = {
		coa = USA_54
		coa_with_overlord_canton = USA_54
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 54
				}
			}
		}
	}
	flag_definition = {
		coa = USA_55
		coa_with_overlord_canton = USA_55
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 55
				}
			}
		}
	}
	flag_definition = {
		coa = USA_56
		coa_with_overlord_canton = USA_56
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 56
				}
			}
		}
	}
	flag_definition = {
		coa = USA_57
		coa_with_overlord_canton = USA_57
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 57
				}
			}
		}
	}
	flag_definition = {
		coa = USA_58
		coa_with_overlord_canton = USA_58
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 58
				}
			}
		}
	}
	flag_definition = {
		coa = USA_59
		coa_with_overlord_canton = USA_59
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 59
				}
			}
		}
	}
	flag_definition = {
		coa = USA_60
		coa_with_overlord_canton = USA_60
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 60
				}
			}
		}
	}
	flag_definition = {
		coa = USA_61
		coa_with_overlord_canton = USA_61
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 61
				}
			}
		}
	}
	flag_definition = {
		coa = USA_62
		coa_with_overlord_canton = USA_62
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 62
				}
			}
		}
	}
	flag_definition = {
		coa = USA_63
		coa_with_overlord_canton = USA_63
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 63
				}
			}
		}
	}
	flag_definition = {
		coa = USA_64
		coa_with_overlord_canton = USA_64
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 64
				}
			}
		}
	}
	flag_definition = {
		coa = USA_65
		coa_with_overlord_canton = USA_65
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 65
				}
			}
		}
	}
	flag_definition = {
		coa = USA_66
		coa_with_overlord_canton = USA_66
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 66
				}
			}
		}
	}
	flag_definition = {
		coa = USA_67
		coa_with_overlord_canton = USA_67
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 67
				}
			}
		}
	}
	flag_definition = {
		coa = USA_68
		coa_with_overlord_canton = USA_68
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 68
				}
			}
		}
	}
	flag_definition = {
		coa = USA_69
		coa_with_overlord_canton = USA_69
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 69
				}
			}
		}
	}
	flag_definition = {
		coa = USA_70
		coa_with_overlord_canton = USA_70
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 70
				}
			}
		}
	}
	flag_definition = {
		coa = USA_71
		coa_with_overlord_canton = USA_71
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 71
				}
			}
		}
	}
	flag_definition = {
		coa = USA_72
		coa_with_overlord_canton = USA_72
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 72
				}
			}
		}
	}
	flag_definition = {
		coa = USA_73
		coa_with_overlord_canton = USA_73
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 73
				}
			}
		}
	}
	flag_definition = {
		coa = USA_74
		coa_with_overlord_canton = USA_74
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 74
				}
			}
		}
	}
	flag_definition = {
		coa = USA_75
		coa_with_overlord_canton = USA_75
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 75
				}
			}
		}
	}
	flag_definition = {
		coa = USA_76
		coa_with_overlord_canton = USA_76
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 76
				}
			}
		}
	}
	flag_definition = {
		coa = USA_77
		coa_with_overlord_canton = USA_77
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 77
				}
			}
		}
	}
	flag_definition = {
		coa = USA_78
		coa_with_overlord_canton = USA_78
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 78
				}
			}
		}
	}
	flag_definition = {
		coa = USA_79
		coa_with_overlord_canton = USA_79
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 79
				}
			}
		}
	}
	flag_definition = {
		coa = USA_80
		coa_with_overlord_canton = USA_80
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 80
				}
			}
		}
	}
	flag_definition = {
		coa = USA_81
		coa_with_overlord_canton = USA_81
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 81
				}
			}
		}
	}
	flag_definition = {
		coa = USA_82
		coa_with_overlord_canton = USA_82
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 82
				}
			}
		}
	}
	flag_definition = {
		coa = USA_83
		coa_with_overlord_canton = USA_83
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 83
				}
			}
		}
	}
	flag_definition = {
		coa = USA_84
		coa_with_overlord_canton = USA_84
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 84
				}
			}
		}
	}
	flag_definition = {
		coa = USA_85
		coa_with_overlord_canton = USA_85
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 85
				}
			}
		}
	}
	flag_definition = {
		coa = USA_86
		coa_with_overlord_canton = USA_86
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 86
				}
			}
		}
	}
	flag_definition = {
		coa = USA_87
		coa_with_overlord_canton = USA_87
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 87
				}
			}
		}
	}
	flag_definition = {
		coa = USA_88
		coa_with_overlord_canton = USA_88
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 88
				}
			}
		}
	}
	flag_definition = {
		coa = USA_89
		coa_with_overlord_canton = USA_89
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 89
				}
			}
		}
	}
	flag_definition = {
		coa = USA_90
		coa_with_overlord_canton = USA_90
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 90
				}
			}
		}
	}
	flag_definition = {
		coa = USA_91
		coa_with_overlord_canton = USA_91
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 91
				}
			}
		}
	}
	flag_definition = {
		coa = USA_92
		coa_with_overlord_canton = USA_92
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 92
				}
			}
		}
	}
	flag_definition = {
		coa = USA_93
		coa_with_overlord_canton = USA_93
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 93
				}
			}
		}
	}
	flag_definition = {
		coa = USA_94
		coa_with_overlord_canton = USA_94
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 94
				}
			}
		}
	}
	flag_definition = {
		coa = USA_95
		coa_with_overlord_canton = USA_95
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 95
				}
			}
		}
	}
	flag_definition = {
		coa = USA_96
		coa_with_overlord_canton = USA_96
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 96
				}
			}
		}
	}
	flag_definition = {
		coa = USA_97
		coa_with_overlord_canton = USA_97
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 97
				}
			}
		}
	}
	flag_definition = {
		coa = USA_98
		coa_with_overlord_canton = USA_98
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 98
				}
			}
		}
	}
	flag_definition = {
		coa = USA_99
		coa_with_overlord_canton = USA_99
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 99
				}
			}
		}
	}
	flag_definition = {
		coa = USA_100
		coa_with_overlord_canton = USA_100
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 5
		trigger = { 
			c:USA ?= {
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count >= 100
				}
			}
		}
	}
	
	###

	# alt unifier flags - moved
	
	### Brunette alts ###
	
	flag_definition = {
		coa = brunette_USA_anarchist
		subject_canton = brunette_USA_anarchist
		priority = 1502
		trigger = { 
			coa_def_anarchy_flag_trigger = yes
			
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	
	flag_definition = {
		coa = brunette_USA # 24 stars
		coa_with_overlord_canton = brunette_USA
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 2
		trigger = { 
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_coa
		subject_canton = sub_USA_canton_star
		priority = 11
		
		allow_overlord_canton = yes
		overlord_canton_scale = { 0.337 0.337 }
		trigger = { 
			coa_def_monarchy_flag_trigger = yes
			
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}	
	flag_definition = {
		coa = brunette_USA_dictatorship
		subject_canton = sub_USA_canton_star
		priority = 11
		trigger = { 
			coa_def_dictatorship_flag_trigger = yes
			
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_theocracy
		subject_canton = sub_USA_canton_star
		priority = 11
		trigger = { 
			coa_def_theocracy_flag_trigger = yes
			
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_communist
		subject_canton = USA_communist
		priority = 1501
		trigger = { 
			coa_def_communist_flag_trigger = yes
			
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_fascist
		subject_canton = sub_USA_canton_star
		priority = 1501
		trigger = { 
			coa_def_fascist_flag_trigger = yes
			
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_technocracy
		subject_canton = USA_technocracy
		priority = 1501
		trigger = { 
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		
			scope:actor ?= {
				OR = {
					has_law = law_type:law_presidential_republic
					has_law = law_type:law_parliamentary_republic
				}
				has_law = law_type:law_technocracy
			}
		}
	}
	# 25 to 100 star flag definitions
	flag_definition = {
		coa = brunette_USA_25
		coa_with_overlord_canton = brunette_USA_25
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var 
				has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 25
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_26
		coa_with_overlord_canton = brunette_USA_26
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 26
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_27
		coa_with_overlord_canton = brunette_USA_27
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 27
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_28
		coa_with_overlord_canton = brunette_USA_28
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 28
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_29
		coa_with_overlord_canton = brunette_USA_29
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 29
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_30
		coa_with_overlord_canton = brunette_USA_30
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 30
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_31
		coa_with_overlord_canton = brunette_USA_31
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 31
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_32
		coa_with_overlord_canton = brunette_USA_32
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 32
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_33
		coa_with_overlord_canton = brunette_USA_33
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 33
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_34
		coa_with_overlord_canton = brunette_USA_34
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 34
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_35
		coa_with_overlord_canton = brunette_USA_35
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 35
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_36
		coa_with_overlord_canton = brunette_USA_36
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 36
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_37
		coa_with_overlord_canton = brunette_USA_37
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 37
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_38
		coa_with_overlord_canton = brunette_USA_38
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 38
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_39
		coa_with_overlord_canton = brunette_USA_39
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 39
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_40
		coa_with_overlord_canton = brunette_USA_40
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 40
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_41
		coa_with_overlord_canton = brunette_USA_41
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 41
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_42
		coa_with_overlord_canton = brunette_USA_42
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 42
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_43
		coa_with_overlord_canton = brunette_USA_43
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 43
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_44
		coa_with_overlord_canton = brunette_USA_44
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 44
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_45
		coa_with_overlord_canton = brunette_USA_45
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 45
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_46
		coa_with_overlord_canton = brunette_USA_46
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 46
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_47
		coa_with_overlord_canton = brunette_USA_47
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 47
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_48
		coa_with_overlord_canton = brunette_USA_48
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 48
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_49
		coa_with_overlord_canton = brunette_USA_49
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 49
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_50
		coa_with_overlord_canton = brunette_USA_50
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 50
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_51
		coa_with_overlord_canton = brunette_USA_51
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 51
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_52
		coa_with_overlord_canton = brunette_USA_52
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 52
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_53
		coa_with_overlord_canton = brunette_USA_53
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 53
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_54
		coa_with_overlord_canton = brunette_USA_54
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 54
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_55
		coa_with_overlord_canton = brunette_USA_55
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 55
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_56
		coa_with_overlord_canton = brunette_USA_56
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 56
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_57
		coa_with_overlord_canton = brunette_USA_57
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 57
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_58
		coa_with_overlord_canton = brunette_USA_58
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 58
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_59
		coa_with_overlord_canton = brunette_USA_59
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 59
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_60
		coa_with_overlord_canton = brunette_USA_60
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 60
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_61
		coa_with_overlord_canton = brunette_USA_61
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 61
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_62
		coa_with_overlord_canton = brunette_USA_62
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 62
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_63
		coa_with_overlord_canton = brunette_USA_63
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 63
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_64
		coa_with_overlord_canton = brunette_USA_64
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 64
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_65
		coa_with_overlord_canton = brunette_USA_65
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 65
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_66
		coa_with_overlord_canton = brunette_USA_66
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 66
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_67
		coa_with_overlord_canton = brunette_USA_67
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 67
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_68
		coa_with_overlord_canton = brunette_USA_68
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 68
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_69
		coa_with_overlord_canton = brunette_USA_69
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 69
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_70
		coa_with_overlord_canton = brunette_USA_70
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 70
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_71
		coa_with_overlord_canton = brunette_USA_71
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 71
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_72
		coa_with_overlord_canton = brunette_USA_72
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 72
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_73
		coa_with_overlord_canton = brunette_USA_73
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 73
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_74
		coa_with_overlord_canton = brunette_USA_74
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 74
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_75
		coa_with_overlord_canton = brunette_USA_75
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 75
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_76
		coa_with_overlord_canton = brunette_USA_76
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 76
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_77
		coa_with_overlord_canton = brunette_USA_77
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 77
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_78
		coa_with_overlord_canton = brunette_USA_78
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 78
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_79
		coa_with_overlord_canton = brunette_USA_79
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 79
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_80
		coa_with_overlord_canton = brunette_USA_80
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 80
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_81
		coa_with_overlord_canton = brunette_USA_81
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 81
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_82
		coa_with_overlord_canton = brunette_USA_82
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 82
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_83
		coa_with_overlord_canton = brunette_USA_83
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 83
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_84
		coa_with_overlord_canton = brunette_USA_84
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 84
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_85
		coa_with_overlord_canton = brunette_USA_85
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 85
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_86
		coa_with_overlord_canton = brunette_USA_86
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 86
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_87
		coa_with_overlord_canton = brunette_USA_87
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 87
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_88
		coa_with_overlord_canton = brunette_USA_88
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 88
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_89
		coa_with_overlord_canton = brunette_USA_89
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 89
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_90
		coa_with_overlord_canton = brunette_USA_90
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 90
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_91
		coa_with_overlord_canton = brunette_USA_91
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 91
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_92
		coa_with_overlord_canton = brunette_USA_92
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 92
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_93
		coa_with_overlord_canton = brunette_USA_93
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 93
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_94
		coa_with_overlord_canton = brunette_USA_94
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 94
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_95
		coa_with_overlord_canton = brunette_USA_95
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 95
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_96
		coa_with_overlord_canton = brunette_USA_96
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 96
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_97
		coa_with_overlord_canton = brunette_USA_97
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 97
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_98
		coa_with_overlord_canton = brunette_USA_98
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 98
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_99
		coa_with_overlord_canton = brunette_USA_99
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count = 99
				}
			}
		}
	}
	flag_definition = {
		coa = brunette_USA_100
		coa_with_overlord_canton = brunette_USA_100
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		priority = 6
		trigger = { 
			c:USA ?= {     has_variable = WB_USA_brunette_alt_var
				any_scope_state = {
					state_region = { NOT = { has_variable = usa_state_flag_block } }
					is_incorporated = yes
					count >= 100
				}
			}
		}
	}
	
	
	## Technocracy portraits ##
	
	flag_definition = {
		coa = USA_coa_tech
		subject_canton = sub_USA_canton_star
		priority = 1501
		trigger = { 
			scope:actor ?= {
				AND = {
					has_law = law_type:law_monarchy
					has_law = law_type:law_technocracy
				}
				NOT = { has_law = law_type:law_anarchy }
			}
		}
	}
	flag_definition = {
		coa = USA_communist_tech
		subject_canton = USA_communist_tech
		priority = 1501
		trigger = {
			scope:actor ?= {
				AND = {
					has_law = law_type:law_council_republic
					has_law = law_type:law_technocracy
				}
				NOT = { has_law = law_type:law_anarchy }
			}
		}
	}
	
	flag_definition = {
		coa = brunette_USA_coa_tech
		subject_canton = sub_USA_canton_star
		priority = 1502
		trigger = { 
			scope:actor ?= {
				has_law = law_type:law_monarchy
				has_law = law_type:law_technocracy
				NOT = { has_law = law_type:law_anarchy }
				
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}	
	flag_definition = {
		coa = brunette_USA_communist_tech
		subject_canton = USA_communist_tech
		priority = 1502
		trigger = { 
			scope:actor ?= {
				has_law = law_type:law_council_republic
				has_law = law_type:law_technocracy
				NOT = { has_law = law_type:law_anarchy }
				
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	
	# Subject flags
	
	flag_definition = {
		coa = USA_subject_flag
		coa_with_overlord_canton = USA_subject_flag
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		
		priority = 10
		
		trigger = {
			coa_def_republic_flag_trigger = yes
			coa_def_independent_trigger = no
		}
	}
	
	flag_definition = {
		coa = brunette_USA_subject_flag
		coa_with_overlord_canton = brunette_USA_subject_flag
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		
		priority = 11
		
		trigger = {
			coa_def_republic_flag_trigger = yes
			coa_def_independent_trigger = no
			
			scope:actor ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	
#### USA unifier flags ####
	
	## Vanilla's ##
	
	flag_definition = {
		coa = USA_state_of_michigan
		subject_canton = sub_USA_canton_star

		priority = 6
		trigger = {
			exists = c:USA
			c:USA ?= {
				was_formed_from = UOM
			}
		}
	}
	
	flag_definition = {
		coa = USA_state_of_california
		subject_canton = sub_USA_canton_star

		priority = 6
		trigger = {
			c:USA ?= {
				was_formed_from = CAL
			}
		}
	}
	
	### WB originals ###
	
	flag_definition = {
		coa = USA_state_of_michigan_brunette
		subject_canton = sub_USA_canton_star

		priority = 7
		trigger = {
			exists = c:USA
			c:USA ?= {
				was_formed_from = UOM
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	
	flag_definition = {
		coa = USA_state_of_california_brunette
		subject_canton = sub_USA_canton_star

		priority = 7
		trigger = {
			c:USA ?= {
				was_formed_from = CAL
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	
	## Texas USA
	
	flag_definition = {
		coa = USA_TEX
		coa_with_overlord_canton = USA_TEX
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		
		priority = 100
		
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			}
		}
	}
	
	# fallback
	flag_definition = {
		coa = USA_TEX
		coa_with_overlord_canton = USA_TEX
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		
		priority = 99
		
		trigger = {
			c:USA ?= {
				was_formed_from = TEX
			}
		}
	}
	
	flag_definition = {
		coa = USA_TEX_subject_flag
		coa_with_overlord_canton = USA_TEX_subject_flag
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		
		priority = 111
		
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			}
		
			coa_def_republic_flag_trigger = yes
			coa_def_independent_trigger = no
		}
	}
	
	flag_definition = {
		coa = USA_TEX_coa
		subject_canton = USA_TEX_coa
		priority = 110
		
		allow_overlord_canton = yes
		overlord_canton_scale = { 0.337 0.337 }
		trigger = { 
			coa_def_monarchy_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			}
		}
	}	
	flag_definition = {
		coa = USA_TEX_theocracy
		subject_canton = USA_TEX_theocracy
		priority = 110
		trigger = { 
			coa_def_theocracy_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			}
		}
	}
	flag_definition = {
		coa = USA_TEX_dictatorship
		subject_canton = USA_TEX_dictatorship
		priority = 110
		trigger = { 
			coa_def_dictatorship_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			}
		}
	}
	flag_definition = {
		coa = USA_TEX_fascist
		subject_canton = USA_TEX_fascist
		priority = 1600
		trigger = { 
			coa_def_fascist_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			}
		}
	}
	flag_definition = {
		coa = USA_TEX_communist
		subject_canton = USA_TEX_communist
		priority = 1600
		trigger = { 
			coa_def_communist_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			}
		}
	}
	flag_definition = {
		coa = TEX_anarchist
		subject_canton = TEX_anarchist
		priority = 1601
		trigger = { 
			coa_def_anarchy_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			}
		}
	}
	flag_definition = {
		coa = USA_TEX_technocracy
		subject_canton = USA_TEX_technocracy
		priority = 1600
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			
				OR = {
					has_law = law_type:law_presidential_republic
					has_law = law_type:law_parliamentary_republic
				}
				has_law = law_type:law_technocracy
			}
		}
	}
	flag_definition = {
		coa = USA_TEX_coa
		subject_canton = USA_TEX_coa
		priority = 1601
		trigger = { 
			scope:actor ?= {
				has_variable = WB_is_Texas_var
				
				AND = {
					has_law = law_type:law_monarchy
					has_law = law_type:law_technocracy
				}
				NOT = { has_law = law_type:law_anarchy }
			}
		}
	}
	flag_definition = {
		coa = USA_TEX_communist
		subject_canton = USA_TEX_communist
		priority = 1601
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Texas_var
			
				AND = {
					has_law = law_type:law_council_republic
					has_law = law_type:law_technocracy
				}
				NOT = { has_law = law_type:law_anarchy }
			}
		}
	}
	
	## Oregon USA
	
	flag_definition = {
		coa = USA_ORG
		coa_with_overlord_canton = USA_ORG
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		
		priority = 100
		
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			}
		}
	}
	
	flag_definition = {
		coa = USA_ORG_subject_flag
		coa_with_overlord_canton = USA_ORG_subject_flag
		overlord_canton_scale = { @usa_canton_width @usa_canton_height }
		allow_overlord_canton = yes
		subject_canton = sub_USA_canton_star
		
		priority = 111
		
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			}
		
			coa_def_republic_flag_trigger = yes
			coa_def_independent_trigger = no
		}
	}
	
	flag_definition = {
		coa = USA_ORG_coa
		subject_canton = USA_ORG_coa
		priority = 110
		
		allow_overlord_canton = yes
		overlord_canton_scale = { 0.337 0.337 }
		trigger = { 
			coa_def_monarchy_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			}
		}
	}	
	flag_definition = {
		coa = USA_ORG_theocracy
		subject_canton = USA_ORG_theocracy
		priority = 110
		trigger = { 
			coa_def_theocracy_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			}
		}
	}
	flag_definition = {
		coa = USA_ORG_dictatorship
		subject_canton = USA_ORG_dictatorship
		priority = 110
		trigger = { 
			coa_def_dictatorship_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			}
		}
	}
	flag_definition = {
		coa = USA_ORG_fascist
		subject_canton = USA_ORG_fascist
		priority = 1600
		trigger = { 
			coa_def_fascist_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			}
		}
	}
	flag_definition = {
		coa = USA_ORG_communist
		subject_canton = USA_ORG_communist
		priority = 1600
		trigger = { 
			coa_def_communist_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			}
		}
	}
	flag_definition = {
		coa = ORG_anarchist
		subject_canton = ORG_anarchist
		priority = 1601
		trigger = { 
			coa_def_anarchy_flag_trigger = yes
			
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			}
		}
	}
	flag_definition = {
		coa = USA_ORG_technocracy
		subject_canton = USA_ORG_technocracy
		priority = 1600
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			
				OR = {
					has_law = law_type:law_presidential_republic
					has_law = law_type:law_parliamentary_republic
				}
				has_law = law_type:law_technocracy
			}
		}
	}
	flag_definition = {
		coa = USA_ORG_coa
		subject_canton = USA_ORG_coa
		priority = 1601
		trigger = { 
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
				
				AND = {
					has_law = law_type:law_monarchy
					has_law = law_type:law_technocracy
				}
				NOT = { has_law = law_type:law_anarchy }
			}
		}
	}
	flag_definition = {
		coa = USA_ORG_communist
		subject_canton = USA_ORG_communist
		priority = 1601
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Cascadia_var
			
				AND = {
					has_law = law_type:law_council_republic
					has_law = law_type:law_technocracy
				}
				NOT = { has_law = law_type:law_anarchy }
			}
		}
	}
	
	
	## CSA USA
	flag_definition = {
		coa = USA_CSA
		subject_canton = sub_USA_canton_star

		priority = 6
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_CSA_var
			}
		}
	}
	
	flag_definition = {
		coa = USA_CSA_brunette
		subject_canton = sub_USA_canton_star

		priority = 7
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_CSA_var
			}
			
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	
	## FSA USA
	
	## New England USA
	flag_definition = {
		coa = USA_NEN
		subject_canton = sub_USA_canton_star

		priority = 6
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_New_England_var
			}
		}
	}
	
	flag_definition = {
		coa = USA_NEN_brunette
		subject_canton = sub_USA_canton_star

		priority = 7
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_New_England_var
			}
			
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
	
	## Deseret USA
	flag_definition = {
		coa = USA_DES
		subject_canton = sub_USA_canton_star

		priority = 6
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Deseret_var
			}
		}
	}
	
	flag_definition = {
		coa = USA_DES_brunette
		subject_canton = sub_USA_canton_star

		priority = 7
		trigger = {
			scope:actor ?= {
				has_variable = WB_is_Deseret_var
			}
			
			c:USA ?= {
				has_variable = WB_USA_brunette_alt_var
			}
		}
	}
}