﻿REPLACE:KOR = { # Korea
	flag_definition = {
		coa = KOR
		subject_canton = KOR	
		allow_overlord_canton = yes		
		coa_with_overlord_canton = KOR_subject			
		priority = 20
	}
	flag_definition = {
		coa = KOR_joseon
		allow_overlord_canton = no		
		priority = 21
		trigger = { 
			coa_def_koreajoseon_flag_trigger = yes
		}
	}
	flag_definition = {
		coa = KOR_subject_CHI
		priority = 22
		trigger = { 
			coa_def_chinese_ensign_trigger = yes
		}	
	}
	flag_definition = {
		coa = KOR_communist
		subject_canton = KOR_communist
		priority = 1800
		trigger = { 
			coa_def_koreacommunist_flag_trigger = yes
		}
	}	
	flag_definition = {
		coa = KOR_socialist
		subject_canton = KOR_socialist
		allow_overlord_canton = yes		
		coa_with_overlord_canton = KOR_subject
		priority = 1800
		trigger = { 
			coa_def_koreasocialist_flag_trigger = yes
		}
	}
	flag_definition = {
		coa = KOR_republic
		subject_canton = KOR_republic
		allow_overlord_canton = yes		
		coa_with_overlord_canton = KOR_subject
		priority = 1800
		trigger = { 
			coa_def_korearepublic_flag_trigger = yes
		}
	}
	flag_definition = {
		coa = KOR_empire
		subject_canton = KOR_empire
		allow_overlord_canton = yes		
		coa_with_overlord_canton = KOR_subject
		priority = 1800
		trigger = { 
			coa_def_koreaempire_flag_trigger = yes
		}
	}
	flag_definition = {
		coa = list "anarchy"
		priority = 1801
		trigger = {
			coa_def_anarchy_flag_trigger = yes
		}
	}
}