Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///Tactic 1
- if y > 300 exit;
- if tactic = 1
- {
- wanty = 110;
- }
- //////////////////Easy Mode
- if tactic = 1 && global.difficulty = 1 && await = 0
- {
- if mode = 0
- {
- wantx = 116+random(200);
- wanty = 90+random(60);
- inc2 = random(360);
- for(b=0;b<360;b+=120)
- {
- aa=instance_create(x,y,ebullet8);
- aa.direction = b+inc2;
- aa.speed = 3;
- }
- if fdir = true {fdir = false;} else {fdir = true;}
- await = 52;
- mode = 1;
- inc = -45;
- point = point_direction(x,y,global.player.x,global.player.y);
- }
- if mode = 1
- {
- await = 12;
- if fdir = true{
- for(a=2;a<=5;a+=0.5){
- aa=instance_create(x,y,ebullet1);
- aa.direction = point + -1 * inc;
- aa.speed = a;
- }
- inc += 22.5
- if inc > 45
- {mode = 0; await = 50; exit;}
- }
- if fdir = false{
- for(a=2;a<=5;a+=0.5){
- aa=instance_create(x,y,ebullet1);
- aa.direction = point + 1 * inc;
- aa.speed = a;
- }
- inc += 22.5
- if inc > 45
- {mode = 0; await = 50; exit;}
- }
- exit;
- }
- }
- //////////////////Normal Mode
- if tactic = 1 && global.difficulty = 2 && await = 0
- {
- if mode = 0
- {
- wantx = 116+random(200);
- wanty = 90+random(60);
- inc2 = random(360);
- for(b=0;b<360;b+=90)
- {
- aa=instance_create(x,y,ebullet8);
- aa.direction = b+inc2;
- aa.speed = 3;
- }
- if fdir = true {fdir = false;} else {fdir = true;}
- await = 48;
- mode = 1;
- inc = -45;
- point = point_direction(x,y,global.player.x,global.player.y);
- }
- if mode = 1
- {
- await = 8;
- if fdir = true{
- for(a=2;a<=5;a+=0.5){
- aa=instance_create(x,y,ebullet1);
- aa.direction = point + -1 * inc;
- aa.speed = a;
- }
- inc += 10
- if inc > 45
- {mode = 0; await = 40; exit;}
- }
- if fdir = false{
- for(a=2;a<=5;a+=0.5){
- aa=instance_create(x,y,ebullet1);
- aa.direction = point + 1 * inc;
- aa.speed = a;
- }
- inc += 10
- if inc > 45
- {mode = 0; await = 40; exit;}
- }
- exit;
- }
- }
- //////////////////Hard Mode
- if tactic = 1 && global.difficulty = 3 && await = 0
- {
- if mode = 0
- {
- wantx = 116+random(200);
- wanty = 90+random(60);
- inc2 = random(360);
- for(b=0;b<360;b+=90)
- {
- aa=instance_create(x,y,ebullet8);
- aa.direction = b+inc2;
- aa.speed = 3;
- }
- if fdir = true {fdir = false;} else {fdir = true;}
- await = 38;
- mode = 1;
- if fdir = true
- inc = -22.5;
- else
- inc = -45;
- point = point_direction(x,y,global.player.x,global.player.y);
- }
- if mode = 1
- {
- if fdir = true{await = 1;
- for(a=3;a<=6;a+=0.5){
- aa=instance_create(x,y,ebullet1);
- aa.direction = point + -1 * inc;
- aa.speed = a;
- }
- inc += 5
- if inc > 22.5
- {mode = 0; await = 30; exit;}
- }
- if fdir = false{await = 5;
- for(a=2;a<=5;a+=0.5){
- aa=instance_create(x,y,ebullet1);
- aa.direction = point + 1 * inc;
- aa.speed = a;
- }
- inc += 10
- if inc > 45
- {mode = 0; await = 40; exit;}
- }
- exit;
- }
- }
- //////////////////Lunatic Mode
- if tactic = 1 && global.difficulty = 4 && await = 0
- {
- await = 2;
- inc2 += 11;
- diff = 0;
- for(b=0;b<=100;b+=100)
- {
- for(a=1;a<=3;a+=0.5)
- {
- aa=instance_create(x,y,ebullet13);
- aa.direction = b+ inc2 + diff;
- aa.speed = a;
- aa.friction = -0.1;
- aa.image_blend = merge_color(make_color_hsv(diff*8+((inc2)/3),200,200),c_white,0.5);
- diff += 1;
- }
- }
- if inc2 mod 12 = 0
- {
- wantx = 116+random(200);
- wanty = 90+random(60);
- for(a=0;a<360;a+=10)
- {
- aa=instance_create(x,y,ebullet12);
- aa.direction = a;
- aa.speed = 5;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement