Jump to content

Photo

I'm in need of a script


  • Please log in to reply
1 reply to this topic

#1 Old Inactive Member

Old Inactive Member

    I'm back sorta.

  • Members

Posted 02 March 2008 - 05:06 PM

I need this script that

cheaks if the Trifroce Number >= 3 triger screets on this room


Please i need it for my Temple of Time.

Thanks Billy Ronald




#2 Joe123

Joe123

    Retired

  • Members

Posted 02 March 2008 - 05:35 PM

CODE
ffc script 3triforcepiece{
    void run(){
    Waitframes(5);
    int cmb; int x; int y;
        if((Game->LItems[1] & 1 != 0) && (Game->LItems[2] & 1 != 0) && (Game->LItems[3] & 1 != 0)){
            x = Link->X; y = Link->Y;
            cmb = Screen->ComboT[ComboAt(x,y)];
            Screen->ComboT[ComboAt(x,y)] = CT_STRIGFLAG;
            Waitframes(3);
            Screen->ComboT[ComboAt(x,y)] = cmb;
        }
    }
}


Should work.

Edited by Joe123, 02 March 2008 - 05:35 PM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users