diff --git a/src/stage.h b/src/stage.h index c7d06c7..bcb2a87 100644 --- a/src/stage.h +++ b/src/stage.h @@ -684,7 +684,7 @@ static void waveBoss1(){ .offX = 24, .offY = 28, .boss = TRUE, - .health = 60 + .health = 20 }; bossMax = spawner.health; void updater(s16 i){ @@ -783,7 +783,21 @@ static void waveBoss1(){ spawnBullet(spawner, updater); } } else if(enemies[i].health > 20){ - + if(enemies[i].clock % 3 == 0){ + struct bulletSpawner spawner = { + .x = FIX16(random() % GAME_W), + .y = FIX16(32 + random() % 48), + .image = &bigBullet, + .big = TRUE, + .angle = 0, + .speed = FIX16(enemies[i].clock % 6 == 0 ? 2.5 : 3.5), + .light = enemies[i].clock % 6 == 0 + }; + for(u8 j = 0; j < 5; j++){ + if(spawner.angle > 32 && spawner.angle < 480) spawnBullet(spawner, EMPTY); + spawner.angle += 205; + } + } } else { }