Hm. Intriguing. Nice script, Saffith, as always. May I ask a stupid question though?
Code:
while(true)
{
if(Link->Dir==DIR_UP || Link->Dir==DIR_DOWN)
{
Link->InputA=false;
Link->InputB=false;
}
Waitframe();
}
This is a "while" operation. The pseudocode is easy enough to comprehend, but seeing as it's a while operation, it states that -while- Link is facing up or down, A and B are set to False. Why doesn't it have to reactivate them? Is a state of "true" already assumed if it's not in the while loop? How or why is it assumed? O.o It's like it set it to false but doesn't set it to true anywhere.
It's fairly obvious how it can be true outside of the while loop, as it's the default, but why does it automatically assume the default of being true when the while loop deactivates?