Help me with the gate-script, plz
I use the following script to open a castle gate, but when I test it, it opens about 2 cm ( 1,5 ins) to the left of where it suposed to be opened.
Can someone plz, tell me what's wrong?:
void main(void)
{
}
void talk( void )
{
freeze(1);
say_stop("Knock, knock... ", 1);
say_stop("'4Who is there? ", ¤t_sprite);
say_stop("Dink Smallwood ", 1);
say_stop("'4Ok, come in... ", ¤t_sprite);
move_stop(1, 6, 499, 1);
move_stop(1, 4, 497, 1);
wait(1000);
sp_seq(¤t_sprite, 68);
playsound(7,22050,0,0,0);
wait(1000);
script_attach(1000);
fade_down();
fill_screen(0);
&player_map = 696;
sp_x(1, 314);
sp_y(1, 370);
load_screen();
draw_screen();
fade_up(void);
&update_status = 1;
draw_status();
move_stop(1, 8, 260, 1);
unfreeze(1);
return;
}
Can someone plz, tell me what's wrong?:
void main(void)
{
}
void talk( void )
{
freeze(1);
say_stop("Knock, knock... ", 1);
say_stop("'4Who is there? ", ¤t_sprite);
say_stop("Dink Smallwood ", 1);
say_stop("'4Ok, come in... ", ¤t_sprite);
move_stop(1, 6, 499, 1);
move_stop(1, 4, 497, 1);
wait(1000);
sp_seq(¤t_sprite, 68);
playsound(7,22050,0,0,0);
wait(1000);
script_attach(1000);
fade_down();
fill_screen(0);
&player_map = 696;
sp_x(1, 314);
sp_y(1, 370);
load_screen();
draw_screen();
fade_up(void);
&update_status = 1;
draw_status();
move_stop(1, 8, 260, 1);
unfreeze(1);
return;
}