task GusanoShot02(x,y,speed,angle,frame,anv,count,graphic,delay,time){// time is time between bullets
loop(count){
let gshot =CreateShotA1(x,y,speed,angle,graphic,delay);
ObjMove_AddPatternA3(gshot,frame,NO_CHANGE,NO_CHANGE,0,anv,0,NO_CHANGE);
wait(time);
 }
}
task GusanoShot01(x,y,speed,angle,count,graphic,delay,time){// time is time between bullets
loop(count){
CreateShotA1(x,y,speed,angle,graphic,delay);
wait(time);
 }
}