The Dink Network

Reply to Full script here:

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:
 
 
December 21st 2004, 06:40 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Since I still haven't been able to figure it out by myself, I've included the whole torch.c, so you have more to work with. The problem might be something trivial like forgotten semicolons or brackets, or a misspelled name, but EasyDinkC doesn't find any bracket/semicolon errors, and the only uncolored things are the say-strings and the sp_gold();

void main( void )
{
int &brap;
int &junk = sp_editor_num(&current_sprite);
sp_hard(&current_sprite, 0);
draw_hard_sprite(&current_sprite);
int &crap = editor_seq(&junk, -1);
sp_gold(&current_sprite, 10);
if (&crap == 0)
{
unburn();
return;
}
if (&duntimer < &crap)
{
unburn();
return;
}
&brap = &duntimer;
&brap -= &crap;
say("&duntimer - &crap = &brap",1);
if (&brap <= 60)
{
sp_gold(&current_sprite, 0);
sp_pseq(&current_sprite, 916);
sp_brain(&current_sprite, 6);
sp_seq(&current_sprite, 916);
sp_frame(&current_sprite, 1);
goto timecheck;
}
goto timecheck;
}

void unburn( void )
{
int &junk = sp_editor_num(&current_sprite);
sp_gold(&current_sprite, 10);
sp_brain(&current_sprite, 0);
sp_pseq(&current_sprite, 850);
sp_pframe(&current_sprite, 23);
editor_seq(&junk, 0);
&crap = 0;
}

void burn( void )
{
int &junk = sp_editor_num(&current_sprite);
editor_seq(&junk, &duntimer);
int &crap = &duntimer;
int &brap;
sp_gold(&current_sprite, 0);
sp_pseq(&current_sprite, 916);
sp_brain(&current_sprite, 6);
sp_seq(&current_sprite, 916);
sp_frame(&current_sprite, 1);
goto timecheck;
}

void check( void )
{
timecheck:
&crap = editor_seq(&junk, -1);
wait(100);
&brap = &duntimer;
&brap -= &crap;
say("Global time: &duntimer. Local time: &crap. Difference time: &duntimer - &crap = &brap.",&current_sprite);
if (&brap < 60)
{
goto timecheck;
}
unburn();
}