Advertisement
Guest User

why

a guest
Apr 30th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.97 KB | None | 0 0
  1. task timeline{
  2. wait(180);
  3. PlaySFX(charge);
  4. BFX_Charge(bx,by,150,60);
  5. wait(60);
  6. PlaySFX(discharge);
  7. BFX_Release(bx,by,150,60);
  8. //DrawName("Doremy Sweet");
  9.     while(ObjEnemy_GetInfo(objBoss, INFO_LIFE) > 0){
  10.         help;
  11.         wait(180);
  12.         wait(180);
  13.         Switch(2);//change render boss
  14.         help;
  15.         wait(180);
  16.         wait(180);
  17.         Switch(1);
  18.     }
  19. }
  20. task help{
  21. wait(1);
  22.     if(ObjEnemy_GetInfo(objBoss, INFO_LIFE) <= 0){return;} //Default kill to prevent (0,0) spawning
  23.     let angleT = GetAngleToPlayer(objBoss);
  24.     let angleTx = GetAngleToPlayer(objBoss);
  25.     let rang = 270;
  26.     let rangx = 0;
  27.     let x = 120;
  28.     let bullets = 30;
  29.     let nulo = 270;
  30.     let butter = [75,76,74,73,59,60,58,89,154,155,156,169,292,293,308,309];
  31.     //0-2500-5000-7500-10000
  32.    
  33.     while(ObjEnemy_GetInfo(objBoss, INFO_LIFE) > 0){
  34.         ascent(i in -3..4){
  35.             PlaySFX(shot);
  36.             ObjSound_SetVolumeRate(shot, 50);
  37.             let a = CreateShotA1(bx, by, 2+i/6, angleT+i*3, 278, 5);
  38.             turn(a, 5, 1, 4);
  39.         }
  40.         angleT+=5;
  41.         wait(7);
  42.     }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement