Here's the code. You will have to use A and B, since right and left click doesn't register, and it should be ready to import a dynamic array function into it.
CODE
import "std.zh"
// other imports go here.
ffc script cursor{
void run(){
int x; int y;
int data = 0; // Cursor icon
int cset = 0; // Cset of cursor
this->Data = data; this->CSet = cset;
while(true){
this->X = x; this->Y = y;
x = Link->InputMouseX - 38; y = Link->InputMouseY - 62;
// borders below keeps FFC on screen. -38(x) and -62(y) above corrects mouse-to-FFC offset.
if((Link->InputMouseX >= 256)){
x = 240;
}
if((Link->InputMouseX < 32)){
x = 0;
}
if((Link->InputMouseY > 216)){
y = 152;
}
if((Link->InputMouseY < 56)){
y = 0;
}
// place any "if" or "while" statements here.
Waitframe();
}
}
}
Credit goes to Joe123 and me. Have fun!