@LabelIndex 173849
@StringIndex 21755
class 0 croc_of_swamp : party_private_physicalspecial {
handler:
	EventHandler MY_DYING(always_list,c0,code_info,i0,i1,i9,last_attacker,lparty,member,random1_list,target) {
		always_list = gg::AllocCodeInfoList();
		random1_list = gg::AllocCodeInfoList();
		target = last_attacker;
		always_list::SetInfo(0,target);
		while( gg::IsNull(code_info = always_list::Next()) == 0 ) {
			switch(code_info.code) {
				case 0: {
					myself::SetCurrentQuestID(711);
					target = code_info::RandomSelectOne();
					if( gg::IsNull(target) == 0 && myself::DistFromMe(target) <= 1500 ) {
						c0 = myself::Pledge_GetLeader(target);
						if( myself::IsNullCreature(c0) == 0 ) {
							if( gg::HaveMemo(c0,711) == 1 && ( gg::GetMemoState(c0,711) / 1000 ) >= 1 && ( gg::GetMemoState(c0,711) / 1000 ) < 101 && myself::DistFromMe(c0) <= 1500 ) {
								i0 = gg::GetMemoState(c0,711);
								if( ( gg::GetMemoState(c0,711) / 1000 ) < 100 ) {
									myself::SetMemoState(c0,711,( i0 + 1000 ));
								} else {
									myself::SetMemoState(c0,711,( i0 + 1000 ));
									myself::SetFlagJournal(c0,711,6);
									myself::ShowQuestMark(c0,711);
									myself::SoundEffect(c0,"ItemSound.quest_middle");
								}
							}
						}
					}
					break;
				}
			}
		}
		code_info = random1_list::RandomSelectOne();
		if( gg::IsNull(code_info) == 0 ) {
			switch (code_info.code) {
			}
		}
		super;
	}

}
