dinfo.c for fairy goodness v2.00... hey why doesn't this script work???
dink won't die with this script (hey, a new God Mode!), it is the normal dinfo.c from dink\story.
the bold things are the things i've added to the script...
if dink's life is 0, this script won't run. so dink doesn't die.. and, fade down and up won't work with me... weird.
sp_kill_wait(, 0);void die( void );
{
freeze(1);
&update_status = 0;
int &mholdx = sp_x(1,-1);
int &mholdy = sp_y(1,-1);
}
//int &crap = create_sprite(&mholdx,&mholdy,5,436,1);
sp_seq(1, 436);
sp_base_idle(1, -1);
wait(3000);
sp_nohit(1, 1);
sp_brain(1, 0);
wait(1000);
fade_down();
wait(2000);
script_attach(1000);
&player_map = 33;
load_screen(33);
draw_screen();
fade_up();
again:
choice_start();
"Restart game"
"Quit to Windows"
choice_end();
if (&result == 1)
{
sp_nohit(1, 0);
restart_game();
}
if (&result == 2)
{
kill_game();
}
the bold things are the things i've added to the script...
if dink's life is 0, this script won't run. so dink doesn't die.. and, fade down and up won't work with me... weird.
sp_kill_wait(, 0);void die( void );
{
freeze(1);
&update_status = 0;
int &mholdx = sp_x(1,-1);
int &mholdy = sp_y(1,-1);
}
//int &crap = create_sprite(&mholdx,&mholdy,5,436,1);
sp_seq(1, 436);
sp_base_idle(1, -1);
wait(3000);
sp_nohit(1, 1);
sp_brain(1, 0);
wait(1000);
fade_down();
wait(2000);
script_attach(1000);
&player_map = 33;
load_screen(33);
draw_screen();
fade_up();
again:
choice_start();
"Restart game"
"Quit to Windows"
choice_end();
if (&result == 1)
{
sp_nohit(1, 0);
restart_game();
}
if (&result == 2)
{
kill_game();
}