Reply to Re: Screenlocking/Story
If you don't have an account, just leave the password field blank.
Put the screenlock check thingy into void death. Using a loop in the monster script isn't a really good way, the loop gets interrupted when the monster is hit/killed. Plus it doesn't work anyway because there is no goto loop; anywhere.
void die( void ) { int &hold = sp_editor_num(¤t_sprite); if (&hold != 0) editor_type(&hold, 1); if (get_sprite_with_this_brain(9,¤t_sprite) == 0) { if (get_sprite_with_this_brain(10,¤t_sprite) == 0) { // Remove the screenlock screenlock(0); playsound(43, 22050,0,0,0); } } &save_x = sp_x(¤t_sprite, -1); &save_y = sp_y(¤t_sprite, -1); external("emake","small"); }