The Dink Network

Reply to Help please

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:
 
 
November 29th 2004, 12:31 AM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
My script freezes my game.Why?

//The main function
void main( void )
{
//Make it so the sprite can be touched
sp_touch_damage(&current_sprite, -1);
}

//The touch function
void touch( void )
{
//Make it so the sprite isn't touched more than once...
sp_touch_damage(&current_sprite,0);
if (&story < 4)
{
Say("I think I'd better look around some more first!", 1);
freeze(1);
move_stop(1, 2, 200, 1);
unfreeze(1);
//Make it so we can touch it again
sp_touch_damage(&current_sprite,-1);
}
if (&story > 3)
{
freeze(1);
sp_x(1, 261);
sp_y(1, 261);
sp_seq(1, 452);
sp_frame(1, 1);
sp_nocontrol(1, 1); //dink can't move until anim is done!
sp_touch_damage(&current_sprite, 0);
sp_brain(1, 0);
wait(2000);
sp_brain(1, 1);
&player_map = 340;
sp_x(1, 261);
sp_y(1, 377);
load_screen(340);
draw_screen();
}
}