I would like to request, what I think (and hope) would be a simple script: Level 1 Flippers that allow you to swim, but not dive.
If I'm not mistaken, the script would disable the A and B inputs if Link has the Level 1 Flippers AND he is swimming.
Of course my Level 2 Flippers would have "Keep Lower Level Items" unchecked, so that it would replace the Level 1 Flippers and allow diving.
Let's see how far I can get on my own using this script as a base:
const int BoomerangID = 123; //set number to boomerang item ID global script Active{ void run(){ while(true){ if ( Game->Counter[CR_SCRIPT1] == 0 ) { if ( GetEquipmentA() == BoomerangID ) Link->InputA = false; if ( GetEquipmentB() == BoomerangID ) Link->InputB = false; } Waitframe(); } } } item script BoomerangActive{ void run(){ Game->Counter[CR_SCRIPT1] --; } }
My incomplete edit:
const int FlipperID = 51; //set number to Flipper item ID global script Active{ void run(){ while(true){ if ( Game->Counter[CR_SCRIPT1] == 0 ) {//Replace with Link->Swimming? if ( GetEquipment() == FlipperID )//just delete A button since it's not a button item? Link->InputA = false; Link->InputB = false; } Waitframe(); } } } item script FlipperActive{ void run(){ Game->Counter[CR_SCRIPT1] --;//Replace with... not sure what } }