:: HG Workaround
 
<<if ($HeadGirl == 0)>>
	<<for $i to 0; $i < $slaves.length; $i++>>
	<<if ($slaves[$i].assignment is "be your Head Girl")>>
		<<set $slaves[$i].assignment to "rest">>
		<<set $slaves[$i].assignmentVisible to 1>>
		<<break>>
	<</if>>
	<</for>>
	<<if $personalAttention is "HG">>
	<<if $PC.career == "escort">>
	<<set $personalAttention to "whoring">>
	<<elseif $PC.career == "servant">>
	<<set $personalAttention to "upkeep">>
	<<else>>
	<<set $personalAttention to "business">>
	<</if>>
	<</if>>
<<else>>
	<<for $i to 0; $i < $slaves.length; $i++>>
	<<if $HeadGirl.ID == $slaves[$i].ID>>
		<<set $slaves[$i].assignment to "be your Head Girl">>
		<<set $slaves[$i].assignmentVisible to 1>>
		<<set $slaves[$i].choosesOwnAssignment to 0>>
		<<set $slaves[$i].sentence to 0>>
	<<elseif ($slaves[$i].assignment is "be your Head Girl")>>
		<<set $slaves[$i].assignment to "rest">>
		<<set $slaves[$i].assignmentVisible to 1>>
	<</if>>
	<</for>>
<</if>>

<<set $HGTimeInGrade to 0>>

<<goto "Main">>

src/uncategorized/hgWorkaround.tw