@LabelIndex 103557
@StringIndex 12115
class 0 ai_failed_timetwister : warrior_basic {
parameter:
	string	my_maker_name = "gludio58_1926_last_standm1";

handler:
	EventHandler CREATED() {
		myself.i_ai0 = 0;
		super;
	}

	EventHandler SCRIPT_EVENT(script_event_arg1,script_event_arg2,i0,c0) {
		if( script_event_arg1 == 78010023 ) {
			myself.i_ai0 = 1;
		}
		super;
	}

	EventHandler MY_DYING(maker0) {
		maker0 = gg::GetNpcMaker(my_maker_name);
		if( gg::IsNull(maker0) == 0 && myself.i_ai0 == 0 ) {
			if( gg::Rand(1000) >= 700 ) {
				myself::Say(gg::MakeFString(1000004,"","","","","") + "!");
				gg::SendMakerScriptEvent(maker0,78010030,0,0);
			} else {
				myself::Say(gg::MakeFString(1800113,"","","","",""));
				gg::SendMakerScriptEvent(maker0,78010002,0,0);
			}
		}
		super;
	}

}
