Reply to Re: what is wrong with this script
If you don't have an account, just leave the password field blank.
I use the spawn script not for this script but later in the game.
I changed the script into this one and it still doesn't work.
I hear the sound of the phoenix but he doesn't show up in the screen and dink can't warp to screen 2 because he is freezed.
//phoenix
void main( void )
{
int &phoenix;
&phoenix = create_sprite( -500, 150, 9, 996, 1);
sp_sound(&phoenix, 50);
sp_brain(&phoenix, 9);
sp_speed(&phoenix, 2);
sp_base_walk(&phoenix, 980);
sp_timing(&phoenix, 0);
sp_pseq(&phoenix, 980);
sp_pframe(&phoenix, 1);
freeze(1);
freeze(&phoenix);
&story = 1;
move_stop(&phoenix, 1150, 6, 1);
wait(100);
say_npc(''What was that, Where am I ?????", 1);
wait(100);
//move dink
script_attach(1000);
fade_down();
fill_screen(0);
&player_map=2;
sp_x(1, 325);
sp_y(1, 385);
load_screen();
draw_screen();
draw_status();
fade_up();
unfreeze(1);
kill_this_task();
return;
}
I changed the script into this one and it still doesn't work.
I hear the sound of the phoenix but he doesn't show up in the screen and dink can't warp to screen 2 because he is freezed.
//phoenix
void main( void )
{
int &phoenix;
&phoenix = create_sprite( -500, 150, 9, 996, 1);
sp_sound(&phoenix, 50);
sp_brain(&phoenix, 9);
sp_speed(&phoenix, 2);
sp_base_walk(&phoenix, 980);
sp_timing(&phoenix, 0);
sp_pseq(&phoenix, 980);
sp_pframe(&phoenix, 1);
freeze(1);
freeze(&phoenix);
&story = 1;
move_stop(&phoenix, 1150, 6, 1);
wait(100);
say_npc(''What was that, Where am I ?????", 1);
wait(100);
//move dink
script_attach(1000);
fade_down();
fill_screen(0);
&player_map=2;
sp_x(1, 325);
sp_y(1, 385);
load_screen();
draw_screen();
draw_status();
fade_up();
unfreeze(1);
kill_this_task();
return;
}






