CODE:
void boss_shot_bulletT201(){
int i;
if(boss_shot.cnt==0){
boss.hp_max=20000;
boss.hp=boss.hp_max;
}
if(boss_shot.cnt%15==0){
boss_bullet_on(18,5,0,1,boss.x,boss.y,1,-PI2/1000*boss_shot.cnt,PI2/18,1,1,0,0,1);
}
if(boss_shot.cnt%15==5){
boss_bullet_on(18,5,1,1,boss.x,boss.y,1,-PI2/1000*(boss_shot.cnt+300),PI2/18,1.2,1,0,0,1);
}
if(boss_shot.cnt%15==10){
boss_bullet_on(18,5,2,1,boss.x,boss.y,1,-PI2/1000*(boss_shot.cnt+600),PI2/18,1.8,1,0,0,1);
}
for(i=0;i<BOSS_BULLET_MAX;i++){
if(boss_shot.bullet[i].flag==1){
if(boss_shot.bullet[i].state==1){
boss_shot.bullet[i].angle+=PI2/540;
if(boss_shot.bullet[i].cnt==120){
boss_shot.bullet[i].knd=11;
if(boss_shot.bullet[i].col==1){
boss_shot.bullet[i].col=2;
}
else if(boss_shot.bullet[i].col==2){
boss_shot.bullet[i].col=1;
}
boss_shot.bullet[i].state=2;
}
}
if(boss_shot.bullet[i].state==2){
boss_shot.bullet[i].spd+=0.01;
}
}
}
}