HWA_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Hwanguk_textured_emblems.dds
		instance = { scale = { 1 1 } position = { 0.5 0.52 } }
	}
}

FHE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Finno_hwan_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

TBE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Tibetan_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

RME_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Roman_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

MGE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = mongol_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

EPU_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = European_union_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

UGK_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Uyghur_kaganate_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

ISL_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Islamic_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

PEE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Persian_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

HRE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Holy_roman_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

MTP_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Kingdom_of_mutapa_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

BNL_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Benelux_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

INC_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Inca_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

IMP_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Imperial_federation_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

ASE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Asean_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

MAC_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Macedonian_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

UPB_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = United_kingdom_of_portugal_and_brazil_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

FEE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Finno_egyptian_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

BKF_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Balkan_federation_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

CEL_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Celtic_federation_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

NSE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = North_sea_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

FBU_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Franco_british_union_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

GDH_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Golden_horde_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

KIT_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Kitara_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

SAU_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = South_american_union_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

AKS_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Aksum_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

NOE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Nordie_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

FIU_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = finno_ugria_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

SLA_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Slavic_union_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

MAG_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Maghreb_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

ZAP_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Zapadoslavia_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

TUE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Turan_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

CAR_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Carthage_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

LOT_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Lotaringia_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

TIM_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Timurids_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

GOG_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Goguryeo_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

HUE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Hunnic_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

MLY_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Malaysia_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

PAK_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Pakistan_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

SOM_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Somalia_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

AUT_flag = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"

	colored_emblem = {		
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}

	colored_emblem = {		
		texture = "ce_star_08.dds"
		color1 = color1
		color2 = color1
        		instance = { scale = { 0.2 0.2 } position = { 0.5 0.5 }  } # centre
        		instance = { scale = { 0.2 0.2 } position = { 0.5 0.2 }  } # top
        		instance = { scale = { 0.2 0.2 } position = { 0.782 0.5 }  } # right
        		instance = { scale = { 0.2 0.2 } position = { 0.5 0.8 }  } # bottom
       		instance = { scale = { 0.2 0.2 } position = { 0.218 0.5 }  } # left
	}
}

AAN_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Al_andalus_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

INT_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Intermarium_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

HSL_flag = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
		color2 = "red"
	}
    	sub = {
        		parent = "sub_LUB_coa" 
        		instance = { scale = { 0.5 0.5 } offset = { 0.05 0 } }
    	}	
}

CHA_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Chagatai_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

PTG_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Patria_grande_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

SON_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Songhai_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

FRE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Francia_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

SEE_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Serbian_empire_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

CAF_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = Caribbean_federation_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

EAF_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = east_african_federation_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}

WAF_flag = {
	pattern = pattern_solid.tga
	color1 = white
	textured_emblem = {
		texture = West_african_federation_flag.dds
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}