The Dink Network

Reply to Re: Boss Help

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
September 10th 2006, 06:38 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
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.