The Dink Network

Reply to what

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:
 
 
March 20th 2004, 05:08 AM
spike.gif
the hell is wrong with this script? It doesn't work. When Dink touches the hole, nothing happens. I switched places with this and another absolutely similar (except for the coordinates) script, and it worked. but this one doesn't. What's wrong?

void main( void )
{
preload_seq(452);
sp_touch_damage(&current_sprite, -1);
sp_que(&current_sprite, 1);
}
void touch( void )
{
if (&life < 1) return;
freeze(1);
sp_x(1, 410);
sp_y(1, 390);
sp_seq(1, 452);
sp_frame(1, 1);
sp_nocontrol(1, 1);
sp_touch_damage(&current_sprite, 0);
sp_brain(1, 0);
wait(2000);
sp_brain(1, 1);
&player_map = 297;
sp_x(1, 490);
sp_y(1, 100);
load_screen();
draw_screen();
}