A rhetorical question
I had the following in a script, what on earth could have been wrong with it?
void hit( void )
{
hurt(¤t_sprite, 1);
}
Whoops.
(For those not familiar with "hurt", this is an infinite loop.)
I found a fix for this, but I also found out that the hurt command seems to only do the random 0 or 1 on Dink, and not on his enemies. So be sure to set your damage > defense, folks.

void hit( void )
{
hurt(¤t_sprite, 1);
}
Whoops.

(For those not familiar with "hurt", this is an infinite loop.)
I found a fix for this, but I also found out that the hurt command seems to only do the random 0 or 1 on Dink, and not on his enemies. So be sure to set your damage > defense, folks.
Add a wait() somewhere and an if condition and you've got yourself a goto-less while loop that loops a certain procedure
