6@trivia,181,263,0 script Star#Ins 111,0,0,{
OnTouch:
donpcevent instance_npcname("Star Power Up#Ins")+"::OnCharEffect";
// stopnpctimer;
// disablenpc instance_npcname(strnpcinfo(0));
end;
OnInstanceInit:
end;
OnEnable:
initnpctimer;
end;
OnTimer5000:
specialeffect 381;
initnpctimer;
end;
}
2@trivia,1,2,1 script Star Power Up#Ins 139,0,0,{
//OnTouch:
OnInstanceInit:
disablenpc instance_npcname(strnpcinfo(0));
// stopnpctimer;
end;
OnCharEffect:
// soundeffect "mario_star.wav",0;
if (attachrid('aid))
if (getcharid(0) == 'cid)
{
soundeffect "mario_star.wav",0;
OnTimer500:
specialeffect 501;
specialeffect 502;
initnpctimer;
end;
}
end;
}