rem: int arilou_gate_task(void* Blah)
add: int arilou_gate_task(void* data)
context: int arilou_gate_task(void* Blah){	BYTE counter;	DWORD TimeIn;	TimeIn = GetTimeCounter ();	counter = GET_GAME_STATE (ARILOU_SPACE_COUNTER);	for (;;)	{		SetSemaphore (GLOBAL (GameClock.clock_sem));		if (GET_GAME_STATE (ARILOU_SPACE) == OPENING)		{			if (++counter == 10)				counter = 9;		}		else		{			if (counter-- == 0)				counter = 0;		}		SetSemaphore (GraphicsSem);		SET_GAME_STATE (ARILOU_SPACE_COUNTER, counter);		ClearSemaphore (GraphicsSem);		ClearSemaphore (GLOBAL (GameClock.clock_sem));		SleepThreadUntil (TimeIn + BATTLE_FRAME_RATE);		TimeIn = GetTimeCounter ();	}	(void) Blah;  /* Satisfying compiler (unused parameter) */		return(0);}