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

#include "..\PScriptLib\box.pst"
#include "..\PScriptLib\desk.pst"
#include "..\PScriptLib\chair.pst"
#include "..\PScriptLib\jug.pst"

Scene_OnInit()
{
	InitBoxes(g_iNumBoxes);
	InitBBoxes(g_iNumBBoxes);
	InitChairs(g_iNumChairs);
	InitDeskes(g_iNumDeskes);
	InitJugs(g_iNumJugs);
}
ZMJAI_OnEvent(int zmjEvt)
{
	if(zmjEvt == -1)
	{
		return -1;
	}

	if(zmjEvt == 10)
	{
		Misc("transfer", 1, "D_wpBBox01");
		return 11;
	}

	if(zmjEvt == 4)
	{
		int i;
		for(i=1; i<=32; i++)
		{
			StoneOnAttack(i, 1000);
			StoneOnAttack(i, 1000);
		}

		return 5;
	}
	
	return -1;
}
#include "..\PScriptLib\zmjeve.pst"