This script causes the compiler to crash:
import "std.zh"
item script icebombuse {
void run() {
int x = this->X;
int y = this->Y;
Screen->ComboD[ComboAt(x, y)] += 1;
}
}This script causes the compiler to crash:
import "std.zh"
item script icebombuse {
void run() {
int x = this->X;
int y = this->Y;
Screen->ComboD[ComboAt(x, y)] += 1;
}
}What is the X and Y position of the FFC?
It varies. It's not an FFC, but an item. Link places it, like a bomb.
I was able to fix it by moving the "ComboAt()" out of the array access, into a separate variable, and using that as the array access.
I'm sorry, I'd misread your post.
Fixed in the next build.
Thankee, good sir