The Dink Network

Reply to Re: Splitting pillbug boss.

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:
 
 
April 11th 2012, 02:40 PM
pillbug.gif
pillbug
Peasant He/Him United States
Love! True love! 
I'm not sure if they split in PQ, but this is the void die() of the green blob that splits into two blue blobs from Cast Awakening: Initiation. Changing it to work when you hit the pillbug shouldn't be too difficult.

void die(void)
{
  &save_x = sp_editor_num(&current_sprite);
  if (&save_x != 0) editor_type(&save_x, 7);
  
  &save_x = sp_x(&current_sprite, -1);
  &save_y = sp_y(&current_sprite, -1);
  
  int &temp = create_sprite(&save_x,&save_y,9,861,1);
  sp_dir(&temp,1);
  sp_script(&temp,"en-blob1");
  &temp = create_sprite(&save_x,&save_y,9,861,1);
  sp_dir(&temp,3);
  sp_script(&temp,"en-blob1");
  &temp = create_sprite(&save_x,&save_y,9,861,1);
  sp_dir(&temp,7);
  sp_script(&temp,"en-blob1");
  &temp = create_sprite(&save_x,&save_y,9,861,1);
  sp_dir(&temp,9);
  sp_script(&temp,"en-blob1");
  
  external("emake","medium");
}


So it creates new sprites with new scripts where it died.