Well, this time, it's serious. To protect my plans with the scripts I will show soon, I am going to take out any mentions of the names.
These two scripts work in tandem to trigger one effect, but when I open a quest in ZC with them in it, the player freezes before the quest is finished loading.
Code:
ffc script -taken out-
{
int Activated = 0;
void run()
{
while(true)
{
while (Activated == 1)
{
Screen->ComboD[176] = 3;
}
}
}
}
Code:
import "std.zh"
import "-taken out-.z"
ffc script -taken out again-
{
int Type = 0;
int Piece = 1;
int Weapon = 0;
void run()
{
while(true)
{
if (Type == 0)
{
-taken out-.Activated = 1;
}
else if (Type == 1)
{
Screen->ClearSprites(0);
int ScrnNPCs = Screen->NumNPCs();
if (ScrnNPCs == 0)
{
-taken out-.Activated = 1;
}
}
else if (Type == 3)
{
if (Link->Item[Weapon])
{
-taken out-.Activated = 1;
}
}
}
}
}
Yeah... I have no clue what's wrong. Is it because I try to clear the guys from the screen?