Whats Wrong With This Script?
i need help my script stops after the first line.
void talk(void)
say_stop("`6Dink Im Death,Your World Is Gone", ¤t_sprite);
wait(200)
say_stop("No!Take Me!!",1);
wait(200)
say_stop("`6Hmmm If I Take You...", ¤t_sprite);
wait(200)
say_stop("`6The World Will End Soon Anyway", ¤t_sprite);
choice_start()
"Take Me!"
"You Die We All Win"
choice_end()
if (&result == 1)
{
say_stop("Take Me!!",1);
wait(200)
say_stop("`6What!! Noooooooo!", ¤t_sprite);
wait(200)
say_stop("`6Your A Free Soul!", ¤t_sprite);
wait(200)
say_stop("`6I Cant Take Someone Who Will Die....", ¤t_sprite);
wait(200)
say_stop("`6...For Other People", ¤t_sprite);
fade_down();
fill_screen(0);
&player_map = 603;
sp_x(1, 177);
sp_y(1, 180);
script_attach(1000);
load_screen();
draw_screen();
draw_status();
fade_up();
unfreeze(1);
}
if (&result == 2)
{
say_stop("Die You Fool!!",1);
wait(200)
say_stop("`6Perfect! You Fool", ¤t_sprite);
wait(200)
say_stop("`6You Cant Fight Me", ¤t_sprite);
wait(200)
say_stop("`6GoodBye World!!", ¤t_sprite);
wait(200)
say_stop("`9The End-You Lose", ¤t_sprite);
kill_game();
}
void hit(void)
say_stop("`9The End-You Lose", ¤t_sprite);
kill_game();
void talk(void)
say_stop("`6Dink Im Death,Your World Is Gone", ¤t_sprite);
wait(200)
say_stop("No!Take Me!!",1);
wait(200)
say_stop("`6Hmmm If I Take You...", ¤t_sprite);
wait(200)
say_stop("`6The World Will End Soon Anyway", ¤t_sprite);
choice_start()
"Take Me!"
"You Die We All Win"
choice_end()
if (&result == 1)
{
say_stop("Take Me!!",1);
wait(200)
say_stop("`6What!! Noooooooo!", ¤t_sprite);
wait(200)
say_stop("`6Your A Free Soul!", ¤t_sprite);
wait(200)
say_stop("`6I Cant Take Someone Who Will Die....", ¤t_sprite);
wait(200)
say_stop("`6...For Other People", ¤t_sprite);
fade_down();
fill_screen(0);
&player_map = 603;
sp_x(1, 177);
sp_y(1, 180);
script_attach(1000);
load_screen();
draw_screen();
draw_status();
fade_up();
unfreeze(1);
}
if (&result == 2)
{
say_stop("Die You Fool!!",1);
wait(200)
say_stop("`6Perfect! You Fool", ¤t_sprite);
wait(200)
say_stop("`6You Cant Fight Me", ¤t_sprite);
wait(200)
say_stop("`6GoodBye World!!", ¤t_sprite);
wait(200)
say_stop("`9The End-You Lose", ¤t_sprite);
kill_game();
}
void hit(void)
say_stop("`9The End-You Lose", ¤t_sprite);
kill_game();
Dah, you need brackets:
void talk(void)
{
//code
}
void hit(void)
{
//code
}
void talk(void)
{
//code
}
void hit(void)
{
//code
}