/* ADD S */
// Near Item Check
if('ChangeTS' == SCR_AI_LIB_NEARITEM_NOCHANGE(selfAi)){
ChangeTacticsAi(selfAi, 'TS_KEEP_BATTLE');
return;
}
/* ADD E */
// Near Item Check No ChangeTacticsAi
func SCR_AI_LIB_NEARITEM_NOCHANGE(selfAi)
{
if(kaiai_flag == 0) {
return;
}
var nearItem = GetNearItem(selfAi, 800);
if(nearItem != 0){
PickItem(selfAi, nearItem);
sleep(100);
return 'ChangeTS';
}
}