The Dink Network

Reply to I'm back! And I need help :p

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 24th 2012, 08:00 PM
knightgl.gif
castman
Peasant He/Him Brazil
Some day I'll finish my mod... Some day... 

Hyo,

I'm back into Dink edit (No one can simply stop Dink editing) and I got some trouble with this:

void talk ( void )
{
 freeze(1);

 say_stop("Another page!", 1);
 wait(200);

 show_bmp("tiles\page-02.bmp", 0, 0);

sp_brain_parm(&current_sprite, 300);
sp_brain(&current_sprite, 12);
sp_timing(&current_sprite, 0);

  //kill this item so it doesn't show up again for this player
  int &hold = sp_editor_num(&current_sprite);
  if (&hold != 0)
  editor_type(&hold, 1);

 unfreeze(1);

}


If I keep pressing space, Dink 'talks' to the book page again and the game freezes... I know how to avoid this bug with a local variable but that is too much work and open room for more bugs to come...

Is there anyway to kill this script so it unfreezes Dink but Dink can't talk to it right after?