<page id="achievements" source="levels/menu/menu.nml" groupName="achievements" script="fortix2MenuAchievementsPageScript">
	<label id="achi_name" object="achievement_name" font="Otari-Bold_simple" colorR=0.235294 colorG=0.094118 colorB=0.007843 align="left">%s$(achiName)</label>
	<label id="achi_desc0" object="achievement_desc0" font="Otari-Bold_simple" colorR=0.235294 colorG=0.094118 colorB=0.007843 align="left">%s$(achiDesc0)</label>
	<label id="achi_desc1" object="achievement_desc1" font="Otari-Bold_simple" colorR=0.235294 colorG=0.094118 colorB=0.007843 align="left">%s$(achiDesc1)</label>
	
	<item id="achi_00" object="achi_00" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(0);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_01" object="achi_01" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(1);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_02" object="achi_02" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(2);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_03" object="achi_03" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(3);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_04" object="achi_04" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(4);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_05" object="achi_05" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(5);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_06" object="achi_06" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(6);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_07" object="achi_07" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(7);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_08" object="achi_08" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(8);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_09" object="achi_09" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(9);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_10" object="achi_10" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(10);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_11" object="achi_11" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(11);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_12" object="achi_12" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(12);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_13" object="achi_13" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(13);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_14" object="achi_14" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(14);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_15" object="achi_15" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(15);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_16" object="achi_16" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(16);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_17" object="achi_17" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(17);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_18" object="achi_18" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(18);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_19" object="achi_19" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(19);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_20" object="achi_20" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(20);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_21" object="achi_21" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(21);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_22" object="achi_22" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(22);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_23" object="achi_23" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(23);" onMouseLeave="onAchievementLeave();" />
	<item id="achi_24" object="achi_24" tabNext="achievements_back" tabPrev="achievements_back" onKey="onAchievementKey();" onMouseEnter="onAchievementEnter(24);" onMouseLeave="onAchievementLeave();" />
	
	<item id="achievements_nextPage" object="achievements_nextPage" tabNext="achievements_back" tabPrev="achievements_back" onClick="runFunction('mouseClickNext');" onKey="onNextPageKey();" onMouseEnter="runFunction('mouseEnterArrow');" onMouseLeave="setUvOffset(0.0, 0.0);" />
	<item id="achievements_prevPage" object="achievements_prevPage" tabNext="achievements_back" tabPrev="achievements_back" onClick="runFunction('mouseClickPrev');" onKey="onPrevPageKey();" onMouseEnter="runFunction('mouseEnterArrow');" onMouseLeave="setUvOffset(0.0, 0.0);" />
	<item id="achievements_back" initItem backItem object="achievements_backButton" tabPrev="achi_02" tabNext="achi_16" onClick="runFunction('mouseClickBack');" onKey="onBackKey();" onMouseEnter="runFunction('mouseEnterBack');" onMouseLeave="setUvOffset(0.0, 0.0);" />

	<script>
		function mouseEnterBack()
		{
			playSound('menu_move');
			setUvOffset(0.0, 0.0625);
		}
		function mouseClickBack()
		{
			playSound('menu_select');
			setPage('main_menu');
		}
		function mouseEnterArrow()
		{
			playSound('menu_move');
			setUvOffset(0.01953125, 0.0);
		}
		function mouseClickNext()
		{
			playSound('menu_select');
			changePage(1);
		}
		function mouseClickPrev()
		{
			playSound('menu_select');
			changePage(-1);
		}
	</script>
</page>
