# enderKik
if pcs_health < 10:pcs_health = 10
killvar'damage'

if profi = 1:
	profi = 0
	'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_speaker.jpg"></center>'
	'The referee calls you over, it''s time for the announcement...'

	act 'Go to the middle for the announcement':
		if $ARGS[0] = 'win':
			cla
			*clr
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_win.jpg"></center>'
			'The referee raises your arm. Congratulations! You''ve won!'
			KikWinPro += 1
			rikudo += 5
		end

		if $ARGS[0] = 'winKO':
			cla
			*clr
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_win_ko.jpg"></center>'
			'The referee raises your arm. Congratulations! You''ve won by knockout!'

			KikWinPro += 1
			KikWinProKO += 1
			rikudo += 10
		end

		if $ARGS[0] = 'loss':
			cla
			*clr
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_loss.jpg"></center>'
			'The referee raises your opponents arm. You''ve lost.'
			KikLossPro += 1
		end

		if $ARGS[0] = 'lossKO':
			cla
			*clr
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_loss_ko.jpg"></center>'
			'All of a sudden the room starts getting darker and darker...'
			KikLossPro += 1
			KikLossProKO += 1
		end

		if $ARGS[0] = 'draw':
			cla
			*clr
			'The referee raises both of your arms. It''s a draw!'
			KikDrawPro += 1
		end

	! WD: Argument is 'dressing room'
	act 'Leave the ring':gt 'fit', 'dressing room'
	end



elseif amateur = 1:
	amateur = 0

	'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_speaker.jpg"></center>'
	'The referee calls you over, it''s time for the announcement...'

	act 'Goto the middle for the announcement':
		if $ARGS[0] = 'win':
			cla
			*clr
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_win.jpg"></center>'
			'The referee raises your arm. Congratulations! You''ve won!'

			KikWinAm += 1
			amateur = 0
			amatReit += 1
			money += 500 + kikmoney
			rikudo += 5
			'You are awarded a cash prize of <<500 + kikmoney>> <b>₽</b>.'
			gs 'razrKik'
		end

		if $ARGS[0] = 'winKO':
			cla
			*clr
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_win_ko.jpg"></center>'
			'The referee raises your arm. Congratulations! You''ve won by knockout!'

			KikWinAm += 1
			KikWinAmKO += 1
			amatReit += 1
			amateur = 0
			money += 500 + kikmoney
			rikudo += 10
			'You are awarded a cash prize of <<500 + kikmoney>> <b>₽</b>.'
			gs 'razrKik'
		end

		if $ARGS[0] = 'loss':
			cla
			*clr
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_loss.jpg"></center>'
			'The referee raises your opponents arm. You''ve lost.'
			KikLossAm += 1
			if amatReit > 0:amatReit -= 1
		end

		if $ARGS[0] = 'lossKO':
			cla
			*clr
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_loss_ko.jpg"></center>'
			'All of a sudden the room starts getting darker and darker...'
			KikLossAm += 1
			KikLossAmKO += 1
			if amatReit > 0:amatReit -= 1
		end

		if $ARGS[0] = 'draw':
			cla
			*clr
			'The referee raises both of your arms. It''s a draw!'
			KikDrawAm += 1
		end

		! WD: Argument is 'dressing room'
		act 'Leave the ring':gt 'fit', 'dressing room'
	end


elseif sparing = 1:
	sparing = 0

	if $ARGS[0] = 'win':
		cla
		*clr
		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_rival.jpg"></center>'
		'The fight is over and your rival comes over to you and says, "Nice hustle in the ring."'
		'You nod and she turns around and heads to the dressing room.'
	end

	if $ARGS[0] = 'winKO':
		cla
		*clr
		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_win_ko.jpg"></center>'
		'The fight is over. And you can hear some of the people quietly comment that you didn''t have to knock her out...'
	end

	if $ARGS[0] = 'loss':
		cla
		*clr
		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_rival.jpg"></center>'
		'The fight is over and your rival comes over to you and smugly says, "Keep practicing."'
		'You nod and she turns around and heads to the dressing room.'
	end

	if $ARGS[0] = 'lossKO':
		cla
		*clr
		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_loss_ko.jpg"></center>'
		'Before you know it you''re laying on the floor and the room starts getting darker and darker...'
	end

	if $ARGS[0] = 'draw':
		cla
		*clr
		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/kickboxing_rival.jpg"></center>'
		'The fight is over and your rival comes over to you and says, "That was pretty close, good fight."'
		'You nod and she turns around and heads to the dressing room.'
	end

	! WD: Argument is 'dressing room'
	act 'Leave the ring':gt 'fit', 'dressing room'

end


--- enderKik ---------------------------------

