Hey everybody, it's me again! I've got another scripting problem. Here is the script I want to use:
ffc script MyCoolScript{
void run(){
while(true){
int comboLoc = ComboAt(Link->X + 8, Link->Y + 8); //stores the combo under link into "comboLoc"
for(int i=0; i<=175; i++){
if ( GetLayerComboD(1, i) == 123 && Screen->ComboD[comboLoc] == Screen->ComboD[i] ) { //if link is on combo 123 wich is on layer 1
//do something
}
}
Waitframe();
}
}
}
This script should check if link is standing on combo 123 wich I place on layer 1 and then do something with the combo at the same position on layer 0. However, this script pretends, link is always at any time standing on that combo.
I can not find out what the error is.. ![]()

