class 1 royal_rush_triggerbox_5 : royal_rush_triggerbox_base
{
parameter:
	string	room_event_1 = "1rd_type1_e";
	string	room_event_2 = "1rd_type2_e";

handler:
	EventHandler TALKED(talker,i0,maker0)
	{
		i0 = gg::GetDateTime(0,4);
		if( i0 > 49 && i0 < 60 )
		{
			myself::Say(myself::MakeFString(1010552,"","","","",""));
			return;
		}
		if( myself.i_ai0 == 1 )
		{
			return;
		}
		else
		{
			myself.i_ai0 = 1;
		}
		i0 = gg::Rand(2);
		switch(i0)
		{
			case 0:
			{
				maker0 = gg::GetNpcMaker(room_event_1);
				if( gg::IsNull(maker0) == 0 )
				{
					gg::SendMakerScriptEvent(maker0,1000,0,0);
					gg::SendMakerScriptEvent(maker0,1001,0,0);
				}
				break;
			}
			case 1:
			{
				maker0 = gg::GetNpcMaker(room_event_2);
				if( gg::IsNull(maker0) == 0 )
				{
					gg::SendMakerScriptEvent(maker0,1000,0,0);
					gg::SendMakerScriptEvent(maker0,1001,0,0);
				}
				break;
			}
		}
		super;
	}

}
