Reply to Re: Boss Help
If you don't have an account, just leave the password field blank.
Try adding this: EDIT: In the void die() procedure of the boss that is... END EDIT
int &stair = create_sprite(x,y,0,428,3);
sp_script(&stair,"stair");
The stair's script:
void main(void)
{
sp_touch_damage(¤t_sprite,-1);
}
void touch(void)
{
sp_touch_damage(¤t_sprite,0);
sp_x(1,x);
sp_y(1,y);
&player_map = new_location;
load_screen();
draw_screen();
}
You might want to play around with fade_up and fade_down a bit in the stair's script, but that's up to you.
int &stair = create_sprite(x,y,0,428,3);
sp_script(&stair,"stair");
The stair's script:
void main(void)
{
sp_touch_damage(¤t_sprite,-1);
}
void touch(void)
{
sp_touch_damage(¤t_sprite,0);
sp_x(1,x);
sp_y(1,y);
&player_map = new_location;
load_screen();
draw_screen();
}
You might want to play around with fade_up and fade_down a bit in the stair's script, but that's up to you.