# FightCrouch
!!rMin -= 1
gs 'fightStat'
stoper = 0
'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cro.jpg"></center>'

if crouch = 1:
	enrand = rand(0, 1)

	if enrand = 0:$text = '<<$nameE>> falls flat to the floor.'

	if enrand = 1:$text = '<<$nameE>> is trying to roll over on their back.'

	if enrand = 2:$text = '<<$nameE>> is trying to counter roll.'

	'<<$nameE>> is on all fours in front of you.'

	act 'Attempt a headlock':
		cls
		endur -= 2
		'You are trying to headlock your opponent. <<$text>>'

		if enrand = 0:
			pointE += 1
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cron.jpg"></center>'
			'Your opponent manages to press themselves to the floor but you''re too fast and manage to grab hold of your opponent.'

			act '...':gt 'fightfw'
		elseif enrand = 1:
			point += 2
			endurE -= 1
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/crob.jpg"></center>'
			'You reverse the opponent''s attempt to roll you over and instead you lock them in.'

			act '...':gt 'fight1'
		end
	end

	act 'Attempt a cradle':
		cls
		endur -= 1
		'You attempt to perform a cradle move. <<$text>>'

		if enrand = 0:
			point += 1
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/crou.jpg"></center>'
			'Your opponent manages to press themselves to the floor and you''re unable to grab hold of your opponent.'

			act '...':gt 'fight2'
		elseif enrand = 1:
			pointE += 1
			endurE -= 1
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cronu.jpg"></center>'
			'You reverse the opponent''s attempt to roll you over and instead you lock them in.'

			act '...':gt 'fight3'
		elseif enrand = 2:
			''
		end
	end
else
	enrand = rand(0, 1)

	if enrand = 0:$text = '<<$nameE>> attempts a move.'
	if enrand = 1:$text = '<<$nameE>> attempts to hold you down.'

	'You''re on all fours in front of your opponent.'

	act 'Drop down':
		cls
		'You press yourself to the floor. <<$text>>'

		if enrand = 0:
			point += 1
			endurE -= 2
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cron.jpg"></center>'
			'The opponent is unable to perform the move.'

			act '...':gt 'fightE'
		elseif enrand = 1:
			pointE += 1
			endurE -= 1
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/crou.jpg"></center>'
			'The opponent successfully performs a move.'

			act '...':gt 'fightE1'
		end
	end

	act 'Bridge':
		cls
		endur -= 1
		'You''re attempting a brigde. <<$text>>'

		if enrand = 0:
			pointE += 2
			endurE -= 2
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/crob.jpg"></center>'
			'The opponent easily reverses you attempt and gains an advantage on you.'

			act '...':gt 'fightE2'
		elseif enrand = 1:
			point += 1
			endurE -= 1
			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/gym/kickboxing/cronu.jpg"></center>'
			'You successfully manage to perform the move on your opponent and grab hold of their back.'

			act '...':gt 'fightE3'
		end
	end
end

--- FightCrouch ---------------------------------

