Reply to Re: save_x and save_y
If you don't have an account, just leave the password field blank.
I'm not sure using ¤t_sprite in the external script would work, but you can carry over variables from the original script to the external script if it doesn't. I think you can carry over up to 8 variables this way.
//for the main script
int &this_x = sp_x(¤t_sprite,-1);
int &this_y = sp_y(¤t_sprite,-1);
external("emake","small",&this_x,&this_y);
//for the emake.c script
int &save_x = &arg1;
int &save_y = &arg2;
Edit: After testing I see that ¤t_sprite does in fact work with external (just as sparrowhawk said) so just ignore this post
//for the main script
int &this_x = sp_x(¤t_sprite,-1);
int &this_y = sp_y(¤t_sprite,-1);
external("emake","small",&this_x,&this_y);
//for the emake.c script
int &save_x = &arg1;
int &save_y = &arg2;
Edit: After testing I see that ¤t_sprite does in fact work with external (just as sparrowhawk said) so just ignore this post