Reply to Re: Brain 9 creature slots
If you don't have an account, just leave the password field blank.
What about this?
EDIT: I don't know if if(sp_hitpoints(¤t_sprite, -1) < 1), works. xD
If it doesn't just set a local int to sp_hitpoints and check the variable in the if-statement.
void main(void) { loop: if(sp_hitpoints(¤t_sprite, -1) < 1) { itdied(); } //do stuff for movement and seq goto loop; } void itdied(void) { //play death animation and give exp return(); }
EDIT: I don't know if if(sp_hitpoints(¤t_sprite, -1) < 1), works. xD
If it doesn't just set a local int to sp_hitpoints and check the variable in the if-statement.