OK, I think should work fine. Feel free to ask any questions.
Also; What ffc would you permanently want to use as Link? 32 maybe? I'll add that part later. I gotta run right now.
Code:// pickup scripts item script pickup1{ void run(){ item_a = true; } } item script pickup2{ void run(){ item_b = true; } } item script pickup3{ void run(){ item_c = true; } } item script pickup4{ void run(){ item_d = true; } } //GLOBAL VARS -------------------------- bool dop_is_active = false; bool item_a = false; //you need to attach pickup scripts to all these items bool item_b = false; //unless you want link to start with it, then set that one to true bool item_c = false; bool item_d = false; int a = 0; //set the id's here int b = 0; int c = 0; int d = 0; int e = 0; int f = 0; int ring = 0; // the 256 damage divisor ring int a1 = 0; // id's to give when used int b1 = 0; //-------------------------------------- item script dop{ void run(){ if(dop_is_active==false){ dop_is_active==true; Link->Item[ring]==true; if(Link->Item[a])Link->Item[a]==false; if(Link->Item[b])Link->Item[b]==false; if(Link->Item[c])Link->Item[c]==false; if(Link->Item[d])Link->Item[d]==false; // copy/paste as needed if(Link->Item[a1]==false)Link->Item[a1]==true; if(Link->Item[b1]==false)Link->Item[b1]==true; } else { // is true dop_is_active==false; Link->Item[ring]==false; if(Link->Item[a]==false && item_a)Link->Item[a]==true; if(Link->Item[b]==false && item_b)Link->Item[b]==true; if(Link->Item[c]==false && item_c)Link->Item[c]==true; if(Link->Item[d]==false && item_d)Link->Item[d]==true; if(Link->Item[a1])Link->Item[a1]==false; if(Link->Item[b1])Link->Item[b1]==false; } } } global script glob{ void run(){ while(true){ //if you have another global script then cut here ------>8------ if(dop_is_active){ if(Link->MP==0 || Link->Action == LA_DROWNING){ //the else code of the item ------- //script is copy/pasted here!------ dop_is_active==false; } Link->MP -= 1; //mp drain rate } Waitframe(); } } }