HUN_tisza_biggest_party = {
	custom_trigger_tooltip = {
		tooltip = HUN_tisza_biggest_party
		
		AND = {
			market_liberal > party_popularity@social_liberal
			market_liberal > party_popularity@authoritarian_democrat
			market_liberal > party_popularity@nationalist
			market_liberal > party_popularity@conservative
			market_liberal > party_popularity@social_democrat
			market_liberal > party_popularity@libertarian_socialist
		}
	}
}

HUN_mszp_biggest_party = {
	custom_trigger_tooltip = {
		tooltip = HUN_mszp_biggest_party
		
		AND = {
			social_democrat > party_popularity@social_liberal
			social_democrat > party_popularity@authoritarian_democrat
			social_democrat > party_popularity@nationalist
			social_democrat > party_popularity@conservative
			social_democrat > party_popularity@market_liberal
			social_democrat > party_popularity@libertarian_socialist
		}
	}
}
HUN_fidesz_biggest_party = {
	custom_trigger_tooltip = {
		tooltip = HUN_fidesz_biggest_party
		
		AND = {
			authoritarian_democrat > party_popularity@social_liberal
			authoritarian_democrat > party_popularity@market_liberal
			authoritarian_democrat > party_popularity@nationalist
			authoritarian_democrat > party_popularity@conservative
			authoritarian_democrat > party_popularity@social_democrat
			authoritarian_democrat > party_popularity@libertarian_socialist
		}
	}
}
HUN_mihazank_biggest_party = {
	custom_trigger_tooltip = {
		tooltip = HUN_mihazank_biggest_party
		NOT = { has_country_flag = hun_nlp }
		AND = {
			nationalist > party_popularity@social_liberal
			nationalist > party_popularity@market_liberal
			nationalist > party_popularity@authoritarian_democrat
			nationalist > party_popularity@conservative
			nationalist > party_popularity@social_democrat
			nationalist > party_popularity@libertarian_socialist
		}
	}
}
HUN_osszefogas_largest_party = {
	custom_trigger_tooltip = {
		tooltip = HUN_osszefogas_largest_party
		AND = {
			set_temp_variable = { HUN_fidesz_support = party_popularity@authoritarian_democrat }
			set_temp_variable = { HUN_osszefogas_support = party_popularity@social_liberal }
			add_to_temp_variable = { HUN_osszefogas_support = party_popularity@market_liberal }
			add_to_temp_variable = { HUN_osszefogas_support = party_popularity@conservative }
			add_to_temp_variable = { HUN_osszefogas_support = party_popularity@social_democrat }
			add_to_temp_variable = { HUN_osszefogas_support = party_popularity@libertarian_socialist }
			check_variable = { HUN_osszefogas_support > HUN_fidesz_support }
		}
	}
}
HUN_fidesz_largest_party = {
	custom_trigger_tooltip = {
		tooltip = HUN_osszefogas_largest_party
		AND = {
			set_temp_variable = { HUN_fidesz_support = party_popularity@authoritarian_democrat }
			set_temp_variable = { HUN_osszefogas_support = party_popularity@social_liberal }
			add_to_temp_variable = { HUN_osszefogas_support = party_popularity@market_liberal }
			add_to_temp_variable = { HUN_osszefogas_support = party_popularity@conservative }
			add_to_temp_variable = { HUN_osszefogas_support = party_popularity@social_democrat }
			add_to_temp_variable = { HUN_osszefogas_support = party_popularity@libertarian_socialist }
			check_variable = { HUN_osszefogas_support < HUN_fidesz_support }
		}
	}
}