item script timestopscroll{

void run(int clockitem, int jinxtime){
if (Game->Counter[CR_SCRIPT1] = 1){
Game->Counter[CR_SCRIPT1] -= 1;
item givenclock = Screen->CreateItem(4);
givenclock->X = Link->X;
givenclock->Y = Link->Y;
givenclock->Z = Link->Z;
Link->ItemJinx = 2;}
}
    else{
    Game->PlaySound(errorsfx);
    }

}

}


item script increaseMaximumDCounterCount
{
void run(int increaseitem1, int increaseItemAmount1, int valueid, int increaseItemAmount2)
{
if (Link->Item[(increaseitem1)] == 1)
{
  Game->MCounter[valueid] = increaseItemAmount1;
Game->Counter[valueid] += 1;
}
}
}