
    
    //梅の花弾幕
    task Tshot01(bnum, tilt, fall_angle){ //bnum;弾数（偶数が望ましい）, tilt:傾き fall_angle:落下の際の角度
        //let bnum; //弾数（偶数が望ましい）
        let bspeed = 2.4;
        //let fall_angle;
        //if(rank == RANK_NORMAL){bnum = 20; fall_angle = 90;}
        //else if(rank == RANK_HARD){bnum = 36; fall_angle = GetAngleToPlayer;}
        ascent(i in 0..5){
            let group_angle = i*(360/5) + GetAngleToPlayer;
            ascent(j in 0..bnum){
                let indi_angle = j*(180/bnum);
                let sp = bspeed*sin(indi_angle)^2;
                if(indi_angle == 90){sp *= 0.9} //先端だけちょっとスピードを遅くする
                if(indi_angle == 85){sp *= 0.95} //先端だけちょっとスピードを遅くする
                if(indi_angle == 95){sp *= 0.95} //先端だけちょっとスピードを遅くする
                shot01A(sp, group_angle + indi_angle -90 + tilt, RED04);
            }
            shot01A(bspeed/2, group_angle + tilt, YELLOW05);
        }
        shot01A(0, 0, YELLOW02);
        
        function shot01A(speed, angle, color){
            CreateShotA(0, GetX, GetY, 0);
            SetShotDataA(0, 0, speed, angle+180, 0, -speed*0.01, 0, color);
            SetShotDataA(0, 120, 0, fall_angle, 0,  0.05, 1.4, color);
            FireShot(0);
        }
    }
    
    task Tmove01(speed, frame){
        let margin = 20 + 48; //余白
        let minY = GetClipMinY +  32 + 20;
        let maxY = GetClipMinY + 128 + 15;
        let g = 3; //重み
        loop{
            SetMovePosition03(GetClipMinX + margin, rand(minY, maxY), g, speed);
            SetAction(ACT_MOVE, frame);
            wait(frame);
            Tlaser01(GetX, GetY, -1);
            
            SetMovePosition03(GetClipMaxX - margin, rand(minY, maxY), g, speed);
            if(rand_int(0,1) == 0){SetAction(ACT_MOVE, frame); wait(frame);}
            else {SetAction(ACT_TURN, frame); wait(TIME_TURN);
            	SetAction(ACT_MOVE, frame); wait(frame-TIME_TURN);} //一回転してみたり
            Tlaser01(GetX, GetY, 1);
        }
    }
    
    task Tlaser01(x, y, sym){ //x_misa:x方向のずれ
        ascent(i in 0..4){
            CreateLaser01(x + (27+i*10)*sym, y, 1, 90, 250, 8, ORANGE12, 0);
        }
    }
    
    /*------------------便利関数------------------------*/
    /*------------------終わり--------------------------*/
    #include_function ".\lib_anime_Yuka.txt"
    #include_function ".\basic_function.txt"
    #include_function ".\data.txt"
    