Reply to Re: How can I code this situation?
If you don't have an account, just leave the password field blank.
You're right in your example, as I said, I have no brains tonight
I usually do this bit:
int &getnum = sp_editor_num(¤t_sprite);
int &num = editor_seq(&getnum,-1);
in the main procedure so I'd need to change &num because otherwise if I speak to the NPC without leaving the screen &num wouldn't have changed. I believe main is only run when the screen is first drawn? Whatever.
And I think only -1 tells you what a value is, you can set attributes to other negative numbers.

I usually do this bit:
int &getnum = sp_editor_num(¤t_sprite);
int &num = editor_seq(&getnum,-1);
in the main procedure so I'd need to change &num because otherwise if I speak to the NPC without leaving the screen &num wouldn't have changed. I believe main is only run when the screen is first drawn? Whatever.
And I think only -1 tells you what a value is, you can set attributes to other negative numbers.