/* 
	PScript by Peter Pon
	
	scene33
*/
#include "..\PScriptLib\Def.h"

#include "..\PScriptLib\box.pst"
#include "..\PScriptLib\desk.pst"
#include "..\PScriptLib\chair.pst"
#include "..\PScriptLib\jug.pst"
int DeathMatch = 1;
int TeamDeathMatch = 5;
int GameMod;

int EventEnter = 200;
int EventExit = 201;
int EventDeath = 202;

int g_CharacterArena[99];
int g_ArenaCharacters[99];
int g_TeamAArenaCharacters[16];
int g_TeamBArenaCharacters[16];

Scene_OnLoad()
{
	int i;
	string name;

	// knife	
	for ( i=1; i<=5; i++ )
	{
		MakeString(name, "D_knife", i);	
		SetSceneItem(name, "name", "machine");
	
		SetSceneItem(name, "attribute", "damage", 1);
		SetSceneItem(name, "attribute", "damagevalue", 3000000);
	}
	
	// stone step
	for ( i=1; i<=11; i++ )
	{
		MakeString(name, "D_sn02st", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
	}

	// w
	for ( i=1; i<=151; i++ )
	{
		MakeString(name, "D_w", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
	}

	// yz
	for ( i=1; i<=49; i++ )
	{
		MakeString(name, "D_YZ", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
		SetSceneItem(name, "attribute", "damage", 1);
		SetSceneItem(name, "attribute", "damagevalue", 500);
	}

	// jc
	for ( i=1; i<=10; i++ )
	{
		MakeString(name, "D_JC", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
		SetSceneItem(name, "attribute", "damage", 1);
		SetSceneItem(name, "attribute", "damagevalue", 300000000);
	}

	// z
	for ( i=1; i<=15; i++ )
	{
		MakeString(name, "D_Z", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
	}

	// k
	for ( i=1; i<=99; i++ )
	{
		MakeString(name, "D_k", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
	}

	// t
	for ( i=1; i<=99; i++ )
	{
		MakeString(name, "D_t", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
		SetSceneItem(name, "attribute", "damage", 1);
		SetSceneItem(name, "attribute", "damagevalue", 300000000);
	                SetSceneItem(name, "attribute", "active", 0);
	}

	// h
	for ( i=1; i<=99; i++ )
	{
		MakeString(name, "D_h", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
	                SetSceneItem(name, "attribute", "active", 0);
	}
	// i
	for ( i=1; i<=99; i++ )
	{
		MakeString(name, "D_i", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
	                SetSceneItem(name, "attribute", "active", 0);
	}
	// q
	for ( i=1; i<=99; i++ )
	{
		MakeString(name, "D_q", i);
		SetSceneItem(name, "name", "machine");
		SetSceneItem(name, "attribute", "collision", 1);
		SetSceneItem(name, "attribute", "damage", 1);
		SetSceneItem(name, "attribute", "damagevalue", 3000000000000);
	                SetSceneItem(name, "attribute", "active", 0);
	}


	SetSceneItem("D_WK01", "name", "machine");
	SetSceneItem("D_WK02", "name", "machine");
	SetSceneItem("D_WK03", "name", "machine");
	SetSceneItem("D_WK04", "name", "machine");
	SetSceneItem("D_WK05", "name", "machine");
	SetSceneItem("D_WK06", "name", "machine");
	SetSceneItem("D_WK07", "name", "machine");
	SetSceneItem("D_WK08", "name", "machine");
	SetSceneItem("D_WK09", "name", "machine");
	SetSceneItem("D_WK10", "name", "machine");
	SetSceneItem("D_WK11", "name", "machine");
	SetSceneItem("D_WK12", "name", "machine");
	SetSceneItem("D_WK13", "name", "machine");
	SetSceneItem("D_WK14", "name", "machine");
	SetSceneItem("D_WK15", "name", "machine");
	SetSceneItem("D_WK16", "name", "machine");
	SetSceneItem("D_WK17", "name", "machine");
	SetSceneItem("D_WK18", "name", "machine");
	SetSceneItem("D_WK19", "name", "machine");
	SetSceneItem("D_WK20", "name", "machine");
	SetSceneItem("D_WK21", "name", "machine");
	SetSceneItem("D_WK22", "name", "machine");
	SetSceneItem("D_WK23", "name", "machine");
	SetSceneItem("D_WK24", "name", "machine");
	SetSceneItem("D_WK25", "name", "machine");
	SetSceneItem("D_WK26", "name", "machine");
	SetSceneItem("D_WK27", "name", "machine");
	SetSceneItem("D_WK28", "name", "machine");
	SetSceneItem("D_WK29", "name", "machine");
	SetSceneItem("D_WK30", "name", "machine");
	SetSceneItem("D_WK31", "name", "machine");
	SetSceneItem("D_WK32", "name", "machine");
	SetSceneItem("D_WK33", "name", "machine");
	SetSceneItem("D_WK42", "name", "machine");
	SetSceneItem("D_WK43", "name", "machine");
	SetSceneItem("D_WK44", "name", "machine");
	SetSceneItem("D_WK45", "name", "machine");
	SetSceneItem("D_WK46", "name", "machine");
	SetSceneItem("D_WK47", "name", "machine");
	SetSceneItem("D_WK48", "name", "machine");
	SetSceneItem("D_WK49", "name", "machine");
	SetSceneItem("D_WK50", "name", "machine");
	SetSceneItem("D_WK51", "name", "machine");
	SetSceneItem("D_WK52", "name", "machine");
	SetSceneItem("D_WK53", "name", "machine");
	SetSceneItem("D_WK54", "name", "machine");
	SetSceneItem("D_WK55", "name", "machine");
	SetSceneItem("D_WK56", "name", "machine");
	SetSceneItem("D_WK57", "name", "machine");
	SetSceneItem("D_WK58", "name", "machine");
	SetSceneItem("D_WK59", "name", "machine");
	SetSceneItem("D_WK60", "name", "machine");
	SetSceneItem("D_WK61", "name", "machine");
	SetSceneItem("D_WK62", "name", "machine");
	SetSceneItem("D_WK63", "name", "machine");
	SetSceneItem("D_WK64", "name", "machine");
	SetSceneItem("D_WK65", "name", "machine");
	SetSceneItem("D_WK66", "name", "machine");
	SetSceneItem("D_WK67", "name", "machine");
	SetSceneItem("D_WK68", "name", "machine");
	SetSceneItem("D_WK69", "name", "machine");
	SetSceneItem("D_WK70", "name", "machine");
	SetSceneItem("D_WK71", "name", "machine");
	SetSceneItem("D_WK72", "name", "machine");
	SetSceneItem("D_WK73", "name", "machine");
	SetSceneItem("D_WK74", "name", "machine");
	SetSceneItem("D_WK75", "name", "machine");
	SetSceneItem("D_WK76", "name", "machine");
	SetSceneItem("D_WK77", "name", "machine");
	SetSceneItem("D_WK78", "name", "machine");
	SetSceneItem("D_WK79", "name", "machine");
	SetSceneItem("D_WK80", "name", "machine");
	SetSceneItem("D_WK81", "name", "machine");
	SetSceneItem("D_WK82", "name", "machine");
	SetSceneItem("D_WK83", "name", "machine");
	SetSceneItem("D_WK84", "name", "machine");
	SetSceneItem("D_WK85", "name", "machine");
	SetSceneItem("D_WK86", "name", "machine");
	SetSceneItem("D_WK87", "name", "machine");
	SetSceneItem("D_WK88", "name", "machine");
	SetSceneItem("D_WK89", "name", "machine");
	SetSceneItem("D_WK90", "name", "machine");
	SetSceneItem("D_WK91", "name", "machine");
	SetSceneItem("D_WK92", "name", "machine");
	SetSceneItem("D_WK93", "name", "machine");
	SetSceneItem("D_WK94", "name", "machine");
	SetSceneItem("D_WK95", "name", "machine");
	SetSceneItem("D_WK96", "name", "machine");
	SetSceneItem("D_WK97", "name", "machine");
	SetSceneItem("D_WK98", "name", "machine");
	SetSceneItem("D_WK99", "name", "machine");
	SetSceneItem("D_WK100", "name", "machine");
	SetSceneItem("D_WK101", "name", "machine");
	SetSceneItem("D_WK102", "name", "machine");
	SetSceneItem("D_WK103", "name", "machine");
	SetSceneItem("D_WK104", "name", "machine");
	SetSceneItem("D_WK105", "name", "machine");
	SetSceneItem("D_WK106", "name", "machine");
	SetSceneItem("D_WK107", "name", "machine");
	SetSceneItem("D_WK108", "name", "machine");
	SetSceneItem("D_WK109", "name", "machine");
	SetSceneItem("D_WK110", "name", "machine");
	SetSceneItem("D_WK111", "name", "machine");
	SetSceneItem("D_WK112", "name", "machine");
	SetSceneItem("D_WK113", "name", "machine");
	SetSceneItem("D_WK114", "name", "machine");
	SetSceneItem("D_WK115", "name", "machine");
	SetSceneItem("D_WK116", "name", "machine");
	SetSceneItem("D_WK117", "name", "machine");
	SetSceneItem("D_WK118", "name", "machine");
	SetSceneItem("D_WK119", "name", "machine");
	SetSceneItem("D_WK120", "name", "machine");
	SetSceneItem("D_WK121", "name", "machine");
	SetSceneItem("D_WK122", "name", "machine");
	SetSceneItem("D_WK123", "name", "machine");
	SetSceneItem("D_WK124", "name", "machine");
	SetSceneItem("D_WK125", "name", "machine");
	SetSceneItem("D_WK126", "name", "machine");
	SetSceneItem("D_WK127", "name", "machine");
	SetSceneItem("D_WK128", "name", "machine");
	SetSceneItem("D_WK129", "name", "machine");
	SetSceneItem("D_WK130", "name", "machine");
	SetSceneItem("D_WK131", "name", "machine");
	SetSceneItem("D_WK132", "name", "machine");
	SetSceneItem("D_WK133", "name", "machine");
	SetSceneItem("D_WK134", "name", "machine");
	SetSceneItem("D_WK135", "name", "machine");
	SetSceneItem("D_WK136", "name", "machine");
	SetSceneItem("D_WK137", "name", "machine");
	SetSceneItem("D_WK138", "name", "machine");
	SetSceneItem("D_WK139", "name", "machine");
	SetSceneItem("D_WK140", "name", "machine");
	SetSceneItem("D_WK141", "name", "machine");
	SetSceneItem("D_WK142", "name", "machine");
	SetSceneItem("D_WK143", "name", "machine");
	SetSceneItem("D_WK144", "name", "machine");
	SetSceneItem("D_WK145", "name", "machine");
	SetSceneItem("D_WK146", "name", "machine");
	SetSceneItem("D_WK147", "name", "machine");
	SetSceneItem("D_WK148", "name", "machine");
	SetSceneItem("D_WK149", "name", "machine");
	SetSceneItem("D_WK150", "name", "machine");
	SetSceneItem("D_WK151", "name", "machine");
	SetSceneItem("D_WK152", "name", "machine");
	SetSceneItem("D_WK153", "name", "machine");
	SetSceneItem("D_WK154", "name", "machine");
	SetSceneItem("D_WK155", "name", "machine");
	SetSceneItem("D_WK156", "name", "machine");
	SetSceneItem("D_WK157", "name", "machine");
	SetSceneItem("D_WK158", "name", "machine");
	SetSceneItem("D_WK159", "name", "machine");
	SetSceneItem("D_WK160", "name", "machine");
	SetSceneItem("D_WK161", "name", "machine");
	SetSceneItem("D_WK162", "name", "machine");
	SetSceneItem("D_WK163", "name", "machine");
	SetSceneItem("D_WK164", "name", "machine");
	SetSceneItem("D_WK165", "name", "machine");
	SetSceneItem("D_WK166", "name", "machine");
	SetSceneItem("D_WK167", "name", "machine");
	SetSceneItem("D_WK168", "name", "machine");
	SetSceneItem("D_WK169", "name", "machine");
	SetSceneItem("D_WK170", "name", "machine");
	SetSceneItem("D_WK171", "name", "machine");
	SetSceneItem("D_WK172", "name", "machine");
	SetSceneItem("D_WK173", "name", "machine");
	SetSceneItem("D_WK174", "name", "machine");
	SetSceneItem("D_WK175", "name", "machine");
	SetSceneItem("D_WK176", "name", "machine");
	SetSceneItem("D_WK177", "name", "machine");
	SetSceneItem("D_WK178", "name", "machine");
	SetSceneItem("D_WK179", "name", "machine");
	SetSceneItem("D_WK180", "name", "machine");
	SetSceneItem("D_WK181", "name", "machine");
	SetSceneItem("D_WK182", "name", "machine");
	SetSceneItem("D_WK183", "name", "machine");
	SetSceneItem("D_WK184", "name", "machine");
	SetSceneItem("D_WK185", "name", "machine");
	SetSceneItem("D_WK186", "name", "machine");
	SetSceneItem("D_WK187", "name", "machine");
	SetSceneItem("D_WK188", "name", "machine");
	SetSceneItem("D_WK189", "name", "machine");
	SetSceneItem("D_WK190", "name", "machine");
	SetSceneItem("D_WK191", "name", "machine");
	SetSceneItem("D_WK192", "name", "machine");
	SetSceneItem("D_WK193", "name", "machine");
	SetSceneItem("D_WK194", "name", "machine");
	SetSceneItem("D_WK195", "name", "machine");
	SetSceneItem("D_WK196", "name", "machine");
	SetSceneItem("D_WK197", "name", "machine");
	SetSceneItem("D_WK198", "name", "machine");
	SetSceneItem("D_WK199", "name", "machine");
	SetSceneItem("D_WK200", "name", "machine");
	SetSceneItem("D_WK201", "name", "machine");
	SetSceneItem("D_WK202", "name", "machine");
	SetSceneItem("D_WK203", "name", "machine");
	SetSceneItem("D_WK204", "name", "machine");
	SetSceneItem("D_WK205", "name", "machine");
	SetSceneItem("D_WK206", "name", "machine");
	SetSceneItem("D_WK207", "name", "machine");
	SetSceneItem("D_WK208", "name", "machine");
	SetSceneItem("D_WK209", "name", "machine");
	SetSceneItem("D_WK210", "name", "machine");
	SetSceneItem("D_WK211", "name", "machine");
	SetSceneItem("D_WK212", "name", "machine");
	SetSceneItem("D_WK213", "name", "machine");
	SetSceneItem("D_WK214", "name", "machine");
	SetSceneItem("D_WK215", "name", "machine");
	SetSceneItem("D_WK216", "name", "machine");
	SetSceneItem("D_WK217", "name", "machine");
	SetSceneItem("D_WK218", "name", "machine");
	SetSceneItem("D_WK219", "name", "machine");
	SetSceneItem("D_WK220", "name", "machine");
	SetSceneItem("D_WK221", "name", "machine");
	SetSceneItem("D_WK222", "name", "machine");
	SetSceneItem("D_WK223", "name", "machine");
	SetSceneItem("D_WK224", "name", "machine");
	SetSceneItem("D_WK225", "name", "machine");
	SetSceneItem("D_WK226", "name", "machine");
	SetSceneItem("D_WK227", "name", "machine");
	SetSceneItem("D_WK228", "name", "machine");
	SetSceneItem("D_WK229", "name", "machine");
	SetSceneItem("D_WK230", "name", "machine");
	SetSceneItem("D_WK231", "name", "machine");
	SetSceneItem("D_WK232", "name", "machine");
	SetSceneItem("D_WK233", "name", "machine");
	SetSceneItem("D_WK234", "name", "machine");
	SetSceneItem("D_WK235", "name", "machine");
	SetSceneItem("D_WK236", "name", "machine");
	SetSceneItem("D_WK237", "name", "machine");
	SetSceneItem("D_WK238", "name", "machine");
	SetSceneItem("D_WK239", "name", "machine");
	SetSceneItem("D_WK240", "name", "machine");
	SetSceneItem("D_WK241", "name", "machine");
	SetSceneItem("D_WK242", "name", "machine");
	SetSceneItem("D_WK243", "name", "machine");
	SetSceneItem("D_WK244", "name", "machine");
	SetSceneItem("D_WK245", "name", "machine");
	SetSceneItem("D_WK246", "name", "machine");
	SetSceneItem("D_WK247", "name", "machine");
	SetSceneItem("D_WK248", "name", "machine");
	SetSceneItem("D_WK249", "name", "machine");
	SetSceneItem("D_WK250", "name", "machine");

	SetSceneItem("D_sn08B01", "name", "machine");
	
	SetSceneItem("D_sn08B02", "name", "machine");
	SetSceneItem("D_sn08B02", "attribute", "damage", 1);
	SetSceneItem("D_sn08B02", "attribute", "damagevalue", g_iLevel08StickDamage);
	
	SetSceneItem("D_sn08B03", "name", "machine");
	SetSceneItem("D_sn08B03", "attribute", "interactive", 0);

}

Scene_OnInit()
{	
	SetSceneItem("D_knife01", "pose", 1, 1);
	SetSceneItem("D_knife01", "frame", 0);

	SetSceneItem("D_knife02", "pose", 1, 1);
	SetSceneItem("D_knife02", "frame",20);

	SetSceneItem("D_knife03", "pose", 1, 1);
	SetSceneItem("D_knife03", "frame", 40);

	SetSceneItem("D_knife04", "pose", 1, 1);
	SetSceneItem("D_knife04", "frame", 60);

	SetSceneItem("D_knife05", "pose", 1, 1);
	SetSceneItem("D_knife05", "frame", 80);

	InitBoxes(g_iNumBoxes);
	InitBBoxes(g_iNumBBoxes);
	InitChairs(g_iNumChairs);
	InitDeskes(g_iNumDeskes);
	InitJugs(g_iNumJugs);
	GameMod = GameCallBack("mod", 0);
	int i;
	string itemname;
	for (i=0; i<16; i=i+1)
	{
		g_CharacterArena[i] = -1;
		g_ArenaCharacters[i] = 0;
		g_TeamAArenaCharacters[i] = 0;
		g_TeamBArenaCharacters[i] = 0;
		
		MakeString(itemname, "D_tpEC", i+1);
		SetSceneItem(itemname, "name", "machine");
		SetSceneItem(itemname, "attribute", "collision", 0);
		SetSceneItem(itemname, "attribute", "interactive", 1);

		MakeString(itemname, "D_tpEC", i+17);
		SetSceneItem(itemname, "name", "machine");
		SetSceneItem(itemname, "attribute", "collision", 0);
		SetSceneItem(itemname, "attribute", "interactive", 1);
	}

        for (i=0; i<8; i=i+1)
	{
		MakeString(itemname, "D_tpAC", i+1);
		SetSceneItem(itemname, "name", "machine");
		SetSceneItem(itemname, "attribute", "collision", 0);

		MakeString(itemname, "D_tpAC", i+9);
		SetSceneItem(itemname, "name", "machine");
		SetSceneItem(itemname, "attribute", "collision", 0);
		
		MakeString(itemname, "D_tpBC", i+1);
		SetSceneItem(itemname, "name", "machine");
		SetSceneItem(itemname, "attribute", "collision", 0);

		MakeString(itemname, "D_tpBC", i+9);
		SetSceneItem(itemname, "name", "machine");
		SetSceneItem(itemname, "attribute", "collision", 0);
	}


	SetSceneItem("D_WK01", "attribute", "collision", 1);
	SetSceneItem("D_WK02", "attribute", "collision", 1);
	SetSceneItem("D_WK03", "attribute", "collision", 1);
	SetSceneItem("D_WK04", "attribute", "collision", 1);
	SetSceneItem("D_WK05", "attribute", "collision", 1);
	SetSceneItem("D_WK06", "attribute", "collision", 1);
	SetSceneItem("D_WK07", "attribute", "collision", 1);
	SetSceneItem("D_WK08", "attribute", "collision", 1);
	SetSceneItem("D_WK09", "attribute", "collision", 1);
	SetSceneItem("D_WK10", "attribute", "collision", 1);
	SetSceneItem("D_WK11", "attribute", "collision", 1);
	SetSceneItem("D_WK12", "attribute", "collision", 1);
	SetSceneItem("D_WK13", "attribute", "collision", 1);
	SetSceneItem("D_WK14", "attribute", "collision", 1);
	SetSceneItem("D_WK15", "attribute", "collision", 1);
	SetSceneItem("D_WK16", "attribute", "collision", 1);
	SetSceneItem("D_WK17", "attribute", "collision", 1);
	SetSceneItem("D_WK18", "attribute", "collision", 1);
	SetSceneItem("D_WK19", "attribute", "collision", 1);
	SetSceneItem("D_WK20", "attribute", "collision", 1);
	SetSceneItem("D_WK21", "attribute", "collision", 1);
	SetSceneItem("D_WK22", "attribute", "collision", 1);
	SetSceneItem("D_WK23", "attribute", "collision", 1);
	SetSceneItem("D_WK24", "attribute", "collision", 1);
	SetSceneItem("D_WK25", "attribute", "collision", 1);
	SetSceneItem("D_WK26", "attribute", "collision", 1);
	SetSceneItem("D_WK27", "attribute", "collision", 1);
	SetSceneItem("D_WK28", "attribute", "collision", 1);
	SetSceneItem("D_WK29", "attribute", "collision", 1);
	SetSceneItem("D_WK30", "attribute", "collision", 1);
	SetSceneItem("D_WK31", "attribute", "collision", 1);
	SetSceneItem("D_WK32", "attribute", "collision", 1);
	SetSceneItem("D_WK33", "attribute", "collision", 1);
	SetSceneItem("D_WK42", "attribute", "collision", 1);
	SetSceneItem("D_WK43", "attribute", "collision", 1);
	SetSceneItem("D_WK44", "attribute", "collision", 1);
	SetSceneItem("D_WK45", "attribute", "collision", 1);
	SetSceneItem("D_WK46", "attribute", "collision", 1);
	SetSceneItem("D_WK47", "attribute", "collision", 1);
	SetSceneItem("D_WK48", "attribute", "collision", 1);
	SetSceneItem("D_WK49", "attribute", "collision", 1);
	SetSceneItem("D_WK50", "attribute", "collision", 1);
	SetSceneItem("D_WK51", "attribute", "collision", 1);
	SetSceneItem("D_WK52", "attribute", "collision", 1);
	SetSceneItem("D_WK53", "attribute", "collision", 1);
	SetSceneItem("D_WK54", "attribute", "collision", 1);
	SetSceneItem("D_WK55", "attribute", "collision", 1);
	SetSceneItem("D_WK56", "attribute", "collision", 1);
	SetSceneItem("D_WK57", "attribute", "collision", 1);
	SetSceneItem("D_WK58", "attribute", "collision", 1);
	SetSceneItem("D_WK59", "attribute", "collision", 1);
	SetSceneItem("D_WK60", "attribute", "collision", 1);
	SetSceneItem("D_WK61", "attribute", "collision", 1);
	SetSceneItem("D_WK62", "attribute", "collision", 1);
	SetSceneItem("D_WK63", "attribute", "collision", 1);
	SetSceneItem("D_WK64", "attribute", "collision", 1);
	SetSceneItem("D_WK65", "attribute", "collision", 1);
	SetSceneItem("D_WK66", "attribute", "collision", 1);
	SetSceneItem("D_WK67", "attribute", "collision", 1);
	SetSceneItem("D_WK68", "attribute", "collision", 1);
	SetSceneItem("D_WK69", "attribute", "collision", 1);
	SetSceneItem("D_WK70", "attribute", "collision", 1);
	SetSceneItem("D_WK71", "attribute", "collision", 1);
	SetSceneItem("D_WK72", "attribute", "collision", 1);
	SetSceneItem("D_WK73", "attribute", "collision", 1);
	SetSceneItem("D_WK74", "attribute", "collision", 1);
	SetSceneItem("D_WK75", "attribute", "collision", 1);
	SetSceneItem("D_WK76", "attribute", "collision", 1);
	SetSceneItem("D_WK77", "attribute", "collision", 1);
	SetSceneItem("D_WK78", "attribute", "collision", 1);
	SetSceneItem("D_WK79", "attribute", "collision", 1);
	SetSceneItem("D_WK80", "attribute", "collision", 1);
	SetSceneItem("D_WK81", "attribute", "collision", 1);
	SetSceneItem("D_WK82", "attribute", "collision", 1);
	SetSceneItem("D_WK83", "attribute", "collision", 1);
	SetSceneItem("D_WK84", "attribute", "collision", 1);
	SetSceneItem("D_WK85", "attribute", "collision", 1);
	SetSceneItem("D_WK86", "attribute", "collision", 1);
	SetSceneItem("D_WK87", "attribute", "collision", 1);
	SetSceneItem("D_WK88", "attribute", "collision", 1);
	SetSceneItem("D_WK89", "attribute", "collision", 1);
	SetSceneItem("D_WK90", "attribute", "collision", 1);
	SetSceneItem("D_WK91", "attribute", "collision", 1);
	SetSceneItem("D_WK92", "attribute", "collision", 1);
	SetSceneItem("D_WK96", "attribute", "collision", 1);
	SetSceneItem("D_WK97", "attribute", "collision", 1);
	SetSceneItem("D_WK98", "attribute", "collision", 1);
	SetSceneItem("D_WK99", "attribute", "collision", 1);
	SetSceneItem("D_WK100", "attribute", "collision", 1);
	SetSceneItem("D_WK101", "attribute", "collision", 1);
	SetSceneItem("D_WK102", "attribute", "collision", 1);
	SetSceneItem("D_WK103", "attribute", "collision", 1);
	SetSceneItem("D_WK104", "attribute", "collision", 1);
	SetSceneItem("D_WK105", "attribute", "collision", 1);
	SetSceneItem("D_WK106", "attribute", "collision", 1);
	SetSceneItem("D_WK107", "attribute", "collision", 1);
	SetSceneItem("D_WK108", "attribute", "collision", 1);
	SetSceneItem("D_WK109", "attribute", "collision", 1);
	SetSceneItem("D_WK110", "attribute", "collision", 1);
	SetSceneItem("D_WK111", "attribute", "collision", 1);
	SetSceneItem("D_WK112", "attribute", "collision", 1);
	SetSceneItem("D_WK113", "attribute", "collision", 1);
	SetSceneItem("D_WK114", "attribute", "collision", 1);
	SetSceneItem("D_WK115", "attribute", "collision", 1);
	SetSceneItem("D_WK116", "attribute", "collision", 1);
	SetSceneItem("D_WK117", "attribute", "collision", 1);
	SetSceneItem("D_WK118", "attribute", "collision", 1);
	SetSceneItem("D_WK119", "attribute", "collision", 1);
	SetSceneItem("D_WK120", "attribute", "collision", 1);
	SetSceneItem("D_WK121", "attribute", "collision", 1);
	SetSceneItem("D_WK122", "attribute", "collision", 1);
	SetSceneItem("D_WK123", "attribute", "collision", 1);
	SetSceneItem("D_WK124", "attribute", "collision", 1);
	SetSceneItem("D_WK125", "attribute", "collision", 1);
	SetSceneItem("D_WK126", "attribute", "collision", 1);
	SetSceneItem("D_WK127", "attribute", "collision", 1);
	SetSceneItem("D_WK128", "attribute", "collision", 1);
	SetSceneItem("D_WK129", "attribute", "collision", 1);
	SetSceneItem("D_WK130", "attribute", "collision", 1);
	SetSceneItem("D_WK131", "attribute", "collision", 1);
	SetSceneItem("D_WK132", "attribute", "collision", 1);
	SetSceneItem("D_WK133", "attribute", "collision", 1);
	SetSceneItem("D_WK134", "attribute", "collision", 1);
	SetSceneItem("D_WK135", "attribute", "collision", 1);
	SetSceneItem("D_WK136", "attribute", "collision", 1);
	SetSceneItem("D_WK137", "attribute", "collision", 1);
	SetSceneItem("D_WK138", "attribute", "collision", 1);
	SetSceneItem("D_WK139", "attribute", "collision", 1);
	SetSceneItem("D_WK140", "attribute", "collision", 1);
	SetSceneItem("D_WK141", "attribute", "collision", 1);
	SetSceneItem("D_WK142", "attribute", "collision", 1);
	SetSceneItem("D_WK143", "attribute", "collision", 1);
	SetSceneItem("D_WK144", "attribute", "collision", 1);
	SetSceneItem("D_WK145", "attribute", "collision", 1);
	SetSceneItem("D_WK146", "attribute", "collision", 1);
	SetSceneItem("D_WK147", "attribute", "collision", 1);
	SetSceneItem("D_WK148", "attribute", "collision", 1);
	SetSceneItem("D_WK149", "attribute", "collision", 1);
	SetSceneItem("D_WK150", "attribute", "collision", 1);
	SetSceneItem("D_WK151", "attribute", "collision", 1);
	SetSceneItem("D_WK152", "attribute", "collision", 1);
	SetSceneItem("D_WK153", "attribute", "collision", 1);
	SetSceneItem("D_WK154", "attribute", "collision", 1);
	SetSceneItem("D_WK155", "attribute", "collision", 1);
	SetSceneItem("D_WK156", "attribute", "collision", 1);
	SetSceneItem("D_WK157", "attribute", "collision", 1);
	SetSceneItem("D_WK158", "attribute", "collision", 1);
	SetSceneItem("D_WK159", "attribute", "collision", 1);
	SetSceneItem("D_WK160", "attribute", "collision", 1);
	SetSceneItem("D_WK161", "attribute", "collision", 1);
	SetSceneItem("D_WK162", "attribute", "collision", 1);
	SetSceneItem("D_WK163", "attribute", "collision", 1);
	SetSceneItem("D_WK164", "attribute", "collision", 1);
	SetSceneItem("D_WK165", "attribute", "collision", 1);
	SetSceneItem("D_WK166", "attribute", "collision", 1);
	SetSceneItem("D_WK167", "attribute", "collision", 1);
	SetSceneItem("D_WK168", "attribute", "collision", 1);
	SetSceneItem("D_WK169", "attribute", "collision", 1);
	SetSceneItem("D_WK170", "attribute", "collision", 1);
	SetSceneItem("D_WK171", "attribute", "collision", 1);
	SetSceneItem("D_WK172", "attribute", "collision", 1);
	SetSceneItem("D_WK173", "attribute", "collision", 1);
	SetSceneItem("D_WK174", "attribute", "collision", 1);
	SetSceneItem("D_WK175", "attribute", "collision", 1);
	SetSceneItem("D_WK176", "attribute", "collision", 1);	
	SetSceneItem("D_WK177", "attribute", "collision", 1);
	SetSceneItem("D_WK178", "attribute", "collision", 1);
	SetSceneItem("D_WK179", "attribute", "collision", 1);
	SetSceneItem("D_WK180", "attribute", "collision", 1);
	SetSceneItem("D_WK181", "attribute", "collision", 1);
	SetSceneItem("D_WK182", "attribute", "collision", 1);
	SetSceneItem("D_WK183", "attribute", "collision", 1);
	SetSceneItem("D_WK184", "attribute", "collision", 1);
	SetSceneItem("D_WK185", "attribute", "collision", 1);
	SetSceneItem("D_WK186", "attribute", "collision", 1);
	SetSceneItem("D_WK187", "attribute", "collision", 1);
	SetSceneItem("D_WK188", "attribute", "collision", 1);
	SetSceneItem("D_WK189", "attribute", "collision", 1);
	SetSceneItem("D_WK190", "attribute", "collision", 1);
	SetSceneItem("D_WK191", "attribute", "collision", 1);
	SetSceneItem("D_WK192", "attribute", "collision", 1);
	SetSceneItem("D_WK193", "attribute", "collision", 1);
	SetSceneItem("D_WK194", "attribute", "collision", 1);
	SetSceneItem("D_WK195", "attribute", "collision", 1);
	SetSceneItem("D_WK196", "attribute", "collision", 1);
	SetSceneItem("D_WK197", "attribute", "collision", 1);
	SetSceneItem("D_WK198", "attribute", "collision", 1);
	SetSceneItem("D_WK199", "attribute", "collision", 1);
	SetSceneItem("D_WK200", "attribute", "collision", 1);
	SetSceneItem("D_WK201", "attribute", "collision", 1);
	SetSceneItem("D_WK202", "attribute", "collision", 1);
	SetSceneItem("D_WK203", "attribute", "collision", 1);
	SetSceneItem("D_WK204", "attribute", "collision", 1);
	SetSceneItem("D_WK205", "attribute", "collision", 1);
	SetSceneItem("D_WK206", "attribute", "collision", 1);
	SetSceneItem("D_WK207", "attribute", "collision", 1);
	SetSceneItem("D_WK208", "attribute", "collision", 1);
	SetSceneItem("D_WK209", "attribute", "collision", 1);
	SetSceneItem("D_WK210", "attribute", "collision", 1);
	SetSceneItem("D_WK211", "attribute", "collision", 1);
	SetSceneItem("D_WK212", "attribute", "collision", 1);
	SetSceneItem("D_WK213", "attribute", "collision", 1);
	SetSceneItem("D_WK214", "attribute", "collision", 1);
	SetSceneItem("D_WK215", "attribute", "collision", 1);
	SetSceneItem("D_WK216", "attribute", "collision", 1);
	SetSceneItem("D_WK217", "attribute", "collision", 1);
	SetSceneItem("D_WK218", "attribute", "collision", 1);
	SetSceneItem("D_WK219", "attribute", "collision", 1);
	SetSceneItem("D_WK220", "attribute", "collision", 1);
	SetSceneItem("D_WK221", "attribute", "collision", 1);
	SetSceneItem("D_WK222", "attribute", "collision", 1);
	SetSceneItem("D_WK223", "attribute", "collision", 1);
	SetSceneItem("D_WK224", "attribute", "collision", 1);
	SetSceneItem("D_WK225", "attribute", "collision", 1);
	SetSceneItem("D_WK226", "attribute", "collision", 1);
	SetSceneItem("D_WK227", "attribute", "collision", 1);
	SetSceneItem("D_WK228", "attribute", "collision", 1);
	SetSceneItem("D_WK229", "attribute", "collision", 1);
	SetSceneItem("D_WK230", "attribute", "collision", 1);
	SetSceneItem("D_WK231", "attribute", "collision", 1);
	SetSceneItem("D_WK232", "attribute", "collision", 1);
	SetSceneItem("D_WK233", "attribute", "collision", 1);
	SetSceneItem("D_WK234", "attribute", "collision", 1);
	SetSceneItem("D_WK235", "attribute", "collision", 1);
	SetSceneItem("D_WK236", "attribute", "collision", 1);
	SetSceneItem("D_WK237", "attribute", "collision", 1);
	SetSceneItem("D_WK238", "attribute", "collision", 1);
	SetSceneItem("D_WK239", "attribute", "collision", 1);
	SetSceneItem("D_WK240", "attribute", "collision", 1);
	SetSceneItem("D_WK241", "attribute", "collision", 1);
	SetSceneItem("D_WK242", "attribute", "collision", 1);
	SetSceneItem("D_WK243", "attribute", "collision", 1);
	SetSceneItem("D_WK244", "attribute", "collision", 1);
	SetSceneItem("D_WK245", "attribute", "collision", 1);
	SetSceneItem("D_WK246", "attribute", "collision", 1);
	SetSceneItem("D_WK247", "attribute", "collision", 1);
	SetSceneItem("D_WK248", "attribute", "collision", 1);
	SetSceneItem("D_WK249", "attribute", "collision", 1);
	SetSceneItem("D_WK250", "attribute", "collision", 1);

	SetSceneItem("D_w01", "attribute", "active", 0);
	SetSceneItem("D_w02", "attribute", "active", 0);
	SetSceneItem("D_w03", "attribute", "active", 0);
	SetSceneItem("D_w04", "attribute", "active", 0);
	SetSceneItem("D_w05", "attribute", "active", 0);
	SetSceneItem("D_w06", "attribute", "active", 0);
	SetSceneItem("D_w07", "attribute", "active", 0);
	SetSceneItem("D_w08", "attribute", "active", 0);
	SetSceneItem("D_w09", "attribute", "active", 0);
	SetSceneItem("D_w10", "attribute", "active", 0);
	SetSceneItem("D_w11", "attribute", "active", 0);
	SetSceneItem("D_w12", "attribute", "active", 0);
	SetSceneItem("D_w13", "attribute", "active", 0);
	SetSceneItem("D_w14", "attribute", "active", 0);
	SetSceneItem("D_w15", "attribute", "active", 0);
	SetSceneItem("D_w16", "attribute", "active", 0);
	SetSceneItem("D_w17", "attribute", "active", 0);
	SetSceneItem("D_w18", "attribute", "active", 0);
	SetSceneItem("D_w19", "attribute", "active", 0);
	SetSceneItem("D_w20", "attribute", "active", 0);
	SetSceneItem("D_w21", "attribute", "active", 0);
	SetSceneItem("D_w22", "attribute", "active", 0);
	SetSceneItem("D_w23", "attribute", "active", 0);
	SetSceneItem("D_w24", "attribute", "active", 0);
	SetSceneItem("D_w25", "attribute", "active", 0);
	SetSceneItem("D_w26", "attribute", "active", 0);
	SetSceneItem("D_w27", "attribute", "active", 0);
	SetSceneItem("D_w28", "attribute", "active", 0);
	SetSceneItem("D_w29", "attribute", "active", 0);
	SetSceneItem("D_w30", "attribute", "active", 0);
	SetSceneItem("D_w31", "attribute", "active", 0);
	SetSceneItem("D_w32", "attribute", "active", 0);
	SetSceneItem("D_w33", "attribute", "active", 0);
	SetSceneItem("D_w34", "attribute", "active", 0);
	SetSceneItem("D_w35", "attribute", "active", 0);
	SetSceneItem("D_w36", "attribute", "active", 0);
	SetSceneItem("D_w37", "attribute", "active", 0);
	SetSceneItem("D_w38", "attribute", "active", 0);
	SetSceneItem("D_w39", "attribute", "active", 0);
	SetSceneItem("D_w40", "attribute", "active", 0);
	SetSceneItem("D_w41", "attribute", "active", 0);
	SetSceneItem("D_w42", "attribute", "active", 0);
	SetSceneItem("D_w43", "attribute", "active", 0);
	SetSceneItem("D_w44", "attribute", "active", 0);
	SetSceneItem("D_w45", "attribute", "active", 0);
	SetSceneItem("D_w46", "attribute", "active", 0);
	SetSceneItem("D_w47", "attribute", "active", 0);
	SetSceneItem("D_w48", "attribute", "active", 0);
	SetSceneItem("D_w49", "attribute", "active", 0);
	SetSceneItem("D_w50", "attribute", "active", 0);
	SetSceneItem("D_w51", "attribute", "active", 0);
	SetSceneItem("D_w52", "attribute", "active", 0);
	SetSceneItem("D_w53", "attribute", "active", 0);
	SetSceneItem("D_w54", "attribute", "active", 0);
	SetSceneItem("D_w55", "attribute", "active", 0);
	SetSceneItem("D_w56", "attribute", "active", 0);
	SetSceneItem("D_w57", "attribute", "active", 0);
	SetSceneItem("D_w58", "attribute", "active", 0);
	SetSceneItem("D_w59", "attribute", "active", 0);
	SetSceneItem("D_w60", "attribute", "active", 0);
	SetSceneItem("D_w61", "attribute", "active", 0);
	SetSceneItem("D_w62", "attribute", "active", 0);
	SetSceneItem("D_w63", "attribute", "active", 0);
	SetSceneItem("D_w64", "attribute", "active", 0);
	SetSceneItem("D_w65", "attribute", "active", 0);
	SetSceneItem("D_w66", "attribute", "active", 0);
	SetSceneItem("D_w67", "attribute", "active", 0);
	SetSceneItem("D_w68", "attribute", "active", 0);
	SetSceneItem("D_w69", "attribute", "active", 0);
	SetSceneItem("D_w70", "attribute", "active", 0);
	SetSceneItem("D_w71", "attribute", "active", 0);
	SetSceneItem("D_w72", "attribute", "active", 0);
	SetSceneItem("D_w73", "attribute", "active", 0);
	SetSceneItem("D_w74", "attribute", "active", 0);
	SetSceneItem("D_w75", "attribute", "active", 0);
	SetSceneItem("D_w76", "attribute", "active", 0);
	SetSceneItem("D_w77", "attribute", "active", 0);
	SetSceneItem("D_w78", "attribute", "active", 0);
	SetSceneItem("D_w79", "attribute", "active", 0);
	SetSceneItem("D_w80", "attribute", "active", 0);
	SetSceneItem("D_w81", "attribute", "active", 0);
	SetSceneItem("D_w82", "attribute", "active", 0);
	SetSceneItem("D_w83", "attribute", "active", 0);
	SetSceneItem("D_w84", "attribute", "active", 0);
	SetSceneItem("D_w85", "attribute", "active", 0);
	SetSceneItem("D_w86", "attribute", "active", 0);
	SetSceneItem("D_w87", "attribute", "active", 0);
	SetSceneItem("D_w88", "attribute", "active", 0);
	SetSceneItem("D_w89", "attribute", "active", 0);
	SetSceneItem("D_w90", "attribute", "active", 0);
	SetSceneItem("D_w91", "attribute", "active", 0);
	SetSceneItem("D_w92", "attribute", "active", 0);
	SetSceneItem("D_w93", "attribute", "active", 0);
	SetSceneItem("D_w94", "attribute", "active", 0);
	SetSceneItem("D_w95", "attribute", "active", 0);
	SetSceneItem("D_w96", "attribute", "active", 0);
	SetSceneItem("D_w97", "attribute", "active", 0);
	SetSceneItem("D_w98", "attribute", "active", 0);
	SetSceneItem("D_w99", "attribute", "active", 0);
	SetSceneItem("D_w100", "attribute", "active", 0);
	SetSceneItem("D_w101", "attribute", "active", 0);
	SetSceneItem("D_w102", "attribute", "active", 0);
	SetSceneItem("D_w103", "attribute", "active", 0);
	SetSceneItem("D_w104", "attribute", "active", 0);
	SetSceneItem("D_w105", "attribute", "active", 0);
	SetSceneItem("D_w106", "attribute", "active", 0);
	SetSceneItem("D_w107", "attribute", "active", 0);
	SetSceneItem("D_w108", "attribute", "active", 0);
	SetSceneItem("D_w109", "attribute", "active", 0);
	SetSceneItem("D_w110", "attribute", "active", 0);
	SetSceneItem("D_w111", "attribute", "active", 0);
	SetSceneItem("D_w112", "attribute", "active", 0);
	SetSceneItem("D_w113", "attribute", "active", 0);
	SetSceneItem("D_w114", "attribute", "active", 0);
	SetSceneItem("D_w115", "attribute", "active", 0);
	SetSceneItem("D_w116", "attribute", "active", 0);
	SetSceneItem("D_w117", "attribute", "active", 0);
	SetSceneItem("D_w118", "attribute", "active", 0);
	SetSceneItem("D_w119", "attribute", "active", 0);
	SetSceneItem("D_w120", "attribute", "active", 0);
	SetSceneItem("D_w121", "attribute", "active", 0);
	SetSceneItem("D_w122", "attribute", "active", 0);
	SetSceneItem("D_w123", "attribute", "active", 0);
	SetSceneItem("D_w124", "attribute", "active", 0);
	SetSceneItem("D_w125", "attribute", "active", 0);
	SetSceneItem("D_w126", "attribute", "active", 0);
	SetSceneItem("D_w127", "attribute", "active", 0);
	SetSceneItem("D_w128", "attribute", "active", 0);
	SetSceneItem("D_w129", "attribute", "active", 0);
	SetSceneItem("D_w130", "attribute", "active", 0);
	SetSceneItem("D_w131", "attribute", "active", 0);
	SetSceneItem("D_w132", "attribute", "active", 0);
	SetSceneItem("D_w133", "attribute", "active", 0);
	SetSceneItem("D_w134", "attribute", "active", 0);
	SetSceneItem("D_w135", "attribute", "active", 0);
	SetSceneItem("D_w136", "attribute", "active", 0);
	SetSceneItem("D_w137", "attribute", "active", 0);
	SetSceneItem("D_w138", "attribute", "active", 0);
	SetSceneItem("D_w139", "attribute", "active", 0);
	SetSceneItem("D_w140", "attribute", "active", 0);
	SetSceneItem("D_w141", "attribute", "active", 0);
	SetSceneItem("D_w142", "attribute", "active", 0);
	SetSceneItem("D_w143", "attribute", "active", 0);
	SetSceneItem("D_w144", "attribute", "active", 0);
	SetSceneItem("D_w145", "attribute", "active", 0);
	SetSceneItem("D_w146", "attribute", "active", 0);
	SetSceneItem("D_w147", "attribute", "active", 0);
	SetSceneItem("D_w148", "attribute", "active", 0);
	SetSceneItem("D_w149", "attribute", "active", 0);
	SetSceneItem("D_w150", "attribute", "active", 0);
	SetSceneItem("D_w151", "attribute", "active", 0);

	SetSceneItem("D_Wpn10", "attribute", "active", 0);
	SetSceneItem("D_Wpn11", "attribute", "active", 0);
	SetSceneItem("D_Wpn12", "attribute", "active", 0);
	SetSceneItem("D_Wpn13", "attribute", "active", 0);
	SetSceneItem("D_Wpn14", "attribute", "active", 0);
	SetSceneItem("D_Wpn15", "attribute", "active", 0);
	SetSceneItem("D_Wpn16", "attribute", "active", 0);
	SetSceneItem("D_Wpn17", "attribute", "active", 0);
	SetSceneItem("D_Wpn18", "attribute", "active", 0);
	SetSceneItem("D_Wpn19", "attribute", "active", 0);
	SetSceneItem("D_Wpn20", "attribute", "active", 0);
	SetSceneItem("D_Wpn21", "attribute", "active", 0);
	SetSceneItem("D_Wpn22", "attribute", "active", 0);
	SetSceneItem("D_Wpn23", "attribute", "active", 0);
	SetSceneItem("D_Wpn24", "attribute", "active", 0);
	SetSceneItem("D_Wpn25", "attribute", "active", 0);
	SetSceneItem("D_Wpn26", "attribute", "active", 0);
	SetSceneItem("D_Wpn27", "attribute", "active", 0);
	SetSceneItem("D_Wpn28", "attribute", "active", 0);


                SetSceneItem("D_WK03", "attribute", "damage", 1);
                SetSceneItem("D_WK04", "attribute", "damage", 1);
                SetSceneItem("D_WK05", "attribute", "damage", 1);
                SetSceneItem("D_WK06", "attribute", "damage", 1);
                SetSceneItem("D_WK07", "attribute", "damage", 1);
                SetSceneItem("D_WK08", "attribute", "damage", 1);
                SetSceneItem("D_WK09", "attribute", "damage", 1);
                SetSceneItem("D_WK10", "attribute", "damage", 1);
                SetSceneItem("D_WK13", "attribute", "damage", 1);
                SetSceneItem("D_WK14", "attribute", "damage", 1);
                SetSceneItem("D_WK15", "attribute", "damage", 1);
                SetSceneItem("D_WK16", "attribute", "damage", 1);
                SetSceneItem("D_WK17", "attribute", "damage", 1);
                SetSceneItem("D_WK20", "attribute", "damage", 1);
                SetSceneItem("D_WK21", "attribute", "damage", 1);
                SetSceneItem("D_WK25", "attribute", "damage", 1);
                SetSceneItem("D_WK26", "attribute", "damage", 1);
                SetSceneItem("D_WK27", "attribute", "damage", 1);
                SetSceneItem("D_WK28", "attribute", "damage", 1);
                SetSceneItem("D_WK29", "attribute", "damage", 1);
                SetSceneItem("D_WK30", "attribute", "damage", 1);
                SetSceneItem("D_WK31", "attribute", "damage", 1);
                SetSceneItem("D_WK32", "attribute", "damage", 1);
                SetSceneItem("D_WK33", "attribute", "damage", 1);
                SetSceneItem("D_WK42", "attribute", "damage", 1);
                SetSceneItem("D_WK43", "attribute", "damage", 1);
                SetSceneItem("D_WK44", "attribute", "damage", 1);
                SetSceneItem("D_WK45", "attribute", "damage", 1);
                SetSceneItem("D_WK46", "attribute", "damage", 1);
                SetSceneItem("D_WK47", "attribute", "damage", 1);
                SetSceneItem("D_WK48", "attribute", "damage", 1);
                SetSceneItem("D_WK49", "attribute", "damage", 1);
                SetSceneItem("D_WK50", "attribute", "damage", 1);
                SetSceneItem("D_WK51", "attribute", "damage", 1);
                SetSceneItem("D_WK52", "attribute", "damage", 1);
                SetSceneItem("D_WK53", "attribute", "damage", 1);
                SetSceneItem("D_WK54", "attribute", "damage", 1);
                SetSceneItem("D_WK55", "attribute", "damage", 1);
                SetSceneItem("D_WK56", "attribute", "damage", 1);
                SetSceneItem("D_WK57", "attribute", "damage", 1);
                SetSceneItem("D_WK58", "attribute", "damage", 1);
                SetSceneItem("D_WK59", "attribute", "damage", 1);
                SetSceneItem("D_WK60", "attribute", "damage", 1);
                SetSceneItem("D_WK61", "attribute", "damage", 1);
                SetSceneItem("D_WK62", "attribute", "damage", 1);
                SetSceneItem("D_WK63", "attribute", "damage", 1);
                SetSceneItem("D_WK64", "attribute", "damage", 1);
                SetSceneItem("D_WK65", "attribute", "damage", 1);
                SetSceneItem("D_WK66", "attribute", "damage", 1);
                SetSceneItem("D_WK67", "attribute", "damage", 1);
                SetSceneItem("D_WK68", "attribute", "damage", 1);
                SetSceneItem("D_WK69", "attribute", "damage", 1);
                SetSceneItem("D_WK70", "attribute", "damage", 1);
                SetSceneItem("D_WK71", "attribute", "damage", 1);
                SetSceneItem("D_WK72", "attribute", "damage", 1);
                SetSceneItem("D_WK73", "attribute", "damage", 1);
                SetSceneItem("D_WK74", "attribute", "damage", 1);
                SetSceneItem("D_WK75", "attribute", "damage", 1);
                SetSceneItem("D_WK76", "attribute", "damage", 1);
                SetSceneItem("D_WK77", "attribute", "damage", 1);
                SetSceneItem("D_WK78", "attribute", "damage", 1);
                SetSceneItem("D_WK79", "attribute", "damage", 1);
                SetSceneItem("D_WK80", "attribute", "damage", 1);
                SetSceneItem("D_WK81", "attribute", "damage", 1);
                SetSceneItem("D_WK82", "attribute", "damage", 1);
                SetSceneItem("D_WK83", "attribute", "damage", 1);
                SetSceneItem("D_WK84", "attribute", "damage", 1);
                SetSceneItem("D_WK88", "attribute", "damage", 1);
                SetSceneItem("D_WK89", "attribute", "damage", 1);
                SetSceneItem("D_WK90", "attribute", "damage", 1);
                SetSceneItem("D_WK91", "attribute", "damage", 1);
                SetSceneItem("D_WK92", "attribute", "damage", 1);
                SetSceneItem("D_WK96", "attribute", "damage", 1);
                SetSceneItem("D_WK97", "attribute", "damage", 1);
                SetSceneItem("D_WK98", "attribute", "damage", 1);
                SetSceneItem("D_WK99", "attribute", "damage", 1);
                SetSceneItem("D_WK100", "attribute", "damage", 1);
                SetSceneItem("D_WK101", "attribute", "damage", 1);
                SetSceneItem("D_WK102", "attribute", "damage", 1);
                SetSceneItem("D_WK103", "attribute", "damage", 1);
                SetSceneItem("D_WK104", "attribute", "damage", 1);
                SetSceneItem("D_WK105", "attribute", "damage", 1);
                SetSceneItem("D_WK106", "attribute", "damage", 1);
                SetSceneItem("D_WK107", "attribute", "damage", 1);
                SetSceneItem("D_WK108", "attribute", "damage", 1);
                SetSceneItem("D_WK109", "attribute", "damage", 1);
                SetSceneItem("D_WK110", "attribute", "damage", 1);
                SetSceneItem("D_WK111", "attribute", "damage", 1);
                SetSceneItem("D_WK112", "attribute", "damage", 1);
                SetSceneItem("D_WK113", "attribute", "damage", 1);
                SetSceneItem("D_WK114", "attribute", "damage", 1);
                SetSceneItem("D_WK115", "attribute", "damage", 1);
                SetSceneItem("D_WK116", "attribute", "damage", 1);
                SetSceneItem("D_WK117", "attribute", "damage", 1);
                SetSceneItem("D_WK118", "attribute", "damage", 1);
                SetSceneItem("D_WK119", "attribute", "damage", 1);
                SetSceneItem("D_WK120", "attribute", "damage", 1);
                SetSceneItem("D_WK121", "attribute", "damage", 1);
                SetSceneItem("D_WK122", "attribute", "damage", 1);
                SetSceneItem("D_WK123", "attribute", "damage", 1);
                SetSceneItem("D_WK124", "attribute", "damage", 1);
                SetSceneItem("D_WK125", "attribute", "damage", 1);
                SetSceneItem("D_WK126", "attribute", "damage", 1);
                SetSceneItem("D_WK127", "attribute", "damage", 1);
                SetSceneItem("D_WK128", "attribute", "damage", 1);
                SetSceneItem("D_WK129", "attribute", "damage", 1);
                SetSceneItem("D_WK130", "attribute", "damage", 1);
                SetSceneItem("D_WK131", "attribute", "damage", 1);
                SetSceneItem("D_WK132", "attribute", "damage", 1);
                SetSceneItem("D_WK133", "attribute", "damage", 1);
                SetSceneItem("D_WK134", "attribute", "damage", 1);
                SetSceneItem("D_WK135", "attribute", "damage", 1);
                SetSceneItem("D_WK136", "attribute", "damage", 1);
                SetSceneItem("D_WK137", "attribute", "damage", 1);
                SetSceneItem("D_WK138", "attribute", "damage", 1);
                SetSceneItem("D_WK139", "attribute", "damage", 1);
                SetSceneItem("D_WK140", "attribute", "damage", 1);
                SetSceneItem("D_WK141", "attribute", "damage", 1);
                SetSceneItem("D_WK142", "attribute", "damage", 1);
                SetSceneItem("D_WK143", "attribute", "damage", 1);
                SetSceneItem("D_WK144", "attribute", "damage", 1);
                SetSceneItem("D_WK145", "attribute", "damage", 1);
                SetSceneItem("D_WK149", "attribute", "damage", 1);
                SetSceneItem("D_WK150", "attribute", "damage", 1);
                SetSceneItem("D_WK151", "attribute", "damage", 1);
                SetSceneItem("D_WK152", "attribute", "damage", 1);
                SetSceneItem("D_WK153", "attribute", "damage", 1);
                SetSceneItem("D_WK154", "attribute", "damage", 1);
                SetSceneItem("D_WK155", "attribute", "damage", 1);
                SetSceneItem("D_WK156", "attribute", "damage", 1);
                SetSceneItem("D_WK157", "attribute", "damage", 1);
                SetSceneItem("D_WK158", "attribute", "damage", 1);
                SetSceneItem("D_WK159", "attribute", "damage", 1);
                SetSceneItem("D_WK160", "attribute", "damage", 1);
                SetSceneItem("D_WK161", "attribute", "damage", 1);
                SetSceneItem("D_WK162", "attribute", "damage", 1);
                SetSceneItem("D_WK163", "attribute", "damage", 1);
                SetSceneItem("D_WK164", "attribute", "damage", 1);
                SetSceneItem("D_WK165", "attribute", "damage", 1);
                SetSceneItem("D_WK166", "attribute", "damage", 1);
                SetSceneItem("D_WK167", "attribute", "damage", 1);
                SetSceneItem("D_WK168", "attribute", "damage", 1);
                SetSceneItem("D_WK169", "attribute", "damage", 1);
                SetSceneItem("D_WK170", "attribute", "damage", 1);
                SetSceneItem("D_WK171", "attribute", "damage", 1);
                SetSceneItem("D_WK172", "attribute", "damage", 1);
                SetSceneItem("D_WK173", "attribute", "damage", 1);
                SetSceneItem("D_WK174", "attribute", "damage", 1);
                SetSceneItem("D_WK175", "attribute", "damage", 1);
                SetSceneItem("D_WK176", "attribute", "damage", 1);
                SetSceneItem("D_WK177", "attribute", "damage", 1);
                SetSceneItem("D_WK178", "attribute", "damage", 1);
                SetSceneItem("D_WK179", "attribute", "damage", 1);
                SetSceneItem("D_WK180", "attribute", "damage", 1);
                SetSceneItem("D_WK181", "attribute", "damage", 1);
                SetSceneItem("D_WK182", "attribute", "damage", 1);
                SetSceneItem("D_WK183", "attribute", "damage", 1);
                SetSceneItem("D_WK184", "attribute", "damage", 1);
                SetSceneItem("D_WK185", "attribute", "damage", 1);
                SetSceneItem("D_WK215", "attribute", "damage", 1);
                SetSceneItem("D_WK216", "attribute", "damage", 1);
                SetSceneItem("D_WK217", "attribute", "damage", 1);
                SetSceneItem("D_WK218", "attribute", "damage", 1);
                SetSceneItem("D_WK219", "attribute", "damage", 1);
                SetSceneItem("D_WK220", "attribute", "damage", 1);
                SetSceneItem("D_WK221", "attribute", "damage", 1);
                SetSceneItem("D_WK222", "attribute", "damage", 1);
                SetSceneItem("D_WK223", "attribute", "damage", 1);
                SetSceneItem("D_WK224", "attribute", "damage", 1);
                SetSceneItem("D_WK225", "attribute", "damage", 1);
                SetSceneItem("D_WK226", "attribute", "damage", 1);
                SetSceneItem("D_WK227", "attribute", "damage", 1);
                SetSceneItem("D_WK228", "attribute", "damage", 1);
                SetSceneItem("D_WK229", "attribute", "damage", 1);
                SetSceneItem("D_WK230", "attribute", "damage", 1);
                SetSceneItem("D_WK231", "attribute", "damage", 1);
                SetSceneItem("D_WK232", "attribute", "damage", 1);
                SetSceneItem("D_WK233", "attribute", "damage", 1);
                SetSceneItem("D_WK234", "attribute", "damage", 1);
                SetSceneItem("D_WK235", "attribute", "damage", 1);
                SetSceneItem("D_WK236", "attribute", "damage", 1);
                SetSceneItem("D_WK237", "attribute", "damage", 1);
                SetSceneItem("D_WK238", "attribute", "damage", 1);
                SetSceneItem("D_WK239", "attribute", "damage", 1);
                SetSceneItem("D_WK240", "attribute", "damage", 1);
                SetSceneItem("D_WK241", "attribute", "damage", 1);
                SetSceneItem("D_WK242", "attribute", "damage", 1);
                SetSceneItem("D_WK243", "attribute", "damage", 1);
                SetSceneItem("D_WK244", "attribute", "damage", 1);

	SetSceneItem("D_tpEC01", "attribute", "active", 0);
	SetSceneItem("D_tpEC02", "attribute", "active", 0);
	SetSceneItem("D_tpEC03", "attribute", "active", 0);
	SetSceneItem("D_tpEC04", "attribute", "active", 0);
	SetSceneItem("D_tpEC05", "attribute", "active", 0);
	SetSceneItem("D_tpEC06", "attribute", "active", 0);
	SetSceneItem("D_tpEC07", "attribute", "active", 0);
	SetSceneItem("D_tpEC08", "attribute", "active", 0);
	SetSceneItem("D_tpEC09", "attribute", "active", 0);
	SetSceneItem("D_tpEC10", "attribute", "active", 0);
	SetSceneItem("D_tpEC11", "attribute", "active", 0);
	SetSceneItem("D_tpEC12", "attribute", "active", 0);
	SetSceneItem("D_tpEC13", "attribute", "active", 0);
	SetSceneItem("D_tpEC14", "attribute", "active", 0);
	SetSceneItem("D_tpEC15", "attribute", "active", 0);

	SetSceneItem("D_WK01", "attribute", "active", 0);
	SetSceneItem("D_WK02", "attribute", "active", 0);
	SetSceneItem("D_WK03", "attribute", "active", 0);
	SetSceneItem("D_WK04", "attribute", "active", 0);
	SetSceneItem("D_WK05", "attribute", "active", 0);
	SetSceneItem("D_WK06", "attribute", "active", 0);
	SetSceneItem("D_WK07", "attribute", "active", 0);
	SetSceneItem("D_WK08", "attribute", "active", 0);
	SetSceneItem("D_WK09", "attribute", "active", 0);
	SetSceneItem("D_WK10", "attribute", "active", 0);
	SetSceneItem("D_WK11", "attribute", "active", 0);
	SetSceneItem("D_WK12", "attribute", "active", 0);
	SetSceneItem("D_WK13", "attribute", "active", 0);
	SetSceneItem("D_WK14", "attribute", "active", 0);
	SetSceneItem("D_WK15", "attribute", "active", 0);
	SetSceneItem("D_WK16", "attribute", "active", 0);
	SetSceneItem("D_WK17", "attribute", "active", 0);
	SetSceneItem("D_WK18", "attribute", "active", 0);
	SetSceneItem("D_WK19", "attribute", "active", 0);
	SetSceneItem("D_WK20", "attribute", "active", 0);
	SetSceneItem("D_WK21", "attribute", "active", 0);
	SetSceneItem("D_WK22", "attribute", "active", 0);
	SetSceneItem("D_WK23", "attribute", "active", 0);
	SetSceneItem("D_WK24", "attribute", "active", 0);
	SetSceneItem("D_WK25", "attribute", "active", 0);
	SetSceneItem("D_WK26", "attribute", "active", 0);
	SetSceneItem("D_WK27", "attribute", "active", 0);
	SetSceneItem("D_WK28", "attribute", "active", 0);
	SetSceneItem("D_WK29", "attribute", "active", 0);
	SetSceneItem("D_WK30", "attribute", "active", 0);
	SetSceneItem("D_WK31", "attribute", "active", 0);
	SetSceneItem("D_WK32", "attribute", "active", 0);
	SetSceneItem("D_WK33", "attribute", "active", 0);
	SetSceneItem("D_WK42", "attribute", "active", 0);
	SetSceneItem("D_WK43", "attribute", "active", 0);
	SetSceneItem("D_WK44", "attribute", "active", 0);
	SetSceneItem("D_WK45", "attribute", "active", 0);
	SetSceneItem("D_WK46", "attribute", "active", 0);
	SetSceneItem("D_WK47", "attribute", "active", 0);
	SetSceneItem("D_WK48", "attribute", "active", 0);
	SetSceneItem("D_WK49", "attribute", "active", 0);
	SetSceneItem("D_WK50", "attribute", "active", 0);
	SetSceneItem("D_WK51", "attribute", "active", 0);
	SetSceneItem("D_WK52", "attribute", "active", 0);
	SetSceneItem("D_WK53", "attribute", "active", 0);
	SetSceneItem("D_WK54", "attribute", "active", 0);
	SetSceneItem("D_WK55", "attribute", "active", 0);
	SetSceneItem("D_WK56", "attribute", "active", 0);
	SetSceneItem("D_WK57", "attribute", "active", 0);
	SetSceneItem("D_WK58", "attribute", "active", 0);
	SetSceneItem("D_WK59", "attribute", "active", 0);
	SetSceneItem("D_WK60", "attribute", "active", 0);
	SetSceneItem("D_WK61", "attribute", "active", 0);
	SetSceneItem("D_WK62", "attribute", "active", 0);
	SetSceneItem("D_WK63", "attribute", "active", 0);
	SetSceneItem("D_WK64", "attribute", "active", 0);
	SetSceneItem("D_WK65", "attribute", "active", 0);
	SetSceneItem("D_WK66", "attribute", "active", 0);
	SetSceneItem("D_WK67", "attribute", "active", 0);
	SetSceneItem("D_WK68", "attribute", "active", 0);
	SetSceneItem("D_WK69", "attribute", "active", 0);
	SetSceneItem("D_WK70", "attribute", "active", 0);
	SetSceneItem("D_WK71", "attribute", "active", 0);
	SetSceneItem("D_WK72", "attribute", "active", 0);
	SetSceneItem("D_WK73", "attribute", "active", 0);
	SetSceneItem("D_WK74", "attribute", "active", 0);
	SetSceneItem("D_WK75", "attribute", "active", 0);
	SetSceneItem("D_WK76", "attribute", "active", 0);
	SetSceneItem("D_WK77", "attribute", "active", 0);
	SetSceneItem("D_WK78", "attribute", "active", 0);
	SetSceneItem("D_WK79", "attribute", "active", 0);
	SetSceneItem("D_WK80", "attribute", "active", 0);
	SetSceneItem("D_WK81", "attribute", "active", 0);
	SetSceneItem("D_WK82", "attribute", "active", 0);
	SetSceneItem("D_WK83", "attribute", "active", 0);
	SetSceneItem("D_WK84", "attribute", "active", 0);
	SetSceneItem("D_WK85", "attribute", "active", 0);
	SetSceneItem("D_WK86", "attribute", "active", 0);
	SetSceneItem("D_WK87", "attribute", "active", 0);
	SetSceneItem("D_WK88", "attribute", "active", 0);
	SetSceneItem("D_WK89", "attribute", "active", 0);
	SetSceneItem("D_WK90", "attribute", "active", 0);
	SetSceneItem("D_WK91", "attribute", "active", 0);
	SetSceneItem("D_WK92", "attribute", "active", 0);
	SetSceneItem("D_WK94", "attribute", "active", 0);
	SetSceneItem("D_WK95", "attribute", "active", 0);
	SetSceneItem("D_WK96", "attribute", "active", 0);
	SetSceneItem("D_WK97", "attribute", "active", 0);
	SetSceneItem("D_WK98", "attribute", "active", 0);
	SetSceneItem("D_WK99", "attribute", "active", 0);
	SetSceneItem("D_WK100", "attribute", "active", 0);
	SetSceneItem("D_WK101", "attribute", "active", 0);
	SetSceneItem("D_WK102", "attribute", "active", 0);
	SetSceneItem("D_WK103", "attribute", "active", 0);
	SetSceneItem("D_WK104", "attribute", "active", 0);
	SetSceneItem("D_WK105", "attribute", "active", 0);
	SetSceneItem("D_WK106", "attribute", "active", 0);
	SetSceneItem("D_WK107", "attribute", "active", 0);
	SetSceneItem("D_WK108", "attribute", "active", 0);
	SetSceneItem("D_WK109", "attribute", "active", 0);
	SetSceneItem("D_WK110", "attribute", "active", 0);
	SetSceneItem("D_WK111", "attribute", "active", 0);
	SetSceneItem("D_WK112", "attribute", "active", 0);
	SetSceneItem("D_WK113", "attribute", "active", 0);
	SetSceneItem("D_WK114", "attribute", "active", 0);
	SetSceneItem("D_WK115", "attribute", "active", 0);
	SetSceneItem("D_WK116", "attribute", "active", 0);
	SetSceneItem("D_WK117", "attribute", "active", 0);
	SetSceneItem("D_WK118", "attribute", "active", 0);
	SetSceneItem("D_WK119", "attribute", "active", 0);
	SetSceneItem("D_WK120", "attribute", "active", 0);
	SetSceneItem("D_WK121", "attribute", "active", 0);
	SetSceneItem("D_WK122", "attribute", "active", 0);
	SetSceneItem("D_WK123", "attribute", "active", 0);
	SetSceneItem("D_WK124", "attribute", "active", 0);
	SetSceneItem("D_WK125", "attribute", "active", 0);
	SetSceneItem("D_WK126", "attribute", "active", 0);
	SetSceneItem("D_WK127", "attribute", "active", 0);
	SetSceneItem("D_WK128", "attribute", "active", 0);
	SetSceneItem("D_WK129", "attribute", "active", 0);
	SetSceneItem("D_WK130", "attribute", "active", 0);
	SetSceneItem("D_WK131", "attribute", "active", 0);
	SetSceneItem("D_WK132", "attribute", "active", 0);
	SetSceneItem("D_WK133", "attribute", "active", 0);
	SetSceneItem("D_WK134", "attribute", "active", 0);
	SetSceneItem("D_WK135", "attribute", "active", 0);
	SetSceneItem("D_WK136", "attribute", "active", 0);
	SetSceneItem("D_WK137", "attribute", "active", 0);
	SetSceneItem("D_WK138", "attribute", "active", 0);
	SetSceneItem("D_WK139", "attribute", "active", 0);
	SetSceneItem("D_WK140", "attribute", "active", 0);
	SetSceneItem("D_WK141", "attribute", "active", 0);
	SetSceneItem("D_WK142", "attribute", "active", 0);
	SetSceneItem("D_WK143", "attribute", "active", 0);
	SetSceneItem("D_WK144", "attribute", "active", 0);
	SetSceneItem("D_WK145", "attribute", "active", 0);
	SetSceneItem("D_WK146", "attribute", "active", 0);
	SetSceneItem("D_WK147", "attribute", "active", 0);
	SetSceneItem("D_WK148", "attribute", "active", 0);
	SetSceneItem("D_WK149", "attribute", "active", 0);
	SetSceneItem("D_WK150", "attribute", "active", 0);
	SetSceneItem("D_WK151", "attribute", "active", 0);
	SetSceneItem("D_WK152", "attribute", "active", 0);
	SetSceneItem("D_WK153", "attribute", "active", 0);
	SetSceneItem("D_WK154", "attribute", "active", 0);
	SetSceneItem("D_WK155", "attribute", "active", 0);
	SetSceneItem("D_WK156", "attribute", "active", 0);
	SetSceneItem("D_WK157", "attribute", "active", 0);
	SetSceneItem("D_WK158", "attribute", "active", 0);
	SetSceneItem("D_WK159", "attribute", "active", 0);
	SetSceneItem("D_WK160", "attribute", "active", 0);
	SetSceneItem("D_WK161", "attribute", "active", 0);
	SetSceneItem("D_WK162", "attribute", "active", 0);
	SetSceneItem("D_WK163", "attribute", "active", 0);
	SetSceneItem("D_WK164", "attribute", "active", 0);
	SetSceneItem("D_WK165", "attribute", "active", 0);
	SetSceneItem("D_WK166", "attribute", "active", 0);
	SetSceneItem("D_WK167", "attribute", "active", 0);
	SetSceneItem("D_WK168", "attribute", "active", 0);
	SetSceneItem("D_WK169", "attribute", "active", 0);
	SetSceneItem("D_WK170", "attribute", "active", 0);
	SetSceneItem("D_WK171", "attribute", "active", 0);
	SetSceneItem("D_WK172", "attribute", "active", 0);
	SetSceneItem("D_WK173", "attribute", "active", 0);
	SetSceneItem("D_WK174", "attribute", "active", 0);
	SetSceneItem("D_WK175", "attribute", "active", 0);
	SetSceneItem("D_WK176", "attribute", "active", 0);
	SetSceneItem("D_WK177", "attribute", "active", 0);
	SetSceneItem("D_WK178", "attribute", "active", 0);
	SetSceneItem("D_WK179", "attribute", "active", 0);
	SetSceneItem("D_WK180", "attribute", "active", 0);
	SetSceneItem("D_WK181", "attribute", "active", 0);
	SetSceneItem("D_WK182", "attribute", "active", 0);
	SetSceneItem("D_WK183", "attribute", "active", 0);
	SetSceneItem("D_WK184", "attribute", "active", 0);
	SetSceneItem("D_WK185", "attribute", "active", 0);
	SetSceneItem("D_WK186", "attribute", "active", 0);
	SetSceneItem("D_WK187", "attribute", "active", 0);
	SetSceneItem("D_WK188", "attribute", "active", 0);
	SetSceneItem("D_WK189", "attribute", "active", 0);
	SetSceneItem("D_WK190", "attribute", "active", 0);
	SetSceneItem("D_WK191", "attribute", "active", 0);
	SetSceneItem("D_WK192", "attribute", "active", 0);
	SetSceneItem("D_WK193", "attribute", "active", 0);
	SetSceneItem("D_WK194", "attribute", "active", 0);
	SetSceneItem("D_WK195", "attribute", "active", 0);
	SetSceneItem("D_WK196", "attribute", "active", 0);
	SetSceneItem("D_WK197", "attribute", "active", 0);
	SetSceneItem("D_WK198", "attribute", "active", 0);
	SetSceneItem("D_WK199", "attribute", "active", 0);
	SetSceneItem("D_WK200", "attribute", "active", 0);
	SetSceneItem("D_WK201", "attribute", "active", 0);
	SetSceneItem("D_WK202", "attribute", "active", 0);
	SetSceneItem("D_WK203", "attribute", "active", 0);
	SetSceneItem("D_WK204", "attribute", "active", 0);
	SetSceneItem("D_WK205", "attribute", "active", 0);
	SetSceneItem("D_WK206", "attribute", "active", 0);
	SetSceneItem("D_WK207", "attribute", "active", 0);
	SetSceneItem("D_WK208", "attribute", "active", 0);
	SetSceneItem("D_WK209", "attribute", "active", 0);
	SetSceneItem("D_WK210", "attribute", "active", 0);
	SetSceneItem("D_WK211", "attribute", "active", 0);
	SetSceneItem("D_WK212", "attribute", "active", 0);
	SetSceneItem("D_WK213", "attribute", "active", 0);
	SetSceneItem("D_WK214", "attribute", "active", 0);
	SetSceneItem("D_WK215", "attribute", "active", 0);
	SetSceneItem("D_WK216", "attribute", "active", 0);
	SetSceneItem("D_WK217", "attribute", "active", 0);
	SetSceneItem("D_WK218", "attribute", "active", 0);
	SetSceneItem("D_WK219", "attribute", "active", 0);
	SetSceneItem("D_WK220", "attribute", "active", 0);
	SetSceneItem("D_WK221", "attribute", "active", 0);
	SetSceneItem("D_WK222", "attribute", "active", 0);
	SetSceneItem("D_WK223", "attribute", "active", 0);
	SetSceneItem("D_WK224", "attribute", "active", 0);
	SetSceneItem("D_WK225", "attribute", "active", 0);
	SetSceneItem("D_WK226", "attribute", "active", 0);
	SetSceneItem("D_WK227", "attribute", "active", 0);
	SetSceneItem("D_WK228", "attribute", "active", 0);
	SetSceneItem("D_WK229", "attribute", "active", 0);
	SetSceneItem("D_WK230", "attribute", "active", 0);
	SetSceneItem("D_WK231", "attribute", "active", 0);
	SetSceneItem("D_WK232", "attribute", "active", 0);
	SetSceneItem("D_WK233", "attribute", "active", 0);
	SetSceneItem("D_WK234", "attribute", "active", 0);
	SetSceneItem("D_WK235", "attribute", "active", 0);
	SetSceneItem("D_WK236", "attribute", "active", 0);
	SetSceneItem("D_WK237", "attribute", "active", 0);
	SetSceneItem("D_WK238", "attribute", "active", 0);
	SetSceneItem("D_WK239", "attribute", "active", 0);
	SetSceneItem("D_WK240", "attribute", "active", 0);
	SetSceneItem("D_WK241", "attribute", "active", 0);
	SetSceneItem("D_WK242", "attribute", "active", 0);
	SetSceneItem("D_WK243", "attribute", "active", 0);
	SetSceneItem("D_WK244", "attribute", "active", 0);
	SetSceneItem("D_WK245", "attribute", "active", 0);
	SetSceneItem("D_WK246", "attribute", "active", 0);
	SetSceneItem("D_WK247", "attribute", "active", 0);
	SetSceneItem("D_WK248", "attribute", "active", 0);
	SetSceneItem("D_WK249", "attribute", "active", 0);
	SetSceneItem("D_WK250", "attribute", "active", 0);

                SetSceneItem("D_sn02st09", "attribute", "damage", 1);
                SetSceneItem("D_sn02st10", "attribute", "damage", 1);
                SetSceneItem("D_sn02st11", "attribute", "damage", 1);

	SetSceneItem("D_sn08B01", "attribute", "interactive", 0);
	SetSceneItem("D_sn08B03", "attribute", "interactive", 0);
	
	SetSceneItem("D_sn08B01", "pose", 1, 1);
	SetSceneItem("D_sn08B02", "pose", 1, 1);
	SetSceneItem("D_sn08B03", "pose", 1, 1);

	SetSceneItem("D_sn02st01", "attribute", "active", 0);
	SetSceneItem("D_sn02st02", "attribute", "active", 0);
	SetSceneItem("D_sn02st03", "attribute", "active", 0);
	SetSceneItem("D_sn02st04", "attribute", "active", 0);
	SetSceneItem("D_sn02st05", "attribute", "active", 0);
	SetSceneItem("D_sn02st06", "attribute", "active", 0);
	SetSceneItem("D_sn02st07", "attribute", "active", 0);
	SetSceneItem("D_sn02st08", "attribute", "active", 0);
	SetSceneItem("D_sn02st09", "attribute", "active", 0);
	SetSceneItem("D_sn02st10", "attribute", "active", 0);
	SetSceneItem("D_sn02st11", "attribute", "active", 0);

}

D_Item01_OnPickUp()
{
	NetEvent(1);
	
	SetSceneItem("D_sn02st01", "attribute", "active", 1);
	SetSceneItem("D_sn02st02", "attribute", "active", 1);
	SetSceneItem("D_sn02st03", "attribute", "active", 1);
	SetSceneItem("D_sn02st04", "attribute", "active", 1);
	SetSceneItem("D_sn02st05", "attribute", "active", 1);
	SetSceneItem("D_sn02st06", "attribute", "active", 1);
	SetSceneItem("D_sn02st07", "attribute", "active", 1);
	SetSceneItem("D_sn02st08", "attribute", "active", 1);
	SetSceneItem("D_sn02st09", "attribute", "active", 1);
	SetSceneItem("D_sn02st10", "attribute", "active", 1);
	SetSceneItem("D_sn02st11", "attribute", "active", 1);
	
	CreateEffect("D_sn02st01", "FuTi-UP", 1);
	SetSceneItem("D_sn02st01", "pose", 1, 1);
	SetSceneItem("D_sn02st01", "frame", 180);

	SetSceneItem("D_sn02st02", "pose", 1, 1);
	SetSceneItem("D_sn02st02", "frame", 160);

	SetSceneItem("D_sn02st03", "pose", 1, 1);
	SetSceneItem("D_sn02st03", "frame", 140);

	SetSceneItem("D_sn02st04", "pose", 1, 1);
	SetSceneItem("D_sn02st04", "frame", 120);

	SetSceneItem("D_sn02st05", "pose", 1, 1);
	SetSceneItem("D_sn02st05", "frame", 100);

	SetSceneItem("D_sn02st06", "pose", 1, 1);
	SetSceneItem("D_sn02st06", "frame", 80);

	SetSceneItem("D_sn02st07", "pose", 1, 1);
	SetSceneItem("D_sn02st07", "frame", 60);

	SetSceneItem("D_sn02st08", "pose", 1, 1);
	SetSceneItem("D_sn02st08", "frame", 40);

	SetSceneItem("D_sn02st09", "pose", 1, 1);
	SetSceneItem("D_sn02st09", "frame", 20);

	SetSceneItem("D_sn02st10", "pose", 1, 1);
	SetSceneItem("D_sn02st10", "frame", 0);

	SetSceneItem("D_sn02st11", "pose", 1, 1);
	SetSceneItem("D_sn02st11", "frame", 80);

	SetSceneItem("D_JC01", "pose", 1, 1);
	SetSceneItem("D_JC01", "frame", 80);

	SetSceneItem("D_JC02", "pose", 1, 1);
	SetSceneItem("D_JC02", "frame", 80);

	SetSceneItem("D_JC03", "pose", 1, 1);
	SetSceneItem("D_JC03", "frame", 80);

	SetSceneItem("D_JC04", "pose", 1, 1);
	SetSceneItem("D_JC04", "frame", 80);

	SetSceneItem("D_JC05", "pose", 1, 1);
	SetSceneItem("D_JC05", "frame", 80);

	SetSceneItem("D_JC06", "pose", 1, 1);
	SetSceneItem("D_JC06", "frame", 80);

}
D_Item02_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_tpEC01", "attribute", "active", 1);

}
D_Item03_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_tpEC02", "attribute", "active", 1);

}
D_Item04_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_tpEC03", "attribute", "active", 1);

}
D_Item05_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_tpEC04", "attribute", "active", 1);

}
D_Item06_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_tpEC05", "attribute", "active", 1);

}
D_Item07_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_tpEC06", "attribute", "active", 1);

}
D_Item08_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_sn02st01", "attribute", "active", 0);
	SetSceneItem("D_sn02st02", "attribute", "active", 0);
	SetSceneItem("D_sn02st03", "attribute", "active", 0);
	SetSceneItem("D_sn02st04", "attribute", "active", 0);
	SetSceneItem("D_sn02st05", "attribute", "active", 0);
	SetSceneItem("D_sn02st06", "attribute", "active", 0);
	SetSceneItem("D_sn02st07", "attribute", "active", 0);
	SetSceneItem("D_sn02st08", "attribute", "active", 0);
	SetSceneItem("D_sn02st09", "attribute", "active", 0);
	SetSceneItem("D_sn02st10", "attribute", "active", 0);
	SetSceneItem("D_sn02st11", "attribute", "active", 0);

                SetSceneItem("D_YZ01", "attribute", "active", 0);
	SetSceneItem("D_YZ02", "attribute", "active", 0);
	SetSceneItem("D_YZ03", "attribute", "active", 0);
	SetSceneItem("D_YZ04", "attribute", "active", 0);
	SetSceneItem("D_YZ05", "attribute", "active", 0);
	SetSceneItem("D_YZ06", "attribute", "active", 0);
	SetSceneItem("D_YZ07", "attribute", "active", 0);
	SetSceneItem("D_YZ08", "attribute", "active", 0);
	SetSceneItem("D_YZ09", "attribute", "active", 0);
	SetSceneItem("D_YZ10", "attribute", "active", 0);
	SetSceneItem("D_YZ11", "attribute", "active", 0);
	SetSceneItem("D_YZ12", "attribute", "active", 0);
	SetSceneItem("D_YZ13", "attribute", "active", 0);
	SetSceneItem("D_YZ14", "attribute", "active", 0);
	SetSceneItem("D_YZ15", "attribute", "active", 0);
	SetSceneItem("D_YZ16", "attribute", "active", 0);
	SetSceneItem("D_YZ17", "attribute", "active", 0);
	SetSceneItem("D_YZ18", "attribute", "active", 0);
	SetSceneItem("D_YZ19", "attribute", "active", 0);
	SetSceneItem("D_YZ20", "attribute", "active", 0);
	SetSceneItem("D_YZ21", "attribute", "active", 0);
	SetSceneItem("D_YZ22", "attribute", "active", 0);
	SetSceneItem("D_YZ23", "attribute", "active", 0);
	SetSceneItem("D_YZ24", "attribute", "active", 0);
	SetSceneItem("D_YZ25", "attribute", "active", 0);
	SetSceneItem("D_YZ26", "attribute", "active", 0);
	SetSceneItem("D_YZ27", "attribute", "active", 0);
	SetSceneItem("D_YZ28", "attribute", "active", 0);
	SetSceneItem("D_YZ29", "attribute", "active", 0);
	SetSceneItem("D_YZ30", "attribute", "active", 0);
	SetSceneItem("D_YZ31", "attribute", "active", 0);
	SetSceneItem("D_YZ32", "attribute", "active", 0);
	SetSceneItem("D_YZ33", "attribute", "active", 0);
	SetSceneItem("D_YZ34", "attribute", "active", 0);
	SetSceneItem("D_YZ35", "attribute", "active", 0);
	SetSceneItem("D_YZ36", "attribute", "active", 0);
	SetSceneItem("D_YZ37", "attribute", "active", 0);
	SetSceneItem("D_YZ38", "attribute", "active", 0);
	SetSceneItem("D_YZ39", "attribute", "active", 0);
	SetSceneItem("D_YZ40", "attribute", "active", 0);
	SetSceneItem("D_YZ41", "attribute", "active", 0);
	SetSceneItem("D_YZ42", "attribute", "active", 0);
	SetSceneItem("D_YZ43", "attribute", "active", 0);
	SetSceneItem("D_YZ44", "attribute", "active", 0);
	SetSceneItem("D_YZ45", "attribute", "active", 0);
	SetSceneItem("D_YZ46", "attribute", "active", 0);
	SetSceneItem("D_YZ47", "attribute", "active", 0);
	SetSceneItem("D_YZ48", "attribute", "active", 0);
	SetSceneItem("D_YZ49", "attribute", "active", 0);

	SetSceneItem("D_Z01", "attribute", "active", 0);
	SetSceneItem("D_Z02", "attribute", "active", 0);
	SetSceneItem("D_Z03", "attribute", "active", 0);
	SetSceneItem("D_Z04", "attribute", "active", 0);
	SetSceneItem("D_Z05", "attribute", "active", 0);
	SetSceneItem("D_Z06", "attribute", "active", 0);
	SetSceneItem("D_Z07", "attribute", "active", 0);
	SetSceneItem("D_Z08", "attribute", "active", 0);
	SetSceneItem("D_Z09", "attribute", "active", 0);
	SetSceneItem("D_Z10", "attribute", "active", 0);
	SetSceneItem("D_Z11", "attribute", "active", 0);
	SetSceneItem("D_Z12", "attribute", "active", 0);
	SetSceneItem("D_Z13", "attribute", "active", 0);
	SetSceneItem("D_Z14", "attribute", "active", 0);
	SetSceneItem("D_Z15", "attribute", "active", 0);

	SetSceneItem("D_WK01", "attribute", "active", 0);
	SetSceneItem("D_WK02", "attribute", "active", 0);
	SetSceneItem("D_WK03", "attribute", "active", 0);
	SetSceneItem("D_WK04", "attribute", "active", 0);
	SetSceneItem("D_WK05", "attribute", "active", 0);
	SetSceneItem("D_WK06", "attribute", "active", 0);
	SetSceneItem("D_WK07", "attribute", "active", 0);
	SetSceneItem("D_WK08", "attribute", "active", 0);
	SetSceneItem("D_WK09", "attribute", "active", 0);
	SetSceneItem("D_WK10", "attribute", "active", 0);
	SetSceneItem("D_WK11", "attribute", "active", 0);
	SetSceneItem("D_WK12", "attribute", "active", 0);
	SetSceneItem("D_WK13", "attribute", "active", 0);
	SetSceneItem("D_WK14", "attribute", "active", 0);
	SetSceneItem("D_WK15", "attribute", "active", 0);
	SetSceneItem("D_WK16", "attribute", "active", 0);
	SetSceneItem("D_WK17", "attribute", "active", 0);
	SetSceneItem("D_WK18", "attribute", "active", 0);
	SetSceneItem("D_WK19", "attribute", "active", 0);
	SetSceneItem("D_WK20", "attribute", "active", 0);
	SetSceneItem("D_WK21", "attribute", "active", 0);
	SetSceneItem("D_WK22", "attribute", "active", 0);
	SetSceneItem("D_WK23", "attribute", "active", 0);
	SetSceneItem("D_WK24", "attribute", "active", 0);
	SetSceneItem("D_WK25", "attribute", "active", 0);
	SetSceneItem("D_WK26", "attribute", "active", 0);
	SetSceneItem("D_WK27", "attribute", "active", 0);
	SetSceneItem("D_WK28", "attribute", "active", 0);
	SetSceneItem("D_WK29", "attribute", "active", 0);
	SetSceneItem("D_WK30", "attribute", "active", 0);
	SetSceneItem("D_WK31", "attribute", "active", 0);
	SetSceneItem("D_WK32", "attribute", "active", 0);
	SetSceneItem("D_WK33", "attribute", "active", 0);
	SetSceneItem("D_WK42", "attribute", "active", 0);
	SetSceneItem("D_WK43", "attribute", "active", 0);
	SetSceneItem("D_WK44", "attribute", "active", 0);
	SetSceneItem("D_WK45", "attribute", "active", 0);
	SetSceneItem("D_WK46", "attribute", "active", 0);
	SetSceneItem("D_WK47", "attribute", "active", 0);
	SetSceneItem("D_WK48", "attribute", "active", 0);
	SetSceneItem("D_WK49", "attribute", "active", 0);
	SetSceneItem("D_WK50", "attribute", "active", 0);
	SetSceneItem("D_WK51", "attribute", "active", 0);
	SetSceneItem("D_WK52", "attribute", "active", 0);
	SetSceneItem("D_WK53", "attribute", "active", 0);
	SetSceneItem("D_WK54", "attribute", "active", 0);
	SetSceneItem("D_WK55", "attribute", "active", 0);
	SetSceneItem("D_WK56", "attribute", "active", 0);
	SetSceneItem("D_WK57", "attribute", "active", 0);
	SetSceneItem("D_WK58", "attribute", "active", 0);
	SetSceneItem("D_WK59", "attribute", "active", 0);
	SetSceneItem("D_WK60", "attribute", "active", 0);
	SetSceneItem("D_WK61", "attribute", "active", 0);
	SetSceneItem("D_WK62", "attribute", "active", 0);
	SetSceneItem("D_WK63", "attribute", "active", 0);
	SetSceneItem("D_WK64", "attribute", "active", 0);
	SetSceneItem("D_WK65", "attribute", "active", 0);
	SetSceneItem("D_WK66", "attribute", "active", 0);
	SetSceneItem("D_WK67", "attribute", "active", 0);
	SetSceneItem("D_WK68", "attribute", "active", 0);
	SetSceneItem("D_WK69", "attribute", "active", 0);
	SetSceneItem("D_WK70", "attribute", "active", 0);
	SetSceneItem("D_WK71", "attribute", "active", 0);
	SetSceneItem("D_WK72", "attribute", "active", 0);
	SetSceneItem("D_WK73", "attribute", "active", 0);
	SetSceneItem("D_WK74", "attribute", "active", 0);
	SetSceneItem("D_WK75", "attribute", "active", 0);
	SetSceneItem("D_WK76", "attribute", "active", 0);
	SetSceneItem("D_WK77", "attribute", "active", 0);
	SetSceneItem("D_WK78", "attribute", "active", 0);
	SetSceneItem("D_WK79", "attribute", "active", 0);
	SetSceneItem("D_WK80", "attribute", "active", 0);
	SetSceneItem("D_WK81", "attribute", "active", 0);
	SetSceneItem("D_WK82", "attribute", "active", 0);
	SetSceneItem("D_WK83", "attribute", "active", 0);
	SetSceneItem("D_WK84", "attribute", "active", 0);
	SetSceneItem("D_WK85", "attribute", "active", 0);
	SetSceneItem("D_WK86", "attribute", "active", 0);
	SetSceneItem("D_WK87", "attribute", "active", 0);
	SetSceneItem("D_WK88", "attribute", "active", 0);
	SetSceneItem("D_WK89", "attribute", "active", 0);
	SetSceneItem("D_WK90", "attribute", "active", 0);
	SetSceneItem("D_WK91", "attribute", "active", 0);
	SetSceneItem("D_WK92", "attribute", "active", 0);
	SetSceneItem("D_WK94", "attribute", "active", 0);
	SetSceneItem("D_WK95", "attribute", "active", 0);
	SetSceneItem("D_WK96", "attribute", "active", 0);
	SetSceneItem("D_WK97", "attribute", "active", 0);
	SetSceneItem("D_WK98", "attribute", "active", 0);
	SetSceneItem("D_WK99", "attribute", "active", 0);
	SetSceneItem("D_WK100", "attribute", "active", 0);
	SetSceneItem("D_WK101", "attribute", "active", 0);
	SetSceneItem("D_WK102", "attribute", "active", 0);
	SetSceneItem("D_WK103", "attribute", "active", 0);
	SetSceneItem("D_WK104", "attribute", "active", 0);
	SetSceneItem("D_WK105", "attribute", "active", 0);
	SetSceneItem("D_WK106", "attribute", "active", 0);
	SetSceneItem("D_WK107", "attribute", "active", 0);
	SetSceneItem("D_WK108", "attribute", "active", 0);
	SetSceneItem("D_WK109", "attribute", "active", 0);
	SetSceneItem("D_WK110", "attribute", "active", 0);
	SetSceneItem("D_WK111", "attribute", "active", 0);
	SetSceneItem("D_WK112", "attribute", "active", 0);
	SetSceneItem("D_WK113", "attribute", "active", 0);
	SetSceneItem("D_WK114", "attribute", "active", 0);
	SetSceneItem("D_WK115", "attribute", "active", 0);
	SetSceneItem("D_WK116", "attribute", "active", 0);
	SetSceneItem("D_WK117", "attribute", "active", 0);
	SetSceneItem("D_WK118", "attribute", "active", 0);
	SetSceneItem("D_WK119", "attribute", "active", 0);
	SetSceneItem("D_WK120", "attribute", "active", 0);
	SetSceneItem("D_WK121", "attribute", "active", 0);
	SetSceneItem("D_WK122", "attribute", "active", 0);
	SetSceneItem("D_WK123", "attribute", "active", 0);
	SetSceneItem("D_WK124", "attribute", "active", 0);
	SetSceneItem("D_WK125", "attribute", "active", 0);
	SetSceneItem("D_WK126", "attribute", "active", 0);
	SetSceneItem("D_WK127", "attribute", "active", 0);
	SetSceneItem("D_WK128", "attribute", "active", 0);
	SetSceneItem("D_WK129", "attribute", "active", 0);
	SetSceneItem("D_WK130", "attribute", "active", 0);
	SetSceneItem("D_WK131", "attribute", "active", 0);
	SetSceneItem("D_WK132", "attribute", "active", 0);
	SetSceneItem("D_WK133", "attribute", "active", 0);
	SetSceneItem("D_WK134", "attribute", "active", 0);
	SetSceneItem("D_WK135", "attribute", "active", 0);
	SetSceneItem("D_WK136", "attribute", "active", 0);
	SetSceneItem("D_WK137", "attribute", "active", 0);
	SetSceneItem("D_WK138", "attribute", "active", 0);
	SetSceneItem("D_WK139", "attribute", "active", 0);
	SetSceneItem("D_WK140", "attribute", "active", 0);
	SetSceneItem("D_WK141", "attribute", "active", 0);
	SetSceneItem("D_WK142", "attribute", "active", 0);
	SetSceneItem("D_WK143", "attribute", "active", 0);
	SetSceneItem("D_WK144", "attribute", "active", 0);
	SetSceneItem("D_WK145", "attribute", "active", 0);
	SetSceneItem("D_WK146", "attribute", "active", 0);
	SetSceneItem("D_WK147", "attribute", "active", 0);
	SetSceneItem("D_WK148", "attribute", "active", 0);
	SetSceneItem("D_WK149", "attribute", "active", 0);
	SetSceneItem("D_WK150", "attribute", "active", 0);
	SetSceneItem("D_WK151", "attribute", "active", 0);
	SetSceneItem("D_WK152", "attribute", "active", 0);
	SetSceneItem("D_WK153", "attribute", "active", 0);
	SetSceneItem("D_WK154", "attribute", "active", 0);
	SetSceneItem("D_WK155", "attribute", "active", 0);
	SetSceneItem("D_WK156", "attribute", "active", 0);
	SetSceneItem("D_WK157", "attribute", "active", 0);
	SetSceneItem("D_WK158", "attribute", "active", 0);
	SetSceneItem("D_WK159", "attribute", "active", 0);
	SetSceneItem("D_WK160", "attribute", "active", 0);
	SetSceneItem("D_WK161", "attribute", "active", 0);
	SetSceneItem("D_WK162", "attribute", "active", 0);
	SetSceneItem("D_WK163", "attribute", "active", 0);
	SetSceneItem("D_WK164", "attribute", "active", 0);
	SetSceneItem("D_WK165", "attribute", "active", 0);
	SetSceneItem("D_WK166", "attribute", "active", 0);
	SetSceneItem("D_WK167", "attribute", "active", 0);
	SetSceneItem("D_WK168", "attribute", "active", 0);
	SetSceneItem("D_WK169", "attribute", "active", 0);
	SetSceneItem("D_WK170", "attribute", "active", 0);
	SetSceneItem("D_WK171", "attribute", "active", 0);
	SetSceneItem("D_WK172", "attribute", "active", 0);
	SetSceneItem("D_WK173", "attribute", "active", 0);
	SetSceneItem("D_WK174", "attribute", "active", 0);
	SetSceneItem("D_WK175", "attribute", "active", 0);
	SetSceneItem("D_WK176", "attribute", "active", 0);
	SetSceneItem("D_WK177", "attribute", "active", 0);
	SetSceneItem("D_WK178", "attribute", "active", 0);
	SetSceneItem("D_WK179", "attribute", "active", 0);
	SetSceneItem("D_WK180", "attribute", "active", 0);
	SetSceneItem("D_WK181", "attribute", "active", 0);
	SetSceneItem("D_WK182", "attribute", "active", 0);
	SetSceneItem("D_WK183", "attribute", "active", 0);
	SetSceneItem("D_WK184", "attribute", "active", 0);
	SetSceneItem("D_WK185", "attribute", "active", 0);
	SetSceneItem("D_WK186", "attribute", "active", 0);
	SetSceneItem("D_WK187", "attribute", "active", 0);
	SetSceneItem("D_WK188", "attribute", "active", 0);
	SetSceneItem("D_WK189", "attribute", "active", 0);
	SetSceneItem("D_WK190", "attribute", "active", 0);
	SetSceneItem("D_WK191", "attribute", "active", 0);
	SetSceneItem("D_WK192", "attribute", "active", 0);
	SetSceneItem("D_WK193", "attribute", "active", 0);
	SetSceneItem("D_WK194", "attribute", "active", 0);
	SetSceneItem("D_WK195", "attribute", "active", 0);
	SetSceneItem("D_WK196", "attribute", "active", 0);
	SetSceneItem("D_WK197", "attribute", "active", 0);
	SetSceneItem("D_WK198", "attribute", "active", 0);
	SetSceneItem("D_WK199", "attribute", "active", 0);
	SetSceneItem("D_WK200", "attribute", "active", 0);
	SetSceneItem("D_WK201", "attribute", "active", 0);
	SetSceneItem("D_WK202", "attribute", "active", 0);
	SetSceneItem("D_WK203", "attribute", "active", 0);
	SetSceneItem("D_WK204", "attribute", "active", 0);
	SetSceneItem("D_WK205", "attribute", "active", 0);
	SetSceneItem("D_WK206", "attribute", "active", 0);
	SetSceneItem("D_WK207", "attribute", "active", 0);
	SetSceneItem("D_WK208", "attribute", "active", 0);
	SetSceneItem("D_WK209", "attribute", "active", 0);
	SetSceneItem("D_WK210", "attribute", "active", 0);
	SetSceneItem("D_WK211", "attribute", "active", 0);
	SetSceneItem("D_WK212", "attribute", "active", 0);
	SetSceneItem("D_WK213", "attribute", "active", 0);
	SetSceneItem("D_WK214", "attribute", "active", 0);
	SetSceneItem("D_WK215", "attribute", "active", 0);
	SetSceneItem("D_WK216", "attribute", "active", 0);
	SetSceneItem("D_WK217", "attribute", "active", 0);
	SetSceneItem("D_WK218", "attribute", "active", 0);
	SetSceneItem("D_WK219", "attribute", "active", 0);
	SetSceneItem("D_WK220", "attribute", "active", 0);
	SetSceneItem("D_WK221", "attribute", "active", 0);
	SetSceneItem("D_WK222", "attribute", "active", 0);
	SetSceneItem("D_WK223", "attribute", "active", 0);
	SetSceneItem("D_WK224", "attribute", "active", 0);
	SetSceneItem("D_WK225", "attribute", "active", 0);
	SetSceneItem("D_WK226", "attribute", "active", 0);
	SetSceneItem("D_WK227", "attribute", "active", 0);
	SetSceneItem("D_WK228", "attribute", "active", 0);
	SetSceneItem("D_WK229", "attribute", "active", 0);
	SetSceneItem("D_WK230", "attribute", "active", 0);
	SetSceneItem("D_WK231", "attribute", "active", 0);
	SetSceneItem("D_WK232", "attribute", "active", 0);
	SetSceneItem("D_WK233", "attribute", "active", 0);
	SetSceneItem("D_WK234", "attribute", "active", 0);
	SetSceneItem("D_WK235", "attribute", "active", 0);
	SetSceneItem("D_WK236", "attribute", "active", 0);
	SetSceneItem("D_WK237", "attribute", "active", 0);
	SetSceneItem("D_WK238", "attribute", "active", 0);
	SetSceneItem("D_WK239", "attribute", "active", 0);
	SetSceneItem("D_WK240", "attribute", "active", 0);
	SetSceneItem("D_WK241", "attribute", "active", 0);
	SetSceneItem("D_WK242", "attribute", "active", 0);
	SetSceneItem("D_WK243", "attribute", "active", 0);
	SetSceneItem("D_WK244", "attribute", "active", 0);
	SetSceneItem("D_WK245", "attribute", "active", 0);
	SetSceneItem("D_WK246", "attribute", "active", 0);
	SetSceneItem("D_WK247", "attribute", "active", 0);
	SetSceneItem("D_WK248", "attribute", "active", 0);
	SetSceneItem("D_WK249", "attribute", "active", 0);
	SetSceneItem("D_WK250", "attribute", "active", 0);

                SetSceneItem("D_JC01", "attribute", "active", 0);
                SetSceneItem("D_JC02", "attribute", "active", 0);
                SetSceneItem("D_JC03", "attribute", "active", 0);
                SetSceneItem("D_JC04", "attribute", "active", 0);
                SetSceneItem("D_JC05", "attribute", "active", 0);
                SetSceneItem("D_JC06", "attribute", "active", 0);


	SetSceneItem("D_sn08B01", "attribute", "active", 0);
	SetSceneItem("D_sn08B02", "attribute", "active", 0);
	SetSceneItem("D_sn08B03", "attribute", "active", 0);

	SetSceneItem("D_knife01", "attribute", "active", 0);
	SetSceneItem("D_knife02", "attribute", "active", 0);
	SetSceneItem("D_knife03", "attribute", "active", 0);
	SetSceneItem("D_knife04", "attribute", "active", 0);
	SetSceneItem("D_knife05", "attribute", "active", 0);


	SetSceneItem("D_Wpn01", "attribute", "active", 0);	
	SetSceneItem("D_Wpn02", "attribute", "active", 0);
	SetSceneItem("D_Wpn03", "attribute", "active", 0);
	SetSceneItem("D_Wpn04", "attribute", "active", 0);
	SetSceneItem("D_Wpn05", "attribute", "active", 0);
	SetSceneItem("D_Wpn06", "attribute", "active", 0);
	SetSceneItem("D_Wpn07", "attribute", "active", 0);

}
D_Item09_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_w01", "attribute", "active", 1);
	SetSceneItem("D_w02", "attribute", "active", 1);
	SetSceneItem("D_w03", "attribute", "active", 1);
	SetSceneItem("D_w04", "attribute", "active", 1);
	SetSceneItem("D_w05", "attribute", "active", 1);
	SetSceneItem("D_w06", "attribute", "active", 1);
	SetSceneItem("D_w07", "attribute", "active", 1);
	SetSceneItem("D_w08", "attribute", "active", 1);
	SetSceneItem("D_w09", "attribute", "active", 1);
	SetSceneItem("D_w10", "attribute", "active", 1);
	SetSceneItem("D_w11", "attribute", "active", 1);
	SetSceneItem("D_w12", "attribute", "active", 1);
	SetSceneItem("D_w13", "attribute", "active", 1);
	SetSceneItem("D_w14", "attribute", "active", 1);
	SetSceneItem("D_w15", "attribute", "active", 1);
	SetSceneItem("D_w16", "attribute", "active", 1);
	SetSceneItem("D_w17", "attribute", "active", 1);
	SetSceneItem("D_w18", "attribute", "active", 1);
	SetSceneItem("D_w19", "attribute", "active", 1);
	SetSceneItem("D_w20", "attribute", "active", 1);
	SetSceneItem("D_w21", "attribute", "active", 1);
	SetSceneItem("D_w22", "attribute", "active", 1);
	SetSceneItem("D_w23", "attribute", "active", 1);
	SetSceneItem("D_w24", "attribute", "active", 1);
	SetSceneItem("D_w25", "attribute", "active", 1);
	SetSceneItem("D_w26", "attribute", "active", 1);
	SetSceneItem("D_w27", "attribute", "active", 1);
	SetSceneItem("D_w28", "attribute", "active", 1);
	SetSceneItem("D_w29", "attribute", "active", 1);
	SetSceneItem("D_w30", "attribute", "active", 1);
	SetSceneItem("D_w31", "attribute", "active", 1);
	SetSceneItem("D_w32", "attribute", "active", 1);
	SetSceneItem("D_w33", "attribute", "active", 1);
	SetSceneItem("D_w34", "attribute", "active", 1);
	SetSceneItem("D_w35", "attribute", "active", 1);
	SetSceneItem("D_w36", "attribute", "active", 1);
	SetSceneItem("D_w37", "attribute", "active", 1);
	SetSceneItem("D_w38", "attribute", "active", 1);
	SetSceneItem("D_w39", "attribute", "active", 1);
	SetSceneItem("D_w40", "attribute", "active", 1);
	SetSceneItem("D_w41", "attribute", "active", 1);
	SetSceneItem("D_w42", "attribute", "active", 1);
	SetSceneItem("D_w43", "attribute", "active", 1);
	SetSceneItem("D_w44", "attribute", "active", 1);
	SetSceneItem("D_w45", "attribute", "active", 1);
	SetSceneItem("D_w46", "attribute", "active", 1);
	SetSceneItem("D_w47", "attribute", "active", 1);
	SetSceneItem("D_w48", "attribute", "active", 1);
	SetSceneItem("D_w49", "attribute", "active", 1);
	SetSceneItem("D_w50", "attribute", "active", 1);
	SetSceneItem("D_w51", "attribute", "active", 1);
	SetSceneItem("D_w52", "attribute", "active", 1);
	SetSceneItem("D_w53", "attribute", "active", 1);
	SetSceneItem("D_w54", "attribute", "active", 1);
	SetSceneItem("D_w55", "attribute", "active", 1);
	SetSceneItem("D_w56", "attribute", "active", 1);
	SetSceneItem("D_w57", "attribute", "active", 1);
	SetSceneItem("D_w58", "attribute", "active", 1);
	SetSceneItem("D_w59", "attribute", "active", 1);
	SetSceneItem("D_w60", "attribute", "active", 1);
	SetSceneItem("D_w61", "attribute", "active", 1);
	SetSceneItem("D_w62", "attribute", "active", 1);
	SetSceneItem("D_w63", "attribute", "active", 1);
	SetSceneItem("D_w64", "attribute", "active", 1);
	SetSceneItem("D_w65", "attribute", "active", 1);
	SetSceneItem("D_w66", "attribute", "active", 1);
	SetSceneItem("D_w67", "attribute", "active", 1);
	SetSceneItem("D_w68", "attribute", "active", 1);
	SetSceneItem("D_w69", "attribute", "active", 1);
	SetSceneItem("D_w70", "attribute", "active", 1);
	SetSceneItem("D_w71", "attribute", "active", 1);
	SetSceneItem("D_w72", "attribute", "active", 1);
	SetSceneItem("D_w73", "attribute", "active", 1);
	SetSceneItem("D_w74", "attribute", "active", 1);
	SetSceneItem("D_w75", "attribute", "active", 1);
	SetSceneItem("D_w76", "attribute", "active", 1);
	SetSceneItem("D_w77", "attribute", "active", 1);
	SetSceneItem("D_w78", "attribute", "active", 1);
	SetSceneItem("D_w79", "attribute", "active", 1);
	SetSceneItem("D_w80", "attribute", "active", 1);
	SetSceneItem("D_w81", "attribute", "active", 1);
	SetSceneItem("D_w82", "attribute", "active", 1);
	SetSceneItem("D_w83", "attribute", "active", 1);
	SetSceneItem("D_w84", "attribute", "active", 1);
	SetSceneItem("D_w85", "attribute", "active", 1);
	SetSceneItem("D_w86", "attribute", "active", 1);
	SetSceneItem("D_w87", "attribute", "active", 1);
	SetSceneItem("D_w88", "attribute", "active", 1);
	SetSceneItem("D_w89", "attribute", "active", 1);
	SetSceneItem("D_w90", "attribute", "active", 1);
	SetSceneItem("D_w91", "attribute", "active", 1);
	SetSceneItem("D_w92", "attribute", "active", 1);
	SetSceneItem("D_w93", "attribute", "active", 1);
	SetSceneItem("D_w94", "attribute", "active", 1);
	SetSceneItem("D_w95", "attribute", "active", 1);
	SetSceneItem("D_w96", "attribute", "active", 1);
	SetSceneItem("D_w97", "attribute", "active", 1);
	SetSceneItem("D_w98", "attribute", "active", 1);
	SetSceneItem("D_w99", "attribute", "active", 1);
	SetSceneItem("D_w100", "attribute", "active",1);
	SetSceneItem("D_w101", "attribute", "active", 1);
	SetSceneItem("D_w102", "attribute", "active", 1);
	SetSceneItem("D_w103", "attribute", "active", 1);
	SetSceneItem("D_w104", "attribute", "active", 1);
	SetSceneItem("D_w105", "attribute", "active", 1);
	SetSceneItem("D_w106", "attribute", "active", 1);
	SetSceneItem("D_w107", "attribute", "active", 1);
	SetSceneItem("D_w108", "attribute", "active", 1);
	SetSceneItem("D_w109", "attribute", "active", 1);
	SetSceneItem("D_w110", "attribute", "active", 1);
	SetSceneItem("D_w111", "attribute", "active", 1);
	SetSceneItem("D_w112", "attribute", "active", 1);
	SetSceneItem("D_w113", "attribute", "active", 1);
	SetSceneItem("D_w114", "attribute", "active", 1);
	SetSceneItem("D_w115", "attribute", "active", 1);
	SetSceneItem("D_w116", "attribute", "active", 1);
	SetSceneItem("D_w117", "attribute", "active", 1);
	SetSceneItem("D_w118", "attribute", "active", 1);
	SetSceneItem("D_w119", "attribute", "active", 1);
	SetSceneItem("D_w120", "attribute", "active", 1);
	SetSceneItem("D_w121", "attribute", "active", 1);
	SetSceneItem("D_w122", "attribute", "active", 1);
	SetSceneItem("D_w123", "attribute", "active", 1);
	SetSceneItem("D_w124", "attribute", "active", 1);
	SetSceneItem("D_w125", "attribute", "active", 1);
	SetSceneItem("D_w126", "attribute", "active", 1);
	SetSceneItem("D_w127", "attribute", "active", 1);
	SetSceneItem("D_w128", "attribute", "active", 1);
	SetSceneItem("D_w129", "attribute", "active", 1);
	SetSceneItem("D_w130", "attribute", "active", 1);
	SetSceneItem("D_w131", "attribute", "active", 1);
	SetSceneItem("D_w132", "attribute", "active", 1);
	SetSceneItem("D_w133", "attribute", "active", 1);
	SetSceneItem("D_w134", "attribute", "active", 1);
	SetSceneItem("D_w135", "attribute", "active", 1);
	SetSceneItem("D_w136", "attribute", "active", 1);
	SetSceneItem("D_w137", "attribute", "active", 1);
	SetSceneItem("D_w138", "attribute", "active", 1);
	SetSceneItem("D_w139", "attribute", "active", 1);
	SetSceneItem("D_w140", "attribute", "active", 1);
	SetSceneItem("D_w141", "attribute", "active", 1);
	SetSceneItem("D_w142", "attribute", "active", 1);
	SetSceneItem("D_w143", "attribute", "active", 1);
	SetSceneItem("D_w144", "attribute", "active", 1);
	SetSceneItem("D_w145", "attribute", "active", 1);
	SetSceneItem("D_w146", "attribute", "active", 1);
	SetSceneItem("D_w147", "attribute", "active", 1);
	SetSceneItem("D_w148", "attribute", "active", 1);
	SetSceneItem("D_w149", "attribute", "active", 1);
	SetSceneItem("D_w150", "attribute", "active", 1);
	SetSceneItem("D_w151", "attribute", "active", 1);

	SetSceneItem("D_Item15", "attribute", "active", 1);
	SetSceneItem("D_Item16", "attribute", "active", 1);
	SetSceneItem("D_Item17", "attribute", "active", 1);
	SetSceneItem("D_Item18", "attribute", "active", 1);
	SetSceneItem("D_Item19", "attribute", "active", 1);
	SetSceneItem("D_Item20", "attribute", "active", 1);
	SetSceneItem("D_Item21", "attribute", "active", 1);
	SetSceneItem("D_Item22", "attribute", "active", 1);
	SetSceneItem("D_Item23", "attribute", "active", 1);
	SetSceneItem("D_Item24", "attribute", "active", 1);
	SetSceneItem("D_Item25", "attribute", "active", 1);
	SetSceneItem("D_Item26", "attribute", "active", 1);
	SetSceneItem("D_Item27", "attribute", "active", 1);
	SetSceneItem("D_Item28", "attribute", "active", 1);
	SetSceneItem("D_Item29", "attribute", "active", 1);
	SetSceneItem("D_Item30", "attribute", "active", 1);
	SetSceneItem("D_Item31", "attribute", "active", 1);
	SetSceneItem("D_Item32", "attribute", "active", 1);

	SetSceneItem("D_q02", "attribute", "active", 1);

	SetSceneItem("D_tpEC08", "attribute", "active", 1);
	SetSceneItem("D_tpEC07", "attribute", "active", 0);

	SetSceneItem("D_Wpn10", "attribute", "active", 1);
	SetSceneItem("D_Wpn11", "attribute", "active", 1);
	SetSceneItem("D_Wpn12", "attribute", "active", 1);
	SetSceneItem("D_Wpn13", "attribute", "active", 1);
	SetSceneItem("D_Wpn14", "attribute", "active", 1);
	SetSceneItem("D_Wpn15", "attribute", "active", 1);
	SetSceneItem("D_Wpn16", "attribute", "active", 1);
	SetSceneItem("D_Wpn17", "attribute", "active", 1);
	SetSceneItem("D_Wpn18", "attribute", "active", 1);
	SetSceneItem("D_Wpn19", "attribute", "active", 1);
	SetSceneItem("D_Wpn20", "attribute", "active", 1);
	SetSceneItem("D_Wpn21", "attribute", "active", 1);
	SetSceneItem("D_Wpn22", "attribute", "active", 1);
	SetSceneItem("D_Wpn23", "attribute", "active", 1);
	SetSceneItem("D_Wpn24", "attribute", "active", 1);
	SetSceneItem("D_Wpn25", "attribute", "active", 1);
	SetSceneItem("D_Wpn26", "attribute", "active", 1);
	SetSceneItem("D_Wpn27", "attribute", "active", 1);
	SetSceneItem("D_Wpn28", "attribute", "active", 1);
}
D_Item10_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_sn02st01", "attribute", "active", 1);
	SetSceneItem("D_sn02st02", "attribute", "active", 1);
	SetSceneItem("D_sn02st03", "attribute", "active", 1);
	SetSceneItem("D_sn02st04", "attribute", "active", 1);
	SetSceneItem("D_sn02st05", "attribute", "active", 1);
	SetSceneItem("D_sn02st06", "attribute", "active", 1);
	SetSceneItem("D_sn02st07", "attribute", "active", 1);
	SetSceneItem("D_sn02st08", "attribute", "active", 1);
	SetSceneItem("D_sn02st09", "attribute", "active", 1);
	SetSceneItem("D_sn02st10", "attribute", "active", 1);
	SetSceneItem("D_sn02st11", "attribute", "active", 1);

        SetSceneItem("D_YZ01", "attribute", "active", 1);
	SetSceneItem("D_YZ02", "attribute", "active", 1);
	SetSceneItem("D_YZ03", "attribute", "active", 1);
	SetSceneItem("D_YZ04", "attribute", "active", 1);
	SetSceneItem("D_YZ05", "attribute", "active", 1);
	SetSceneItem("D_YZ06", "attribute", "active", 1);
	SetSceneItem("D_YZ07", "attribute", "active", 1);
	SetSceneItem("D_YZ08", "attribute", "active", 1);
	SetSceneItem("D_YZ09", "attribute", "active", 1);
	SetSceneItem("D_YZ10", "attribute", "active", 1);
	SetSceneItem("D_YZ11", "attribute", "active", 1);
	SetSceneItem("D_YZ12", "attribute", "active", 1);
	SetSceneItem("D_YZ13", "attribute", "active", 1);
	SetSceneItem("D_YZ14", "attribute", "active", 1);
	SetSceneItem("D_YZ15", "attribute", "active", 1);
	SetSceneItem("D_YZ16", "attribute", "active", 1);
	SetSceneItem("D_YZ17", "attribute", "active", 1);
	SetSceneItem("D_YZ18", "attribute", "active", 1);
	SetSceneItem("D_YZ19", "attribute", "active", 1);
	SetSceneItem("D_YZ20", "attribute", "active", 1);
	SetSceneItem("D_YZ21", "attribute", "active", 1);
	SetSceneItem("D_YZ22", "attribute", "active", 1);
	SetSceneItem("D_YZ23", "attribute", "active", 1);
	SetSceneItem("D_YZ24", "attribute", "active", 1);
	SetSceneItem("D_YZ25", "attribute", "active", 1);
	SetSceneItem("D_YZ26", "attribute", "active", 1);
	SetSceneItem("D_YZ27", "attribute", "active", 1);
	SetSceneItem("D_YZ28", "attribute", "active", 1);
	SetSceneItem("D_YZ29", "attribute", "active", 1);
	SetSceneItem("D_YZ30", "attribute", "active", 1);
	SetSceneItem("D_YZ31", "attribute", "active", 1);
	SetSceneItem("D_YZ32", "attribute", "active", 1);
	SetSceneItem("D_YZ33", "attribute", "active", 1);
	SetSceneItem("D_YZ34", "attribute", "active", 1);
	SetSceneItem("D_YZ35", "attribute", "active", 1);
	SetSceneItem("D_YZ36", "attribute", "active", 1);
	SetSceneItem("D_YZ37", "attribute", "active", 1);
	SetSceneItem("D_YZ38", "attribute", "active", 1);
	SetSceneItem("D_YZ39", "attribute", "active", 1);
	SetSceneItem("D_YZ40", "attribute", "active", 1);
	SetSceneItem("D_YZ41", "attribute", "active", 1);
	SetSceneItem("D_YZ42", "attribute", "active", 1);
	SetSceneItem("D_YZ43", "attribute", "active", 1);
	SetSceneItem("D_YZ44", "attribute", "active", 1);
	SetSceneItem("D_YZ45", "attribute", "active", 1);
	SetSceneItem("D_YZ46", "attribute", "active", 1);
	SetSceneItem("D_YZ47", "attribute", "active", 1);
	SetSceneItem("D_YZ48", "attribute", "active", 1);
	SetSceneItem("D_YZ49", "attribute", "active", 1);

	SetSceneItem("D_q01", "attribute", "active", 1);

	SetSceneItem("D_Z01", "attribute", "active", 1);
	SetSceneItem("D_Z02", "attribute", "active", 1);
	SetSceneItem("D_Z03", "attribute", "active", 1);
	SetSceneItem("D_Z04", "attribute", "active", 1);
	SetSceneItem("D_Z05", "attribute", "active", 1);
	SetSceneItem("D_Z06", "attribute", "active", 1);
	SetSceneItem("D_Z07", "attribute", "active", 1);
	SetSceneItem("D_Z08", "attribute", "active", 1);
	SetSceneItem("D_Z09", "attribute", "active", 1);
	SetSceneItem("D_Z10", "attribute", "active", 1);
	SetSceneItem("D_Z11", "attribute", "active", 1);
	SetSceneItem("D_Z12", "attribute", "active", 1);
	SetSceneItem("D_Z13", "attribute", "active", 1);
	SetSceneItem("D_Z14", "attribute", "active", 1);
	SetSceneItem("D_Z15", "attribute", "active", 1);

	SetSceneItem("D_WK01", "attribute", "active", 1);
	SetSceneItem("D_WK02", "attribute", "active", 1);
	SetSceneItem("D_WK03", "attribute", "active", 1);
	SetSceneItem("D_WK04", "attribute", "active", 1);
	SetSceneItem("D_WK05", "attribute", "active", 1);
	SetSceneItem("D_WK06", "attribute", "active", 1);
	SetSceneItem("D_WK07", "attribute", "active", 1);
	SetSceneItem("D_WK08", "attribute", "active", 1);
	SetSceneItem("D_WK09", "attribute", "active", 1);
	SetSceneItem("D_WK10", "attribute", "active", 1);
	SetSceneItem("D_WK11", "attribute", "active", 1);
	SetSceneItem("D_WK12", "attribute", "active", 1);
	SetSceneItem("D_WK13", "attribute", "active", 1);
	SetSceneItem("D_WK14", "attribute", "active", 1);
	SetSceneItem("D_WK15", "attribute", "active", 1);
	SetSceneItem("D_WK16", "attribute", "active", 1);
	SetSceneItem("D_WK17", "attribute", "active", 1);
	SetSceneItem("D_WK18", "attribute", "active", 1);
	SetSceneItem("D_WK19", "attribute", "active", 1);
	SetSceneItem("D_WK20", "attribute", "active", 1);
	SetSceneItem("D_WK21", "attribute", "active", 1);
	SetSceneItem("D_WK22", "attribute", "active", 1);
	SetSceneItem("D_WK23", "attribute", "active", 1);
	SetSceneItem("D_WK24", "attribute", "active", 1);
	SetSceneItem("D_WK25", "attribute", "active", 1);
	SetSceneItem("D_WK26", "attribute", "active", 1);
	SetSceneItem("D_WK27", "attribute", "active", 1);
	SetSceneItem("D_WK28", "attribute", "active", 1);
	SetSceneItem("D_WK29", "attribute", "active", 1);
	SetSceneItem("D_WK30", "attribute", "active", 1);
	SetSceneItem("D_WK31", "attribute", "active", 1);
	SetSceneItem("D_WK32", "attribute", "active", 1);
	SetSceneItem("D_WK33", "attribute", "active", 1);
	SetSceneItem("D_WK42", "attribute", "active", 1);
	SetSceneItem("D_WK43", "attribute", "active", 1);
	SetSceneItem("D_WK44", "attribute", "active", 1);
	SetSceneItem("D_WK45", "attribute", "active", 1);
	SetSceneItem("D_WK46", "attribute", "active", 1);
	SetSceneItem("D_WK47", "attribute", "active", 1);
	SetSceneItem("D_WK48", "attribute", "active", 1);
	SetSceneItem("D_WK49", "attribute", "active", 1);
	SetSceneItem("D_WK50", "attribute", "active", 1);
	SetSceneItem("D_WK51", "attribute", "active", 1);
	SetSceneItem("D_WK52", "attribute", "active", 1);
	SetSceneItem("D_WK53", "attribute", "active", 1);
	SetSceneItem("D_WK54", "attribute", "active", 1);
	SetSceneItem("D_WK55", "attribute", "active", 1);
	SetSceneItem("D_WK56", "attribute", "active", 1);
	SetSceneItem("D_WK57", "attribute", "active", 1);
	SetSceneItem("D_WK58", "attribute", "active", 1);
	SetSceneItem("D_WK59", "attribute", "active", 1);
	SetSceneItem("D_WK60", "attribute", "active", 1);
	SetSceneItem("D_WK61", "attribute", "active", 1);
	SetSceneItem("D_WK62", "attribute", "active", 1);
	SetSceneItem("D_WK63", "attribute", "active", 1);
	SetSceneItem("D_WK64", "attribute", "active", 1);
	SetSceneItem("D_WK65", "attribute", "active", 1);
	SetSceneItem("D_WK66", "attribute", "active", 1);
	SetSceneItem("D_WK67", "attribute", "active", 1);
	SetSceneItem("D_WK68", "attribute", "active", 1);
	SetSceneItem("D_WK69", "attribute", "active", 1);
	SetSceneItem("D_WK70", "attribute", "active", 1);
	SetSceneItem("D_WK71", "attribute", "active", 1);
	SetSceneItem("D_WK72", "attribute", "active", 1);
	SetSceneItem("D_WK73", "attribute", "active", 1);
	SetSceneItem("D_WK74", "attribute", "active", 1);
	SetSceneItem("D_WK75", "attribute", "active", 1);
	SetSceneItem("D_WK76", "attribute", "active", 1);
	SetSceneItem("D_WK77", "attribute", "active", 1);
	SetSceneItem("D_WK78", "attribute", "active", 1);
	SetSceneItem("D_WK79", "attribute", "active", 1);
	SetSceneItem("D_WK80", "attribute", "active", 1);
	SetSceneItem("D_WK81", "attribute", "active", 1);
	SetSceneItem("D_WK82", "attribute", "active", 1);
	SetSceneItem("D_WK83", "attribute", "active", 1);
	SetSceneItem("D_WK84", "attribute", "active", 1);
	SetSceneItem("D_WK85", "attribute", "active", 1);
	SetSceneItem("D_WK86", "attribute", "active", 1);
	SetSceneItem("D_WK87", "attribute", "active", 1);
	SetSceneItem("D_WK88", "attribute", "active", 1);
	SetSceneItem("D_WK89", "attribute", "active", 1);
	SetSceneItem("D_WK90", "attribute", "active", 1);
	SetSceneItem("D_WK91", "attribute", "active", 1);
	SetSceneItem("D_WK92", "attribute", "active", 1);
	SetSceneItem("D_WK94", "attribute", "active", 1);
	SetSceneItem("D_WK95", "attribute", "active", 1);
	SetSceneItem("D_WK96", "attribute", "active", 1);
	SetSceneItem("D_WK97", "attribute", "active", 1);
	SetSceneItem("D_WK98", "attribute", "active", 1);
	SetSceneItem("D_WK99", "attribute", "active", 1);
	SetSceneItem("D_WK100", "attribute", "active", 1);
	SetSceneItem("D_WK101", "attribute", "active", 1);
	SetSceneItem("D_WK102", "attribute", "active", 1);
	SetSceneItem("D_WK103", "attribute", "active", 1);
	SetSceneItem("D_WK104", "attribute", "active", 1);
	SetSceneItem("D_WK105", "attribute", "active", 1);
	SetSceneItem("D_WK106", "attribute", "active", 1);
	SetSceneItem("D_WK107", "attribute", "active", 1);
	SetSceneItem("D_WK108", "attribute", "active", 1);
	SetSceneItem("D_WK109", "attribute", "active", 1);
	SetSceneItem("D_WK110", "attribute", "active", 1);
	SetSceneItem("D_WK111", "attribute", "active", 1);
	SetSceneItem("D_WK112", "attribute", "active", 1);
	SetSceneItem("D_WK113", "attribute", "active", 1);
	SetSceneItem("D_WK114", "attribute", "active", 1);
	SetSceneItem("D_WK115", "attribute", "active", 1);
	SetSceneItem("D_WK116", "attribute", "active", 1);
	SetSceneItem("D_WK117", "attribute", "active", 1);
	SetSceneItem("D_WK118", "attribute", "active", 1);
	SetSceneItem("D_WK119", "attribute", "active", 1);
	SetSceneItem("D_WK120", "attribute", "active", 1);
	SetSceneItem("D_WK121", "attribute", "active", 1);
	SetSceneItem("D_WK122", "attribute", "active", 1);
	SetSceneItem("D_WK123", "attribute", "active", 1);
	SetSceneItem("D_WK124", "attribute", "active", 1);
	SetSceneItem("D_WK125", "attribute", "active", 1);
	SetSceneItem("D_WK126", "attribute", "active", 1);
	SetSceneItem("D_WK127", "attribute", "active", 1);
	SetSceneItem("D_WK128", "attribute", "active", 1);
	SetSceneItem("D_WK129", "attribute", "active", 1);
	SetSceneItem("D_WK130", "attribute", "active", 1);
	SetSceneItem("D_WK131", "attribute", "active", 1);
	SetSceneItem("D_WK132", "attribute", "active", 1);
	SetSceneItem("D_WK133", "attribute", "active", 1);
	SetSceneItem("D_WK134", "attribute", "active", 1);
	SetSceneItem("D_WK135", "attribute", "active", 1);
	SetSceneItem("D_WK136", "attribute", "active", 1);
	SetSceneItem("D_WK137", "attribute", "active", 1);
	SetSceneItem("D_WK138", "attribute", "active", 1);
	SetSceneItem("D_WK139", "attribute", "active", 1);
	SetSceneItem("D_WK140", "attribute", "active", 1);
	SetSceneItem("D_WK141", "attribute", "active", 1);
	SetSceneItem("D_WK142", "attribute", "active", 1);
	SetSceneItem("D_WK143", "attribute", "active", 1);
	SetSceneItem("D_WK144", "attribute", "active", 1);
	SetSceneItem("D_WK145", "attribute", "active", 1);
	SetSceneItem("D_WK146", "attribute", "active", 1);
	SetSceneItem("D_WK147", "attribute", "active", 1);
	SetSceneItem("D_WK148", "attribute", "active", 1);
	SetSceneItem("D_WK149", "attribute", "active", 1);
	SetSceneItem("D_WK150", "attribute", "active", 1);
	SetSceneItem("D_WK151", "attribute", "active", 1);
	SetSceneItem("D_WK152", "attribute", "active", 1);
	SetSceneItem("D_WK153", "attribute", "active", 1);
	SetSceneItem("D_WK154", "attribute", "active", 1);
	SetSceneItem("D_WK155", "attribute", "active", 1);
	SetSceneItem("D_WK156", "attribute", "active", 1);
	SetSceneItem("D_WK157", "attribute", "active", 1);
	SetSceneItem("D_WK158", "attribute", "active", 1);
	SetSceneItem("D_WK159", "attribute", "active", 1);
	SetSceneItem("D_WK160", "attribute", "active", 1);
	SetSceneItem("D_WK161", "attribute", "active", 1);
	SetSceneItem("D_WK162", "attribute", "active", 1);
	SetSceneItem("D_WK163", "attribute", "active", 1);
	SetSceneItem("D_WK164", "attribute", "active", 1);
	SetSceneItem("D_WK165", "attribute", "active", 1);
	SetSceneItem("D_WK166", "attribute", "active", 1);
	SetSceneItem("D_WK167", "attribute", "active", 1);
	SetSceneItem("D_WK168", "attribute", "active", 1);
	SetSceneItem("D_WK169", "attribute", "active", 1);
	SetSceneItem("D_WK170", "attribute", "active", 1);
	SetSceneItem("D_WK171", "attribute", "active", 1);
	SetSceneItem("D_WK172", "attribute", "active", 1);
	SetSceneItem("D_WK173", "attribute", "active", 1);
	SetSceneItem("D_WK174", "attribute", "active", 1);
	SetSceneItem("D_WK175", "attribute", "active", 1);
	SetSceneItem("D_WK176", "attribute", "active", 1);
	SetSceneItem("D_WK177", "attribute", "active", 1);
	SetSceneItem("D_WK178", "attribute", "active", 1);
	SetSceneItem("D_WK179", "attribute", "active", 1);
	SetSceneItem("D_WK180", "attribute", "active", 1);
	SetSceneItem("D_WK181", "attribute", "active", 1);
	SetSceneItem("D_WK182", "attribute", "active", 1);
	SetSceneItem("D_WK183", "attribute", "active", 1);
	SetSceneItem("D_WK184", "attribute", "active", 1);
	SetSceneItem("D_WK185", "attribute", "active", 1);
	SetSceneItem("D_WK186", "attribute", "active", 1);
	SetSceneItem("D_WK187", "attribute", "active", 1);
	SetSceneItem("D_WK188", "attribute", "active", 1);
	SetSceneItem("D_WK189", "attribute", "active", 1);
	SetSceneItem("D_WK190", "attribute", "active", 1);
	SetSceneItem("D_WK191", "attribute", "active", 1);
	SetSceneItem("D_WK192", "attribute", "active", 1);
	SetSceneItem("D_WK193", "attribute", "active", 1);
	SetSceneItem("D_WK194", "attribute", "active", 1);
	SetSceneItem("D_WK195", "attribute", "active", 1);
	SetSceneItem("D_WK196", "attribute", "active", 1);
	SetSceneItem("D_WK197", "attribute", "active", 1);
	SetSceneItem("D_WK198", "attribute", "active", 1);
	SetSceneItem("D_WK199", "attribute", "active", 1);
	SetSceneItem("D_WK200", "attribute", "active", 1);
	SetSceneItem("D_WK201", "attribute", "active", 1);
	SetSceneItem("D_WK202", "attribute", "active", 1);
	SetSceneItem("D_WK203", "attribute", "active", 1);
	SetSceneItem("D_WK204", "attribute", "active", 1);
	SetSceneItem("D_WK205", "attribute", "active", 1);
	SetSceneItem("D_WK206", "attribute", "active", 1);
	SetSceneItem("D_WK207", "attribute", "active", 1);
	SetSceneItem("D_WK208", "attribute", "active", 1);
	SetSceneItem("D_WK209", "attribute", "active", 1);
	SetSceneItem("D_WK210", "attribute", "active", 1);
	SetSceneItem("D_WK211", "attribute", "active", 1);
	SetSceneItem("D_WK212", "attribute", "active", 1);
	SetSceneItem("D_WK213", "attribute", "active", 1);
	SetSceneItem("D_WK214", "attribute", "active", 1);
	SetSceneItem("D_WK215", "attribute", "active", 1);
	SetSceneItem("D_WK216", "attribute", "active", 1);
	SetSceneItem("D_WK217", "attribute", "active", 1);
	SetSceneItem("D_WK218", "attribute", "active", 1);
	SetSceneItem("D_WK219", "attribute", "active", 1);
	SetSceneItem("D_WK220", "attribute", "active", 1);
	SetSceneItem("D_WK221", "attribute", "active", 1);
	SetSceneItem("D_WK222", "attribute", "active", 1);
	SetSceneItem("D_WK223", "attribute", "active", 1);
	SetSceneItem("D_WK224", "attribute", "active", 1);
	SetSceneItem("D_WK225", "attribute", "active", 1);
	SetSceneItem("D_WK226", "attribute", "active", 1);
	SetSceneItem("D_WK227", "attribute", "active", 1);
	SetSceneItem("D_WK228", "attribute", "active", 1);
	SetSceneItem("D_WK229", "attribute", "active", 1);
	SetSceneItem("D_WK230", "attribute", "active", 1);
	SetSceneItem("D_WK231", "attribute", "active", 1);
	SetSceneItem("D_WK232", "attribute", "active", 1);
	SetSceneItem("D_WK233", "attribute", "active", 1);
	SetSceneItem("D_WK234", "attribute", "active", 1);
	SetSceneItem("D_WK235", "attribute", "active", 1);
	SetSceneItem("D_WK236", "attribute", "active", 1);
	SetSceneItem("D_WK237", "attribute", "active", 1);
	SetSceneItem("D_WK238", "attribute", "active", 1);
	SetSceneItem("D_WK239", "attribute", "active", 1);
	SetSceneItem("D_WK240", "attribute", "active", 1);
	SetSceneItem("D_WK241", "attribute", "active", 1);
	SetSceneItem("D_WK242", "attribute", "active", 1);
	SetSceneItem("D_WK243", "attribute", "active", 1);
	SetSceneItem("D_WK244", "attribute", "active", 1);
	SetSceneItem("D_WK245", "attribute", "active", 1);
	SetSceneItem("D_WK246", "attribute", "active", 1);
	SetSceneItem("D_WK247", "attribute", "active", 1);
	SetSceneItem("D_WK248", "attribute", "active", 1);
	SetSceneItem("D_WK249", "attribute", "active", 1);
	SetSceneItem("D_WK250", "attribute", "active", 1);

	SetSceneItem("D_tpEC07", "attribute", "active", 1);
	SetSceneItem("D_tpEC08", "attribute", "active", 0);

                SetSceneItem("D_JC01", "attribute", "active", 1);
                SetSceneItem("D_JC02", "attribute", "active", 1);
                SetSceneItem("D_JC03", "attribute", "active", 1);
                SetSceneItem("D_JC04", "attribute", "active", 1);
                SetSceneItem("D_JC05", "attribute", "active", 1);
                SetSceneItem("D_JC06", "attribute", "active", 1);

	SetSceneItem("D_sn08B01", "attribute", "active", 1);
	SetSceneItem("D_sn08B02", "attribute", "active", 1);
	SetSceneItem("D_sn08B03", "attribute", "active", 1);

	SetSceneItem("D_knife01", "attribute", "active", 1);
	SetSceneItem("D_knife02", "attribute", "active", 1);
	SetSceneItem("D_knife03", "attribute", "active", 1);
	SetSceneItem("D_knife04", "attribute", "active", 1);
	SetSceneItem("D_knife05", "attribute", "active", 1);

	SetSceneItem("D_Item01", "attribute", "active", 1);
	SetSceneItem("D_Item02", "attribute", "active", 1);
	SetSceneItem("D_Item03", "attribute", "active", 1);
	SetSceneItem("D_Item04", "attribute", "active", 1);
	SetSceneItem("D_Item05", "attribute", "active", 1);
	SetSceneItem("D_Item06", "attribute", "active", 1);
	SetSceneItem("D_Item07", "attribute", "active", 1);
	SetSceneItem("D_Item12", "attribute", "active", 1);
	SetSceneItem("D_Item13", "attribute", "active", 1);
	SetSceneItem("D_Item14", "attribute", "active", 1);
	SetSceneItem("D_Item15", "attribute", "active", 1);


	SetSceneItem("D_Wpn01", "attribute", "active", 1);	
	SetSceneItem("D_Wpn02", "attribute", "active", 1);
	SetSceneItem("D_Wpn03", "attribute", "active", 1);
	SetSceneItem("D_Wpn04", "attribute", "active", 1);
	SetSceneItem("D_Wpn05", "attribute", "active", 1);
	SetSceneItem("D_Wpn06", "attribute", "active", 1);
	SetSceneItem("D_Wpn07", "attribute", "active", 1);

}
D_Item11_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_w01", "attribute", "active", 0);
	SetSceneItem("D_w02", "attribute", "active", 0);
	SetSceneItem("D_w03", "attribute", "active", 0);
	SetSceneItem("D_w04", "attribute", "active", 0);
	SetSceneItem("D_w05", "attribute", "active", 0);
	SetSceneItem("D_w06", "attribute", "active", 0);
	SetSceneItem("D_w07", "attribute", "active", 0);
	SetSceneItem("D_w08", "attribute", "active", 0);
	SetSceneItem("D_w09", "attribute", "active", 0);
	SetSceneItem("D_w10", "attribute", "active", 0);
	SetSceneItem("D_w11", "attribute", "active", 0);
	SetSceneItem("D_w12", "attribute", "active", 0);
	SetSceneItem("D_w13", "attribute", "active", 0);
	SetSceneItem("D_w14", "attribute", "active", 0);
	SetSceneItem("D_w15", "attribute", "active", 0);
	SetSceneItem("D_w16", "attribute", "active", 0);
	SetSceneItem("D_w17", "attribute", "active", 0);
	SetSceneItem("D_w18", "attribute", "active", 0);
	SetSceneItem("D_w19", "attribute", "active", 0);
	SetSceneItem("D_w20", "attribute", "active", 0);
	SetSceneItem("D_w21", "attribute", "active", 0);
	SetSceneItem("D_w22", "attribute", "active", 0);
	SetSceneItem("D_w23", "attribute", "active", 0);
	SetSceneItem("D_w24", "attribute", "active", 0);
	SetSceneItem("D_w25", "attribute", "active", 0);
	SetSceneItem("D_w26", "attribute", "active", 0);
	SetSceneItem("D_w27", "attribute", "active", 0);
	SetSceneItem("D_w28", "attribute", "active", 0);
	SetSceneItem("D_w29", "attribute", "active", 0);
	SetSceneItem("D_w30", "attribute", "active", 0);
	SetSceneItem("D_w31", "attribute", "active", 0);
	SetSceneItem("D_w32", "attribute", "active", 0);
	SetSceneItem("D_w33", "attribute", "active", 0);
	SetSceneItem("D_w34", "attribute", "active", 0);
	SetSceneItem("D_w35", "attribute", "active", 0);
	SetSceneItem("D_w36", "attribute", "active", 0);
	SetSceneItem("D_w37", "attribute", "active", 0);
	SetSceneItem("D_w38", "attribute", "active", 0);
	SetSceneItem("D_w39", "attribute", "active", 0);
	SetSceneItem("D_w40", "attribute", "active", 0);
	SetSceneItem("D_w41", "attribute", "active", 0);
	SetSceneItem("D_w42", "attribute", "active", 0);
	SetSceneItem("D_w43", "attribute", "active", 0);
	SetSceneItem("D_w44", "attribute", "active", 0);
	SetSceneItem("D_w45", "attribute", "active", 0);
	SetSceneItem("D_w46", "attribute", "active", 0);
	SetSceneItem("D_w47", "attribute", "active", 0);
	SetSceneItem("D_w48", "attribute", "active", 0);
	SetSceneItem("D_w49", "attribute", "active", 0);
	SetSceneItem("D_w50", "attribute", "active", 0);
	SetSceneItem("D_w51", "attribute", "active", 0);
	SetSceneItem("D_w52", "attribute", "active", 0);
	SetSceneItem("D_w53", "attribute", "active", 0);
	SetSceneItem("D_w54", "attribute", "active", 0);
	SetSceneItem("D_w55", "attribute", "active", 0);
	SetSceneItem("D_w56", "attribute", "active", 0);
	SetSceneItem("D_w57", "attribute", "active", 0);
	SetSceneItem("D_w58", "attribute", "active", 0);
	SetSceneItem("D_w59", "attribute", "active", 0);
	SetSceneItem("D_w60", "attribute", "active", 0);
	SetSceneItem("D_w61", "attribute", "active", 0);
	SetSceneItem("D_w62", "attribute", "active", 0);
	SetSceneItem("D_w63", "attribute", "active", 0);
	SetSceneItem("D_w64", "attribute", "active", 0);
	SetSceneItem("D_w65", "attribute", "active", 0);
	SetSceneItem("D_w66", "attribute", "active", 0);
	SetSceneItem("D_w67", "attribute", "active", 0);
	SetSceneItem("D_w68", "attribute", "active", 0);
	SetSceneItem("D_w69", "attribute", "active", 0);
	SetSceneItem("D_w70", "attribute", "active", 0);
	SetSceneItem("D_w71", "attribute", "active", 0);
	SetSceneItem("D_w72", "attribute", "active", 0);
	SetSceneItem("D_w73", "attribute", "active", 0);
	SetSceneItem("D_w74", "attribute", "active", 0);
	SetSceneItem("D_w75", "attribute", "active", 0);
	SetSceneItem("D_w76", "attribute", "active", 0);
	SetSceneItem("D_w77", "attribute", "active", 0);
	SetSceneItem("D_w78", "attribute", "active", 0);
	SetSceneItem("D_w79", "attribute", "active", 0);
	SetSceneItem("D_w80", "attribute", "active", 0);
	SetSceneItem("D_w81", "attribute", "active", 0);
	SetSceneItem("D_w82", "attribute", "active", 0);
	SetSceneItem("D_w83", "attribute", "active", 0);
	SetSceneItem("D_w84", "attribute", "active", 0);
	SetSceneItem("D_w85", "attribute", "active", 0);
	SetSceneItem("D_w86", "attribute", "active", 0);
	SetSceneItem("D_w87", "attribute", "active", 0);
	SetSceneItem("D_w88", "attribute", "active", 0);
	SetSceneItem("D_w89", "attribute", "active", 0);
	SetSceneItem("D_w90", "attribute", "active", 0);
	SetSceneItem("D_w91", "attribute", "active", 0);
	SetSceneItem("D_w92", "attribute", "active", 0);
	SetSceneItem("D_w93", "attribute", "active", 0);
	SetSceneItem("D_w94", "attribute", "active", 0);
	SetSceneItem("D_w95", "attribute", "active", 0);
	SetSceneItem("D_w96", "attribute", "active", 0);
	SetSceneItem("D_w97", "attribute", "active", 0);
	SetSceneItem("D_w98", "attribute", "active", 0);
	SetSceneItem("D_w99", "attribute", "active", 0);
	SetSceneItem("D_w100", "attribute", "active",0);
	SetSceneItem("D_w101", "attribute", "active", 0);
	SetSceneItem("D_w102", "attribute", "active", 0);
	SetSceneItem("D_w103", "attribute", "active", 0);
	SetSceneItem("D_w104", "attribute", "active", 0);
	SetSceneItem("D_w105", "attribute", "active", 0);
	SetSceneItem("D_w106", "attribute", "active", 0);
	SetSceneItem("D_w107", "attribute", "active", 0);
	SetSceneItem("D_w108", "attribute", "active", 0);
	SetSceneItem("D_w109", "attribute", "active", 0);
	SetSceneItem("D_w110", "attribute", "active", 0);
	SetSceneItem("D_w111", "attribute", "active", 0);
	SetSceneItem("D_w112", "attribute", "active", 0);
	SetSceneItem("D_w113", "attribute", "active", 0);
	SetSceneItem("D_w114", "attribute", "active", 0);
	SetSceneItem("D_w115", "attribute", "active", 0);
	SetSceneItem("D_w116", "attribute", "active", 0);
	SetSceneItem("D_w117", "attribute", "active", 0);
	SetSceneItem("D_w118", "attribute", "active", 0);
	SetSceneItem("D_w119", "attribute", "active", 0);
	SetSceneItem("D_w120", "attribute", "active", 0);
	SetSceneItem("D_w121", "attribute", "active", 0);
	SetSceneItem("D_w122", "attribute", "active", 0);
	SetSceneItem("D_w123", "attribute", "active", 0);
	SetSceneItem("D_w124", "attribute", "active", 0);
	SetSceneItem("D_w125", "attribute", "active", 0);
	SetSceneItem("D_w126", "attribute", "active", 0);
	SetSceneItem("D_w127", "attribute", "active", 0);
	SetSceneItem("D_w128", "attribute", "active", 0);
	SetSceneItem("D_w129", "attribute", "active", 0);
	SetSceneItem("D_w130", "attribute", "active", 0);
	SetSceneItem("D_w131", "attribute", "active", 0);
	SetSceneItem("D_w132", "attribute", "active", 0);
	SetSceneItem("D_w133", "attribute", "active", 0);
	SetSceneItem("D_w134", "attribute", "active", 0);
	SetSceneItem("D_w135", "attribute", "active", 0);
	SetSceneItem("D_w136", "attribute", "active", 0);
	SetSceneItem("D_w137", "attribute", "active", 0);
	SetSceneItem("D_w138", "attribute", "active", 0);
	SetSceneItem("D_w139", "attribute", "active", 0);
	SetSceneItem("D_w140", "attribute", "active", 0);
	SetSceneItem("D_w141", "attribute", "active", 0);
	SetSceneItem("D_w142", "attribute", "active", 0);
	SetSceneItem("D_w143", "attribute", "active", 0);
	SetSceneItem("D_w144", "attribute", "active", 0);
	SetSceneItem("D_w145", "attribute", "active", 0);
	SetSceneItem("D_w146", "attribute", "active", 0);
	SetSceneItem("D_w147", "attribute", "active", 0);
	SetSceneItem("D_w148", "attribute", "active", 0);
	SetSceneItem("D_w149", "attribute", "active", 0);
	SetSceneItem("D_w150", "attribute", "active", 0);
	SetSceneItem("D_w151", "attribute", "active", 0);

	SetSceneItem("D_Item01", "attribute", "active", 0);
	SetSceneItem("D_Item02", "attribute", "active", 0);
	SetSceneItem("D_Item03", "attribute", "active", 0);
	SetSceneItem("D_Item04", "attribute", "active", 0);
	SetSceneItem("D_Item05", "attribute", "active", 0);
	SetSceneItem("D_Item06", "attribute", "active", 0);
	SetSceneItem("D_Item07", "attribute", "active", 0);
	SetSceneItem("D_Item15", "attribute", "active", 0);
	SetSceneItem("D_Item16", "attribute", "active", 0);
	SetSceneItem("D_Item17", "attribute", "active", 0);
	SetSceneItem("D_Item18", "attribute", "active", 0);
	SetSceneItem("D_Item19", "attribute", "active", 0);
	SetSceneItem("D_Item20", "attribute", "active", 0);
	SetSceneItem("D_Item21", "attribute", "active", 0);
	SetSceneItem("D_Item22", "attribute", "active", 0);
	SetSceneItem("D_Item23", "attribute", "active", 0);
	SetSceneItem("D_Item24", "attribute", "active", 0);
	SetSceneItem("D_Item25", "attribute", "active", 0);
	SetSceneItem("D_Item26", "attribute", "active", 0);
	SetSceneItem("D_Item27", "attribute", "active", 0);
	SetSceneItem("D_Item28", "attribute", "active", 0);
	SetSceneItem("D_Item29", "attribute", "active", 0);
	SetSceneItem("D_Item30", "attribute", "active", 0);
	SetSceneItem("D_Item31", "attribute", "active", 0);
	SetSceneItem("D_Item32", "attribute", "active", 0);

	SetSceneItem("D_t01", "attribute", "active", 0);
	SetSceneItem("D_t02", "attribute", "active", 0);
	SetSceneItem("D_t03", "attribute", "active", 0);
	SetSceneItem("D_t04", "attribute", "active", 0);
	SetSceneItem("D_t05", "attribute", "active", 0);
	SetSceneItem("D_t06", "attribute", "active", 0);
	SetSceneItem("D_t07", "attribute", "active", 0);
	SetSceneItem("D_t08", "attribute", "active", 0);
	SetSceneItem("D_t09", "attribute", "active", 0);
	SetSceneItem("D_t10", "attribute", "active", 0);
	SetSceneItem("D_t11", "attribute", "active", 0);
	SetSceneItem("D_t12", "attribute", "active", 0);
	SetSceneItem("D_t13", "attribute", "active", 0);
	SetSceneItem("D_t14", "attribute", "active", 0);
	SetSceneItem("D_t15", "attribute", "active", 0);
	SetSceneItem("D_t16", "attribute", "active", 0);
	SetSceneItem("D_t17", "attribute", "active", 0);
	SetSceneItem("D_t18", "attribute", "active", 0);
	SetSceneItem("D_t19", "attribute", "active", 0);
	SetSceneItem("D_t20", "attribute", "active", 0);
	SetSceneItem("D_t21", "attribute", "active", 0);
	SetSceneItem("D_t22", "attribute", "active", 0);
	SetSceneItem("D_t23", "attribute", "active", 0);
	SetSceneItem("D_t24", "attribute", "active", 0);
	SetSceneItem("D_t25", "attribute", "active", 0);
	SetSceneItem("D_t26", "attribute", "active", 0);
	SetSceneItem("D_t27", "attribute", "active", 0);
	SetSceneItem("D_t28", "attribute", "active", 0);
	SetSceneItem("D_t29", "attribute", "active", 0);
	SetSceneItem("D_t30", "attribute", "active", 0);
	SetSceneItem("D_t31", "attribute", "active", 0);
	SetSceneItem("D_t32", "attribute", "active", 0);
	SetSceneItem("D_t33", "attribute", "active", 0);
	SetSceneItem("D_t34", "attribute", "active", 0);
	SetSceneItem("D_t35", "attribute", "active", 0);
	SetSceneItem("D_t36", "attribute", "active", 0);
	SetSceneItem("D_t37", "attribute", "active", 0);
	SetSceneItem("D_t38", "attribute", "active", 0);
	SetSceneItem("D_t39", "attribute", "active", 0);
	SetSceneItem("D_t40", "attribute", "active", 0);
	SetSceneItem("D_t41", "attribute", "active", 0);
	SetSceneItem("D_t42", "attribute", "active", 0);
	SetSceneItem("D_t43", "attribute", "active", 0);
	SetSceneItem("D_t44", "attribute", "active", 0);
	SetSceneItem("D_t45", "attribute", "active", 0);
	SetSceneItem("D_t46", "attribute", "active", 0);
	SetSceneItem("D_t47", "attribute", "active", 0);
	SetSceneItem("D_t48", "attribute", "active", 0);
	SetSceneItem("D_t49", "attribute", "active", 0);
	SetSceneItem("D_t50", "attribute", "active", 0);
	SetSceneItem("D_t51", "attribute", "active", 0);
	SetSceneItem("D_t52", "attribute", "active", 0);
	SetSceneItem("D_t53", "attribute", "active", 0);
	SetSceneItem("D_t54", "attribute", "active", 0);
	SetSceneItem("D_t55", "attribute", "active", 0);

	SetSceneItem("D_Wpn10", "attribute", "active", 0);
	SetSceneItem("D_Wpn11", "attribute", "active", 0);
	SetSceneItem("D_Wpn12", "attribute", "active", 0);
	SetSceneItem("D_Wpn13", "attribute", "active", 0);
	SetSceneItem("D_Wpn14", "attribute", "active", 0);
	SetSceneItem("D_Wpn15", "attribute", "active", 0);
	SetSceneItem("D_Wpn16", "attribute", "active", 0);
	SetSceneItem("D_Wpn17", "attribute", "active", 0);
	SetSceneItem("D_Wpn18", "attribute", "active", 0);
	SetSceneItem("D_Wpn19", "attribute", "active", 0);
	SetSceneItem("D_Wpn20", "attribute", "active", 0);
	SetSceneItem("D_Wpn21", "attribute", "active", 0);
	SetSceneItem("D_Wpn22", "attribute", "active", 0);
	SetSceneItem("D_Wpn23", "attribute", "active", 0);
	SetSceneItem("D_Wpn24", "attribute", "active", 0);
	SetSceneItem("D_Wpn25", "attribute", "active", 0);
	SetSceneItem("D_Wpn26", "attribute", "active", 0);
	SetSceneItem("D_Wpn27", "attribute", "active", 0);
	SetSceneItem("D_Wpn28", "attribute", "active", 0);
}
D_Item12_OnPickUp()
{
	NetEvent(1);
		
	SetSceneItem("D_w01", "attribute", "active", 0);
	SetSceneItem("D_w02", "attribute", "active", 0);
	SetSceneItem("D_w03", "attribute", "active", 0);
	SetSceneItem("D_w04", "attribute", "active", 0);
	SetSceneItem("D_w05", "attribute", "active", 0);
	SetSceneItem("D_w06", "attribute", "active", 0);
	SetSceneItem("D_w07", "attribute", "active", 0);
	SetSceneItem("D_w08", "attribute", "active", 0);
	SetSceneItem("D_w09", "attribute", "active", 0);
	SetSceneItem("D_w10", "attribute", "active", 0);
	SetSceneItem("D_w11", "attribute", "active", 0);
	SetSceneItem("D_w12", "attribute", "active", 0);
	SetSceneItem("D_w13", "attribute", "active", 0);
	SetSceneItem("D_w14", "attribute", "active", 0);
	SetSceneItem("D_w15", "attribute", "active", 0);
	SetSceneItem("D_w16", "attribute", "active", 0);
	SetSceneItem("D_w17", "attribute", "active", 0);
	SetSceneItem("D_w18", "attribute", "active", 0);
	SetSceneItem("D_w19", "attribute", "active", 0);
	SetSceneItem("D_w20", "attribute", "active", 0);
	SetSceneItem("D_w21", "attribute", "active", 0);
	SetSceneItem("D_w22", "attribute", "active", 0);
	SetSceneItem("D_w23", "attribute", "active", 0);
	SetSceneItem("D_w24", "attribute", "active", 0);
	SetSceneItem("D_w25", "attribute", "active", 0);
	SetSceneItem("D_w26", "attribute", "active", 0);
	SetSceneItem("D_w27", "attribute", "active", 0);
	SetSceneItem("D_w28", "attribute", "active", 0);
	SetSceneItem("D_w29", "attribute", "active", 0);
	SetSceneItem("D_w30", "attribute", "active", 0);
	SetSceneItem("D_w31", "attribute", "active", 0);
	SetSceneItem("D_w32", "attribute", "active", 0);
	SetSceneItem("D_w33", "attribute", "active", 0);
	SetSceneItem("D_w34", "attribute", "active", 0);
	SetSceneItem("D_w35", "attribute", "active", 0);
	SetSceneItem("D_w36", "attribute", "active", 0);
	SetSceneItem("D_w37", "attribute", "active", 0);
	SetSceneItem("D_w38", "attribute", "active", 0);
	SetSceneItem("D_w39", "attribute", "active", 0);
	SetSceneItem("D_w40", "attribute", "active", 0);
	SetSceneItem("D_w41", "attribute", "active", 0);
	SetSceneItem("D_w42", "attribute", "active", 0);
	SetSceneItem("D_w43", "attribute", "active", 0);
	SetSceneItem("D_w44", "attribute", "active", 0);
	SetSceneItem("D_w45", "attribute", "active", 0);
	SetSceneItem("D_w46", "attribute", "active", 0);
	SetSceneItem("D_w47", "attribute", "active", 0);
	SetSceneItem("D_w48", "attribute", "active", 0);
	SetSceneItem("D_w49", "attribute", "active", 0);
	SetSceneItem("D_w50", "attribute", "active", 0);
	SetSceneItem("D_w51", "attribute", "active", 0);
	SetSceneItem("D_w52", "attribute", "active", 0);
	SetSceneItem("D_w53", "attribute", "active", 0);
	SetSceneItem("D_w54", "attribute", "active", 0);
	SetSceneItem("D_w55", "attribute", "active", 0);
	SetSceneItem("D_w56", "attribute", "active", 0);
	SetSceneItem("D_w57", "attribute", "active", 0);
	SetSceneItem("D_w58", "attribute", "active", 0);
	SetSceneItem("D_w59", "attribute", "active", 0);
	SetSceneItem("D_w60", "attribute", "active", 0);
	SetSceneItem("D_w61", "attribute", "active", 0);
	SetSceneItem("D_w62", "attribute", "active", 0);
	SetSceneItem("D_w63", "attribute", "active", 0);
	SetSceneItem("D_w64", "attribute", "active", 0);
	SetSceneItem("D_w65", "attribute", "active", 0);
	SetSceneItem("D_w66", "attribute", "active", 0);
	SetSceneItem("D_w67", "attribute", "active", 0);
	SetSceneItem("D_w68", "attribute", "active", 0);
	SetSceneItem("D_w69", "attribute", "active", 0);
	SetSceneItem("D_w70", "attribute", "active", 0);
	SetSceneItem("D_w71", "attribute", "active", 0);
	SetSceneItem("D_w72", "attribute", "active", 0);
	SetSceneItem("D_w73", "attribute", "active", 0);
	SetSceneItem("D_w74", "attribute", "active", 0);
	SetSceneItem("D_w75", "attribute", "active", 0);
	SetSceneItem("D_w76", "attribute", "active", 0);
	SetSceneItem("D_w77", "attribute", "active", 0);
	SetSceneItem("D_w78", "attribute", "active", 0);
	SetSceneItem("D_w79", "attribute", "active", 0);
	SetSceneItem("D_w80", "attribute", "active", 0);
	SetSceneItem("D_w81", "attribute", "active", 0);
	SetSceneItem("D_w82", "attribute", "active", 0);
	SetSceneItem("D_w83", "attribute", "active", 0);
	SetSceneItem("D_w84", "attribute", "active", 0);
	SetSceneItem("D_w85", "attribute", "active", 0);
	SetSceneItem("D_w86", "attribute", "active", 0);
	SetSceneItem("D_w87", "attribute", "active", 0);
	SetSceneItem("D_w88", "attribute", "active", 0);
	SetSceneItem("D_w89", "attribute", "active", 0);
	SetSceneItem("D_w90", "attribute", "active", 0);
	SetSceneItem("D_w91", "attribute", "active", 0);
	SetSceneItem("D_w92", "attribute", "active", 0);
	SetSceneItem("D_w93", "attribute", "active", 0);
	SetSceneItem("D_w94", "attribute", "active", 0);
	SetSceneItem("D_w95", "attribute", "active", 0);
	SetSceneItem("D_w96", "attribute", "active", 0);
	SetSceneItem("D_w97", "attribute", "active", 0);
	SetSceneItem("D_w98", "attribute", "active", 0);
	SetSceneItem("D_w99", "attribute", "active", 0);
	SetSceneItem("D_w100", "attribute", "active",0);
	SetSceneItem("D_w101", "attribute", "active", 0);
	SetSceneItem("D_w102", "attribute", "active", 0);
	SetSceneItem("D_w103", "attribute", "active", 0);
	SetSceneItem("D_w104", "attribute", "active", 0);
	SetSceneItem("D_w105", "attribute", "active", 0);
	SetSceneItem("D_w106", "attribute", "active", 0);
	SetSceneItem("D_w107", "attribute", "active", 0);
	SetSceneItem("D_w108", "attribute", "active", 0);
	SetSceneItem("D_w109", "attribute", "active", 0);
	SetSceneItem("D_w110", "attribute", "active", 0);
	SetSceneItem("D_w111", "attribute", "active", 0);
	SetSceneItem("D_w112", "attribute", "active", 0);
	SetSceneItem("D_w113", "attribute", "active", 0);
	SetSceneItem("D_w114", "attribute", "active", 0);
	SetSceneItem("D_w115", "attribute", "active", 0);
	SetSceneItem("D_w116", "attribute", "active", 0);
	SetSceneItem("D_w117", "attribute", "active", 0);
	SetSceneItem("D_w118", "attribute", "active", 0);
	SetSceneItem("D_w119", "attribute", "active", 0);
	SetSceneItem("D_w120", "attribute", "active", 0);
	SetSceneItem("D_w121", "attribute", "active", 0);
	SetSceneItem("D_w122", "attribute", "active", 0);
	SetSceneItem("D_w123", "attribute", "active", 0);
	SetSceneItem("D_w124", "attribute", "active", 0);
	SetSceneItem("D_w125", "attribute", "active", 0);
	SetSceneItem("D_w126", "attribute", "active", 0);
	SetSceneItem("D_w127", "attribute", "active", 0);
	SetSceneItem("D_w128", "attribute", "active", 0);
	SetSceneItem("D_w129", "attribute", "active", 0);
	SetSceneItem("D_w130", "attribute", "active", 0);
	SetSceneItem("D_w131", "attribute", "active", 0);
	SetSceneItem("D_w132", "attribute", "active", 0);
	SetSceneItem("D_w133", "attribute", "active", 0);
	SetSceneItem("D_w134", "attribute", "active", 0);
	SetSceneItem("D_w135", "attribute", "active", 0);
	SetSceneItem("D_w136", "attribute", "active", 0);
	SetSceneItem("D_w137", "attribute", "active", 0);
	SetSceneItem("D_w138", "attribute", "active", 0);
	SetSceneItem("D_w139", "attribute", "active", 0);
	SetSceneItem("D_w140", "attribute", "active", 0);
	SetSceneItem("D_w141", "attribute", "active", 0);
	SetSceneItem("D_w142", "attribute", "active", 0);
	SetSceneItem("D_w143", "attribute", "active", 0);
	SetSceneItem("D_w144", "attribute", "active", 0);
	SetSceneItem("D_w145", "attribute", "active", 0);
	SetSceneItem("D_w146", "attribute", "active", 0);
	SetSceneItem("D_w147", "attribute", "active", 0);
	SetSceneItem("D_w148", "attribute", "active", 0);
	SetSceneItem("D_w149", "attribute", "active", 0);
	SetSceneItem("D_w150", "attribute", "active", 0);
	SetSceneItem("D_w151", "attribute", "active", 0);

	SetSceneItem("D_Wpn10", "attribute", "active", 0);
	SetSceneItem("D_Wpn11", "attribute", "active", 0);
	SetSceneItem("D_Wpn12", "attribute", "active", 0);
	SetSceneItem("D_Wpn13", "attribute", "active", 0);
	SetSceneItem("D_Wpn14", "attribute", "active", 0);
	SetSceneItem("D_Wpn15", "attribute", "active", 0);
	SetSceneItem("D_Wpn16", "attribute", "active", 0);
	SetSceneItem("D_Wpn17", "attribute", "active", 0);
	SetSceneItem("D_Wpn18", "attribute", "active", 0);
	SetSceneItem("D_Wpn19", "attribute", "active", 0);
	SetSceneItem("D_Wpn20", "attribute", "active", 0);
	SetSceneItem("D_Wpn21", "attribute", "active", 0);
	SetSceneItem("D_Wpn22", "attribute", "active", 0);
	SetSceneItem("D_Wpn23", "attribute", "active", 0);
	SetSceneItem("D_Wpn24", "attribute", "active", 0);
	SetSceneItem("D_Wpn25", "attribute", "active", 0);
	SetSceneItem("D_Wpn26", "attribute", "active", 0);
	SetSceneItem("D_Wpn27", "attribute", "active", 0);
	SetSceneItem("D_Wpn28", "attribute", "active", 0);

	SetSceneItem("D_sn02st01", "attribute", "active", 0);
	SetSceneItem("D_sn02st02", "attribute", "active", 0);
	SetSceneItem("D_sn02st03", "attribute", "active", 0);
	SetSceneItem("D_sn02st04", "attribute", "active", 0);
	SetSceneItem("D_sn02st05", "attribute", "active", 0);
	SetSceneItem("D_sn02st06", "attribute", "active", 0);
	SetSceneItem("D_sn02st07", "attribute", "active", 0);
	SetSceneItem("D_sn02st08", "attribute", "active", 0);
	SetSceneItem("D_sn02st09", "attribute", "active", 0);
	SetSceneItem("D_sn02st10", "attribute", "active", 0);
	SetSceneItem("D_sn02st11", "attribute", "active", 0);

        SetSceneItem("D_YZ01", "attribute", "active", 0);
	SetSceneItem("D_YZ02", "attribute", "active", 0);
	SetSceneItem("D_YZ03", "attribute", "active", 0);
	SetSceneItem("D_YZ04", "attribute", "active", 0);
	SetSceneItem("D_YZ05", "attribute", "active", 0);
	SetSceneItem("D_YZ06", "attribute", "active", 0);
	SetSceneItem("D_YZ07", "attribute", "active", 0);
	SetSceneItem("D_YZ08", "attribute", "active", 0);
	SetSceneItem("D_YZ09", "attribute", "active", 0);
	SetSceneItem("D_YZ10", "attribute", "active", 0);
	SetSceneItem("D_YZ11", "attribute", "active", 0);
	SetSceneItem("D_YZ12", "attribute", "active", 0);
	SetSceneItem("D_YZ13", "attribute", "active", 0);
	SetSceneItem("D_YZ14", "attribute", "active", 0);
	SetSceneItem("D_YZ15", "attribute", "active", 0);
	SetSceneItem("D_YZ16", "attribute", "active", 0);
	SetSceneItem("D_YZ17", "attribute", "active", 0);
	SetSceneItem("D_YZ18", "attribute", "active", 0);
	SetSceneItem("D_YZ19", "attribute", "active", 0);
	SetSceneItem("D_YZ20", "attribute", "active", 0);
	SetSceneItem("D_YZ21", "attribute", "active", 0);
	SetSceneItem("D_YZ22", "attribute", "active", 0);
	SetSceneItem("D_YZ23", "attribute", "active", 0);
	SetSceneItem("D_YZ24", "attribute", "active", 0);
	SetSceneItem("D_YZ25", "attribute", "active", 0);
	SetSceneItem("D_YZ26", "attribute", "active", 0);
	SetSceneItem("D_YZ27", "attribute", "active", 0);
	SetSceneItem("D_YZ28", "attribute", "active", 0);
	SetSceneItem("D_YZ29", "attribute", "active", 0);
	SetSceneItem("D_YZ30", "attribute", "active", 0);
	SetSceneItem("D_YZ31", "attribute", "active", 0);
	SetSceneItem("D_YZ32", "attribute", "active", 0);
	SetSceneItem("D_YZ33", "attribute", "active", 0);
	SetSceneItem("D_YZ34", "attribute", "active", 0);
	SetSceneItem("D_YZ35", "attribute", "active", 0);
	SetSceneItem("D_YZ36", "attribute", "active", 0);
	SetSceneItem("D_YZ37", "attribute", "active", 0);
	SetSceneItem("D_YZ38", "attribute", "active", 0);
	SetSceneItem("D_YZ39", "attribute", "active", 0);
	SetSceneItem("D_YZ40", "attribute", "active", 0);
	SetSceneItem("D_YZ41", "attribute", "active", 0);
	SetSceneItem("D_YZ42", "attribute", "active", 0);
	SetSceneItem("D_YZ43", "attribute", "active", 0);
	SetSceneItem("D_YZ44", "attribute", "active", 0);
	SetSceneItem("D_YZ45", "attribute", "active", 0);
	SetSceneItem("D_YZ46", "attribute", "active", 0);
	SetSceneItem("D_YZ47", "attribute", "active", 0);
	SetSceneItem("D_YZ48", "attribute", "active", 0);
	SetSceneItem("D_YZ49", "attribute", "active", 0);

	SetSceneItem("D_Z01", "attribute", "active", 0);
	SetSceneItem("D_Z02", "attribute", "active", 0);
	SetSceneItem("D_Z03", "attribute", "active", 0);
	SetSceneItem("D_Z04", "attribute", "active", 0);
	SetSceneItem("D_Z05", "attribute", "active", 0);
	SetSceneItem("D_Z06", "attribute", "active", 0);
	SetSceneItem("D_Z07", "attribute", "active", 0);
	SetSceneItem("D_Z08", "attribute", "active", 0);
	SetSceneItem("D_Z09", "attribute", "active", 0);
	SetSceneItem("D_Z10", "attribute", "active", 0);
	SetSceneItem("D_Z11", "attribute", "active", 0);
	SetSceneItem("D_Z12", "attribute", "active", 0);
	SetSceneItem("D_Z13", "attribute", "active", 0);
	SetSceneItem("D_Z14", "attribute", "active", 0);
	SetSceneItem("D_Z15", "attribute", "active", 0);

	SetSceneItem("D_WK01", "attribute", "active", 0);
	SetSceneItem("D_WK02", "attribute", "active", 0);
	SetSceneItem("D_WK03", "attribute", "active", 0);
	SetSceneItem("D_WK04", "attribute", "active", 0);
	SetSceneItem("D_WK05", "attribute", "active", 0);
	SetSceneItem("D_WK06", "attribute", "active", 0);
	SetSceneItem("D_WK07", "attribute", "active", 0);
	SetSceneItem("D_WK08", "attribute", "active", 0);
	SetSceneItem("D_WK09", "attribute", "active", 0);
	SetSceneItem("D_WK10", "attribute", "active", 0);
	SetSceneItem("D_WK11", "attribute", "active", 0);
	SetSceneItem("D_WK12", "attribute", "active", 0);
	SetSceneItem("D_WK13", "attribute", "active", 0);
	SetSceneItem("D_WK14", "attribute", "active", 0);
	SetSceneItem("D_WK15", "attribute", "active", 0);
	SetSceneItem("D_WK16", "attribute", "active", 0);
	SetSceneItem("D_WK17", "attribute", "active", 0);
	SetSceneItem("D_WK18", "attribute", "active", 0);
	SetSceneItem("D_WK19", "attribute", "active", 0);
	SetSceneItem("D_WK20", "attribute", "active", 0);
	SetSceneItem("D_WK21", "attribute", "active", 0);
	SetSceneItem("D_WK22", "attribute", "active", 0);
	SetSceneItem("D_WK23", "attribute", "active", 0);
	SetSceneItem("D_WK24", "attribute", "active", 0);
	SetSceneItem("D_WK25", "attribute", "active", 0);
	SetSceneItem("D_WK26", "attribute", "active", 0);
	SetSceneItem("D_WK27", "attribute", "active", 0);
	SetSceneItem("D_WK28", "attribute", "active", 0);
	SetSceneItem("D_WK29", "attribute", "active", 0);
	SetSceneItem("D_WK30", "attribute", "active", 0);
	SetSceneItem("D_WK31", "attribute", "active", 0);
	SetSceneItem("D_WK32", "attribute", "active", 0);
	SetSceneItem("D_WK33", "attribute", "active", 0);
	SetSceneItem("D_WK42", "attribute", "active", 0);
	SetSceneItem("D_WK43", "attribute", "active", 0);
	SetSceneItem("D_WK44", "attribute", "active", 0);
	SetSceneItem("D_WK45", "attribute", "active", 0);
	SetSceneItem("D_WK46", "attribute", "active", 0);
	SetSceneItem("D_WK47", "attribute", "active", 0);
	SetSceneItem("D_WK48", "attribute", "active", 0);
	SetSceneItem("D_WK49", "attribute", "active", 0);
	SetSceneItem("D_WK50", "attribute", "active", 0);
	SetSceneItem("D_WK51", "attribute", "active", 0);
	SetSceneItem("D_WK52", "attribute", "active", 0);
	SetSceneItem("D_WK53", "attribute", "active", 0);
	SetSceneItem("D_WK54", "attribute", "active", 0);
	SetSceneItem("D_WK55", "attribute", "active", 0);
	SetSceneItem("D_WK56", "attribute", "active", 0);
	SetSceneItem("D_WK57", "attribute", "active", 0);
	SetSceneItem("D_WK58", "attribute", "active", 0);
	SetSceneItem("D_WK59", "attribute", "active", 0);
	SetSceneItem("D_WK60", "attribute", "active", 0);
	SetSceneItem("D_WK61", "attribute", "active", 0);
	SetSceneItem("D_WK62", "attribute", "active", 0);
	SetSceneItem("D_WK63", "attribute", "active", 0);
	SetSceneItem("D_WK64", "attribute", "active", 0);
	SetSceneItem("D_WK65", "attribute", "active", 0);
	SetSceneItem("D_WK66", "attribute", "active", 0);
	SetSceneItem("D_WK67", "attribute", "active", 0);
	SetSceneItem("D_WK68", "attribute", "active", 0);
	SetSceneItem("D_WK69", "attribute", "active", 0);
	SetSceneItem("D_WK70", "attribute", "active", 0);
	SetSceneItem("D_WK71", "attribute", "active", 0);
	SetSceneItem("D_WK72", "attribute", "active", 0);
	SetSceneItem("D_WK73", "attribute", "active", 0);
	SetSceneItem("D_WK74", "attribute", "active", 0);
	SetSceneItem("D_WK75", "attribute", "active", 0);
	SetSceneItem("D_WK76", "attribute", "active", 0);
	SetSceneItem("D_WK77", "attribute", "active", 0);
	SetSceneItem("D_WK78", "attribute", "active", 0);
	SetSceneItem("D_WK79", "attribute", "active", 0);
	SetSceneItem("D_WK80", "attribute", "active", 0);
	SetSceneItem("D_WK81", "attribute", "active", 0);
	SetSceneItem("D_WK82", "attribute", "active", 0);
	SetSceneItem("D_WK83", "attribute", "active", 0);
	SetSceneItem("D_WK84", "attribute", "active", 0);
	SetSceneItem("D_WK85", "attribute", "active", 0);
	SetSceneItem("D_WK86", "attribute", "active", 0);
	SetSceneItem("D_WK87", "attribute", "active", 0);
	SetSceneItem("D_WK88", "attribute", "active", 0);
	SetSceneItem("D_WK89", "attribute", "active", 0);
	SetSceneItem("D_WK90", "attribute", "active", 0);
	SetSceneItem("D_WK91", "attribute", "active", 0);
	SetSceneItem("D_WK92", "attribute", "active", 0);
	SetSceneItem("D_WK94", "attribute", "active", 0);
	SetSceneItem("D_WK95", "attribute", "active", 0);
	SetSceneItem("D_WK96", "attribute", "active", 0);
	SetSceneItem("D_WK97", "attribute", "active", 0);
	SetSceneItem("D_WK98", "attribute", "active", 0);
	SetSceneItem("D_WK99", "attribute", "active", 0);
	SetSceneItem("D_WK100", "attribute", "active", 0);
	SetSceneItem("D_WK101", "attribute", "active", 0);
	SetSceneItem("D_WK102", "attribute", "active", 0);
	SetSceneItem("D_WK103", "attribute", "active", 0);
	SetSceneItem("D_WK104", "attribute", "active", 0);
	SetSceneItem("D_WK105", "attribute", "active", 0);
	SetSceneItem("D_WK106", "attribute", "active", 0);
	SetSceneItem("D_WK107", "attribute", "active", 0);
	SetSceneItem("D_WK108", "attribute", "active", 0);
	SetSceneItem("D_WK109", "attribute", "active", 0);
	SetSceneItem("D_WK110", "attribute", "active", 0);
	SetSceneItem("D_WK111", "attribute", "active", 0);
	SetSceneItem("D_WK112", "attribute", "active", 0);
	SetSceneItem("D_WK113", "attribute", "active", 0);
	SetSceneItem("D_WK114", "attribute", "active", 0);
	SetSceneItem("D_WK115", "attribute", "active", 0);
	SetSceneItem("D_WK116", "attribute", "active", 0);
	SetSceneItem("D_WK117", "attribute", "active", 0);
	SetSceneItem("D_WK118", "attribute", "active", 0);
	SetSceneItem("D_WK119", "attribute", "active", 0);
	SetSceneItem("D_WK120", "attribute", "active", 0);
	SetSceneItem("D_WK121", "attribute", "active", 0);
	SetSceneItem("D_WK122", "attribute", "active", 0);
	SetSceneItem("D_WK123", "attribute", "active", 0);
	SetSceneItem("D_WK124", "attribute", "active", 0);
	SetSceneItem("D_WK125", "attribute", "active", 0);
	SetSceneItem("D_WK126", "attribute", "active", 0);
	SetSceneItem("D_WK127", "attribute", "active", 0);
	SetSceneItem("D_WK128", "attribute", "active", 0);
	SetSceneItem("D_WK129", "attribute", "active", 0);
	SetSceneItem("D_WK130", "attribute", "active", 0);
	SetSceneItem("D_WK131", "attribute", "active", 0);
	SetSceneItem("D_WK132", "attribute", "active", 0);
	SetSceneItem("D_WK133", "attribute", "active", 0);
	SetSceneItem("D_WK134", "attribute", "active", 0);
	SetSceneItem("D_WK135", "attribute", "active", 0);
	SetSceneItem("D_WK136", "attribute", "active", 0);
	SetSceneItem("D_WK137", "attribute", "active", 0);
	SetSceneItem("D_WK138", "attribute", "active", 0);
	SetSceneItem("D_WK139", "attribute", "active", 0);
	SetSceneItem("D_WK140", "attribute", "active", 0);
	SetSceneItem("D_WK141", "attribute", "active", 0);
	SetSceneItem("D_WK142", "attribute", "active", 0);
	SetSceneItem("D_WK143", "attribute", "active", 0);
	SetSceneItem("D_WK144", "attribute", "active", 0);
	SetSceneItem("D_WK145", "attribute", "active", 0);
	SetSceneItem("D_WK146", "attribute", "active", 0);
	SetSceneItem("D_WK147", "attribute", "active", 0);
	SetSceneItem("D_WK148", "attribute", "active", 0);
	SetSceneItem("D_WK149", "attribute", "active", 0);
	SetSceneItem("D_WK150", "attribute", "active", 0);
	SetSceneItem("D_WK151", "attribute", "active", 0);
	SetSceneItem("D_WK152", "attribute", "active", 0);
	SetSceneItem("D_WK153", "attribute", "active", 0);
	SetSceneItem("D_WK154", "attribute", "active", 0);
	SetSceneItem("D_WK155", "attribute", "active", 0);
	SetSceneItem("D_WK156", "attribute", "active", 0);
	SetSceneItem("D_WK157", "attribute", "active", 0);
	SetSceneItem("D_WK158", "attribute", "active", 0);
	SetSceneItem("D_WK159", "attribute", "active", 0);
	SetSceneItem("D_WK160", "attribute", "active", 0);
	SetSceneItem("D_WK161", "attribute", "active", 0);
	SetSceneItem("D_WK162", "attribute", "active", 0);
	SetSceneItem("D_WK163", "attribute", "active", 0);
	SetSceneItem("D_WK164", "attribute", "active", 0);
	SetSceneItem("D_WK165", "attribute", "active", 0);
	SetSceneItem("D_WK166", "attribute", "active", 0);
	SetSceneItem("D_WK167", "attribute", "active", 0);
	SetSceneItem("D_WK168", "attribute", "active", 0);
	SetSceneItem("D_WK169", "attribute", "active", 0);
	SetSceneItem("D_WK170", "attribute", "active", 0);
	SetSceneItem("D_WK171", "attribute", "active", 0);
	SetSceneItem("D_WK172", "attribute", "active", 0);
	SetSceneItem("D_WK173", "attribute", "active", 0);
	SetSceneItem("D_WK174", "attribute", "active", 0);
	SetSceneItem("D_WK175", "attribute", "active", 0);
	SetSceneItem("D_WK176", "attribute", "active", 0);
	SetSceneItem("D_WK177", "attribute", "active", 0);
	SetSceneItem("D_WK178", "attribute", "active", 0);
	SetSceneItem("D_WK179", "attribute", "active", 0);
	SetSceneItem("D_WK180", "attribute", "active", 0);
	SetSceneItem("D_WK181", "attribute", "active", 0);
	SetSceneItem("D_WK182", "attribute", "active", 0);
	SetSceneItem("D_WK183", "attribute", "active", 0);
	SetSceneItem("D_WK184", "attribute", "active", 0);
	SetSceneItem("D_WK185", "attribute", "active", 0);
	SetSceneItem("D_WK186", "attribute", "active", 0);
	SetSceneItem("D_WK187", "attribute", "active", 0);
	SetSceneItem("D_WK188", "attribute", "active", 0);
	SetSceneItem("D_WK189", "attribute", "active", 0);
	SetSceneItem("D_WK190", "attribute", "active", 0);
	SetSceneItem("D_WK191", "attribute", "active", 0);
	SetSceneItem("D_WK192", "attribute", "active", 0);
	SetSceneItem("D_WK193", "attribute", "active", 0);
	SetSceneItem("D_WK194", "attribute", "active", 0);
	SetSceneItem("D_WK195", "attribute", "active", 0);
	SetSceneItem("D_WK196", "attribute", "active", 0);
	SetSceneItem("D_WK197", "attribute", "active", 0);
	SetSceneItem("D_WK198", "attribute", "active", 0);
	SetSceneItem("D_WK199", "attribute", "active", 0);
	SetSceneItem("D_WK200", "attribute", "active", 0);
	SetSceneItem("D_WK201", "attribute", "active", 0);
	SetSceneItem("D_WK202", "attribute", "active", 0);
	SetSceneItem("D_WK203", "attribute", "active", 0);
	SetSceneItem("D_WK204", "attribute", "active", 0);
	SetSceneItem("D_WK205", "attribute", "active", 0);
	SetSceneItem("D_WK206", "attribute", "active", 0);
	SetSceneItem("D_WK207", "attribute", "active", 0);
	SetSceneItem("D_WK208", "attribute", "active", 0);
	SetSceneItem("D_WK209", "attribute", "active", 0);
	SetSceneItem("D_WK210", "attribute", "active", 0);
	SetSceneItem("D_WK211", "attribute", "active", 0);
	SetSceneItem("D_WK212", "attribute", "active", 0);
	SetSceneItem("D_WK213", "attribute", "active", 0);
	SetSceneItem("D_WK214", "attribute", "active", 0);
	SetSceneItem("D_WK215", "attribute", "active", 0);
	SetSceneItem("D_WK216", "attribute", "active", 0);
	SetSceneItem("D_WK217", "attribute", "active", 0);
	SetSceneItem("D_WK218", "attribute", "active", 0);
	SetSceneItem("D_WK219", "attribute", "active", 0);
	SetSceneItem("D_WK220", "attribute", "active", 0);
	SetSceneItem("D_WK221", "attribute", "active", 0);
	SetSceneItem("D_WK222", "attribute", "active", 0);
	SetSceneItem("D_WK223", "attribute", "active", 0);
	SetSceneItem("D_WK224", "attribute", "active", 0);
	SetSceneItem("D_WK225", "attribute", "active", 0);
	SetSceneItem("D_WK226", "attribute", "active", 0);
	SetSceneItem("D_WK227", "attribute", "active", 0);
	SetSceneItem("D_WK228", "attribute", "active", 0);
	SetSceneItem("D_WK229", "attribute", "active", 0);
	SetSceneItem("D_WK230", "attribute", "active", 0);
	SetSceneItem("D_WK231", "attribute", "active", 0);
	SetSceneItem("D_WK232", "attribute", "active", 0);
	SetSceneItem("D_WK233", "attribute", "active", 0);
	SetSceneItem("D_WK234", "attribute", "active", 0);
	SetSceneItem("D_WK235", "attribute", "active", 0);
	SetSceneItem("D_WK236", "attribute", "active", 0);
	SetSceneItem("D_WK237", "attribute", "active", 0);
	SetSceneItem("D_WK238", "attribute", "active", 0);
	SetSceneItem("D_WK239", "attribute", "active", 0);
	SetSceneItem("D_WK240", "attribute", "active", 0);
	SetSceneItem("D_WK241", "attribute", "active", 0);
	SetSceneItem("D_WK242", "attribute", "active", 0);
	SetSceneItem("D_WK243", "attribute", "active", 0);
	SetSceneItem("D_WK244", "attribute", "active", 0);
	SetSceneItem("D_WK245", "attribute", "active", 0);
	SetSceneItem("D_WK246", "attribute", "active", 0);
	SetSceneItem("D_WK247", "attribute", "active", 0);
	SetSceneItem("D_WK248", "attribute", "active", 0);
	SetSceneItem("D_WK249", "attribute", "active", 0);

	SetSceneItem("D_tpEC07", "attribute", "active", 0);
	SetSceneItem("D_tpEC09", "attribute", "active", 1);
	SetSceneItem("D_tpEC12", "attribute", "active", 1);


                SetSceneItem("D_JC01", "attribute", "active", 0);
                SetSceneItem("D_JC02", "attribute", "active", 0);
                SetSceneItem("D_JC03", "attribute", "active", 0);
                SetSceneItem("D_JC04", "attribute", "active", 0);
                SetSceneItem("D_JC05", "attribute", "active", 0);
                SetSceneItem("D_JC06", "attribute", "active", 0);

	SetSceneItem("D_sn08B01", "attribute", "active", 0);
	SetSceneItem("D_sn08B02", "attribute", "active", 0);
	SetSceneItem("D_sn08B03", "attribute", "active", 0);

	SetSceneItem("D_knife01", "attribute", "active", 0);
	SetSceneItem("D_knife02", "attribute", "active", 0);
	SetSceneItem("D_knife03", "attribute", "active", 0);
	SetSceneItem("D_knife04", "attribute", "active", 0);
	SetSceneItem("D_knife05", "attribute", "active", 0);


	SetSceneItem("D_Wpn01", "attribute", "active", 0);	
	SetSceneItem("D_Wpn02", "attribute", "active", 0);
	SetSceneItem("D_Wpn03", "attribute", "active", 0);
	SetSceneItem("D_Wpn04", "attribute", "active", 0);
	SetSceneItem("D_Wpn05", "attribute", "active", 0);
	SetSceneItem("D_Wpn06", "attribute", "active", 0);
	SetSceneItem("D_Wpn07", "attribute", "active", 0);

	SetSceneItem("D_t01", "attribute", "active", 1);
	SetSceneItem("D_t02", "attribute", "active", 1);
	SetSceneItem("D_t03", "attribute", "active", 1);
	SetSceneItem("D_t04", "attribute", "active", 1);
	SetSceneItem("D_t05", "attribute", "active", 1);
	SetSceneItem("D_t06", "attribute", "active", 1);
	SetSceneItem("D_t07", "attribute", "active", 1);
	SetSceneItem("D_t08", "attribute", "active", 1);
	SetSceneItem("D_t09", "attribute", "active", 1);
	SetSceneItem("D_t10", "attribute", "active", 1);
	SetSceneItem("D_t11", "attribute", "active", 1);
	SetSceneItem("D_t12", "attribute", "active", 1);
	SetSceneItem("D_t13", "attribute", "active", 1);
	SetSceneItem("D_t14", "attribute", "active", 1);
	SetSceneItem("D_t15", "attribute", "active", 1);
	SetSceneItem("D_t16", "attribute", "active", 1);
	SetSceneItem("D_t17", "attribute", "active", 1);
	SetSceneItem("D_t18", "attribute", "active", 1);
	SetSceneItem("D_t19", "attribute", "active", 1);
	SetSceneItem("D_t20", "attribute", "active", 1);
	SetSceneItem("D_t21", "attribute", "active", 1);
	SetSceneItem("D_t22", "attribute", "active", 1);
	SetSceneItem("D_t23", "attribute", "active", 1);
	SetSceneItem("D_t24", "attribute", "active", 1);
	SetSceneItem("D_t25", "attribute", "active", 1);
	SetSceneItem("D_t26", "attribute", "active", 1);
	SetSceneItem("D_t27", "attribute", "active", 1);
	SetSceneItem("D_t28", "attribute", "active", 1);
	SetSceneItem("D_t29", "attribute", "active", 1);
	SetSceneItem("D_t30", "attribute", "active", 1);
	SetSceneItem("D_t31", "attribute", "active", 1);
	SetSceneItem("D_t32", "attribute", "active", 1);
	SetSceneItem("D_t33", "attribute", "active", 1);
	SetSceneItem("D_t34", "attribute", "active", 1);
	SetSceneItem("D_t35", "attribute", "active", 1);
	SetSceneItem("D_t36", "attribute", "active", 1);
	SetSceneItem("D_t37", "attribute", "active", 1);
	SetSceneItem("D_t38", "attribute", "active", 1);
	SetSceneItem("D_t39", "attribute", "active", 1);
	SetSceneItem("D_t40", "attribute", "active", 1);
	SetSceneItem("D_t41", "attribute", "active", 1);
	SetSceneItem("D_t42", "attribute", "active", 1);
	SetSceneItem("D_t43", "attribute", "active", 1);
	SetSceneItem("D_t44", "attribute", "active", 1);
	SetSceneItem("D_t45", "attribute", "active", 1);
	SetSceneItem("D_t46", "attribute", "active", 1);
	SetSceneItem("D_t47", "attribute", "active", 1);
	SetSceneItem("D_t48", "attribute", "active", 1);
	SetSceneItem("D_t49", "attribute", "active", 1);
	SetSceneItem("D_t50", "attribute", "active", 1);
	SetSceneItem("D_t51", "attribute", "active", 1);
	SetSceneItem("D_t52", "attribute", "active", 1);
	SetSceneItem("D_t53", "attribute", "active", 1);
	SetSceneItem("D_t54", "attribute", "active", 1);
	SetSceneItem("D_t55", "attribute", "active", 1);
	SetSceneItem("D_t56", "attribute", "active", 1);
	SetSceneItem("D_t57", "attribute", "active", 1);
	SetSceneItem("D_t58", "attribute", "active", 1);

	SetSceneItem("D_h01", "attribute", "active", 1);
	SetSceneItem("D_h02", "attribute", "active", 1);
	SetSceneItem("D_h03", "attribute", "active", 1);
	SetSceneItem("D_h04", "attribute", "active", 1);
	SetSceneItem("D_h05", "attribute", "active", 1);
	SetSceneItem("D_h06", "attribute", "active", 1);
	SetSceneItem("D_h07", "attribute", "active", 1);
	SetSceneItem("D_h08", "attribute", "active", 1);
	SetSceneItem("D_h09", "attribute", "active", 1);
	SetSceneItem("D_h10", "attribute", "active", 1);
	SetSceneItem("D_h11", "attribute", "active", 1);
	SetSceneItem("D_h12", "attribute", "active", 1);
	SetSceneItem("D_h13", "attribute", "active", 1);
	SetSceneItem("D_h14", "attribute", "active", 1);
	SetSceneItem("D_h15", "attribute", "active", 1);
	SetSceneItem("D_h16", "attribute", "active", 1);
	SetSceneItem("D_h17", "attribute", "active", 1);
	SetSceneItem("D_h18", "attribute", "active", 1);
	SetSceneItem("D_h19", "attribute", "active", 1);
	SetSceneItem("D_h20", "attribute", "active", 1);
	SetSceneItem("D_h21", "attribute", "active", 1);
	SetSceneItem("D_h22", "attribute", "active", 1);
	SetSceneItem("D_h23", "attribute", "active", 1);
	SetSceneItem("D_h24", "attribute", "active", 1);
	SetSceneItem("D_h25", "attribute", "active", 1);
	SetSceneItem("D_h26", "attribute", "active", 1);
	SetSceneItem("D_h27", "attribute", "active", 1);
	SetSceneItem("D_h28", "attribute", "active", 1);
	SetSceneItem("D_h29", "attribute", "active", 1);
	SetSceneItem("D_h30", "attribute", "active", 1);
	SetSceneItem("D_h31", "attribute", "active", 1);
	SetSceneItem("D_h32", "attribute", "active", 1);
	SetSceneItem("D_h33", "attribute", "active", 1);
	SetSceneItem("D_h34", "attribute", "active", 1);
	SetSceneItem("D_h35", "attribute", "active", 1);
	SetSceneItem("D_h36", "attribute", "active", 1);

	SetSceneItem("D_i01", "attribute", "active", 1);
	SetSceneItem("D_i02", "attribute", "active", 1);
	SetSceneItem("D_i03", "attribute", "active", 1);
	SetSceneItem("D_i04", "attribute", "active", 1);
	SetSceneItem("D_i05", "attribute", "active", 1);
	SetSceneItem("D_i06", "attribute", "active", 1);
	SetSceneItem("D_i07", "attribute", "active", 1);
	SetSceneItem("D_i08", "attribute", "active", 1);
	SetSceneItem("D_i09", "attribute", "active", 1);
	SetSceneItem("D_i10", "attribute", "active", 1);
	SetSceneItem("D_i11", "attribute", "active", 1);
	SetSceneItem("D_i12", "attribute", "active", 1);

}
Scene_OnCharacterEvent(int id, int event)
{
	int i;
	int arena;
	int team;
	Output("Character:", id, "event:", event);
	
	if ( event==EventExit || event==EventDeath )
	{
		if ( GameMod==DeathMatch )
		{
			arena = g_CharacterArena[id];
			if ( arena!=-1 )
			{
				g_ArenaCharacters[arena] = g_ArenaCharacters[arena];
			}
			g_CharacterArena[id] = -1;
		}
		if ( GameMod==TeamDeathMatch )
		{
			arena = g_CharacterArena[id];
			team = GetTeam(id);
			if ( arena!=-1 )
			{
				if ( team==1 )
				{
					g_TeamAArenaCharacters[arena] = g_TeamAArenaCharacters[arena] - 1;
				}
				if ( team==2 )
				{
					g_TeamBArenaCharacters[arena] = g_TeamBArenaCharacters[arena] - 1;
				}
			}
			g_CharacterArena[id] = -1;
		}
	}		
}

TransferToArena(int characterid, int tpid)
{
	string arenaname;
	int arena = tpid/2;
	Output("arena characters", g_ArenaCharacters[arena]);
	if ( g_ArenaCharacters[arena]<99)
	{
		g_ArenaCharacters[arena]=g_ArenaCharacters[arena];
		g_CharacterArena[characterid] = arena;
		MakeString(arenaname, "D_tpED", tpid+1);
		Misc("transfer", characterid, arenaname);
		Output("transfer", characterid, "to", tpid);
	}
}
TransferFromArena(int characterid, int tpid)
{
	string arenaname;
	int arena = tpid/2;

	if ( g_ArenaCharacters[arena]<99)
	{
		g_ArenaCharacters[arena]=g_ArenaCharacters[arena];
		g_CharacterArena[characterid] = -1;
		MakeString(arenaname, "D_tpED", tpid+17);
		Misc("transfer", characterid, arenaname);
		Output("transfer", characterid, "from", tpid);
	}
}

D_tpEC01_OnTouch(int id, int characterid)
{
	Output("EC01 Touched");
	TransferToArena(characterid, 0);
}
D_tpEC02_OnTouch(int id, int characterid)
{
	Output("EC02 Touched");
	TransferToArena(characterid, 1);
}
D_tpEC03_OnTouch(int id, int characterid)
{
	Output("EC03 Touched");
	TransferToArena(characterid, 2);
}
D_tpEC04_OnTouch(int id, int characterid)
{
	Output("EC04 Touched");
	TransferToArena(characterid, 3);
}
D_tpEC05_OnTouch(int id, int characterid)
{
	Output("EC05 Touched");
	TransferToArena(characterid, 4);
}
D_tpEC06_OnTouch(int id, int characterid)
{
	Output("EC06 Touched");
	TransferToArena(characterid, 5);
}
D_tpEC07_OnTouch(int id, int characterid)
{
	Output("EC07 Touched");
	TransferToArena(characterid, 6);
}
D_tpEC08_OnTouch(int id, int characterid)
{
	Output("EC08 Touched");
	TransferToArena(characterid, 7);
}
D_tpEC09_OnTouch(int id, int characterid)
{
	Output("EC09 Touched");
	TransferToArena(characterid, 8);
}
D_tpEC10_OnTouch(int id, int characterid)
{
	Output("EC10 Touched");
	TransferToArena(characterid, 9);
}
D_tpEC11_OnTouch(int id, int characterid)
{
	Output("EC11 Touched");
	TransferToArena(characterid, 10);
}
D_tpEC12_OnTouch(int id, int characterid)
{
	Output("EC12 Touched");
	TransferToArena(characterid, 11);
}
D_tpEC13_OnTouch(int id, int characterid)
{
	Output("EC13 Touched");
	TransferToArena(characterid, 12);
}
D_tpEC14_OnTouch(int id, int characterid)
{
	Output("EC14 Touched");
	TransferToArena(characterid, 13);
}
D_tpEC15_OnTouch(int id, int characterid)
{
	Output("EC15 Touched");
	TransferToArena(characterid, 14);
}
D_tpEC16_OnTouch(int id, int characterid)
{
	Output("EC16 Touched");
	TransferToArena(characterid, 15);
}
D_tpEC17_OnTouch(int id, int characterid)
{
	Output("EC17 Touched");
	TransferToArena(characterid, 16);
}
D_tpEC18_OnTouch(int id, int characterid)
{
	Output("EC18 Touched");
	TransferToArena(characterid, 17);
}
D_tpEC19_OnTouch(int id, int characterid)
{
	Output("EC19 Touched");
	TransferToArena(characterid, 18);
}
D_tpEC20_OnTouch(int id, int characterid)
{
	Output("EC20 Touched");
	TransferToArena(characterid, 19);
}
D_tpEC21_OnTouch(int id, int characterid)
{
	Output("EC21 Touched");
	TransferToArena(characterid, 20);
}
D_tpEC22_OnTouch(int id, int characterid)
{
	Output("EC22 Touched");
	TransferToArena(characterid, 21);
}
D_tpEC23_OnTouch(int id, int characterid)
{
	Output("EC23 Touched");
	TransferToArena(characterid, 22);
}
D_tpEC24_OnTouch(int id, int characterid)
{
	Output("EC24 Touched");
	TransferToArena(characterid, 23);
}
D_tpEC25_OnTouch(int id, int characterid)
{
	Output("EC25 Touched");
	TransferToArena(characterid, 24);
}
D_tpEC26_OnTouch(int id, int characterid)
{
	Output("EC26 Touched");
	TransferToArena(characterid, 25);
}
D_tpEC27_OnTouch(int id, int characterid)
{
	Output("EC27 Touched");
	TransferToArena(characterid, 26);
}