ffc script Song_Obstacle { void run (int SFX, int Combo1, int Combo2, int Combo3, int Combo4, int Combo5, int Combo6, int trigger) { Game->PlaySound(SFX); if (Screen->ComboT[ComboAt(Link->X+8 and Link->Y+8)] == CT_SCRIPT5) { for (int i = 0; i < 176; i++) { if (Screen->ComboD[i] == Combo1) { Screen->ComboD[i] = Combo2; } if (Screen->ComboD[i] == Combo3) { Screen->ComboD[i] = Combo4; } if (Screen->ComboD[i] == Combo5) { Screen->ComboD[i] = Combo6; } } } } }I just don't see what I did wrong, here. What I'm trying to do is make sure it only changes the combos if Link is standing on the right combo type.
EDIT: The error it gives is at the if statement, so I know that's what's wrong, I just don't know HOW it's wrong.
Edited by Binx, 25 April 2017 - 06:41 PM.