#include scener
#include input
#include kds3
export START;
export TICK;
export FINISH;

int angryFrom;
int angryTo;

void START( int * startupData )
{
	int* data = startupData;
	angryFrom = startupData[0];
	angryTo = startupData[1];
}

void TICK( double normTime )
{
	float t = ease(normTime, 0.2, 0.6);
	int currentAngry = iLerp(angryFrom, angryTo, t);
	SetAngryLevel(currentAngry);
}

void FINISH()
{
	SetAngryLevel(angryTo);
}
