<ActorFrame><children>
	<ActorFrame 
		GainFocusCommand="sleep,.15;zoom,1"
		LoseFocusCommand="sleep,.15;zoom,0"
		><children>
		<Layer 
			File="@GetClassPath('028')"
			OnCommand="addx,-194;addy,-111"
			InitCommand="@GetClassBanner('028')"
		/>
		<Layer Type="BitmapText"
			Font="_FFT2 white"
			Text=""
			InitCommand="y,-204;x,-80;shadowlength,0;horizalign,left;zoom,1.25;zoomy,1"
			OnCommand="%function(self) self:settext(GetClassName('028')) end"
			/>
		<Layer Type="BitmapText"
			Font="_FFT2 white"
			Text=""
			InitCommand="y,-176;x,-80;shadowlength,0;horizalign,left;zoom,1.25;zoomy,1"
			OnCommand="%function(self) self:settext(GetClassCode('028')) end"
		/>
		<Layer 
			File="@GetClassPath('028')"
			OnCommand="addx,180"
			InitCommand="@GetClassDead('028')"
		/>
		<Layer 
			File="@GetClassPath('028')"
			InitCommand="@GetClassHurt('028')"
		/>
		<Layer Type="ActorFrame" 
			Condition="GetClassType('028') == '1'"
			OnCommand="addx,-180"
			><children>
			<Layer
				File="@GetChocobo()"
				InitCommand="@GetChocoboInit()"
			/>
			<Layer Type="ActorFrame" InitCommand="x,5;y,-19"><children>
				<Layer
					File="@GetClassPath('028')"
					InitCommand="@GetClassRiding1('028')"
				/>
				<Layer
					File="@GetClassPath('028')"
					InitCommand="@GetClassRiding2('028')"
				/>
			</children></Layer>
			<Layer
				File="@GetChocoboOverlay()"
				InitCommand="@GetChocoboInit()"
			/>		
		</children></Layer>
		<Layer
			Condition="GetClassType('028') ~= '1'"
			File="@GetClassPath('028')"
			OnCommand="addx,-180"
			InitCommand="@GetClassInit('028')"
		/>		
	</children></ActorFrame>
</children></ActorFrame>
