The Dink Network

Reply to Re: colour codes

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:
 
 
May 24th 2005, 02:01 PM
anon.gif
spacehoggy
Ghost They/Them
 
Youve seriously messed up the brackets, every time you use the if statement, you have to open a new set of brackets, also you used the if statement twice. try this.

void talk(void)
{
if (&story == 3)
{
freeze(1)
freeze(&current_sprite)
say_stop("look, a key! Maybe i can lock up the roadblock!", 1);
wait(250);
&story = 4;
fade_down();
fill_screen(0);
&player_map = 407;
sp_x(1, 122);
sp_y(1, 289);
script_attach(1000);
load_screen();
draw_screen();
draw_status();
fade_up();
unfreeze(1);
kill_this_task();
}
}