OK, I wroted up this one real good like...but it ain't dun work neither..
Code:
import "std.zh"
//========================================================
// FFC SCRIPT TRIGGER SECRETS (no pun intended) hah;)
// D0 - D2; Items neccesary. Check std.zh for values
//========================================================
ffc script trig_secret2{
void run(int have_item, int have_item2, int have_item3){
while(true) {
if ( (Link->Item[have_item] == true) && (Link->Item[have_item2] == true) &&
(Link->Item[have_item3] == true) && (Screen->NumNPCs() >= 1) ) {
npc enemy_trig = Screen->LoadNPC(1);
enemy_trig->HP = 0;
Waitframe();
}
}
}
}
Here is the original, which somehow doesn't work also....
Code:
ffc script trigger_secrets{
void run(int have_item){
if (Link->Item[have_item] == true && Screen->NumNPCs() >= 1){
npc enemy_trig = Screen->LoadNPC(1);
enemy_trig->HP = 0;
}
}
}
Can anyone tell me why it doesn't actually do anything????