Commit 4ba8d006 by krkane

Update main.c

parent 78603129
Showing with 12 additions and 8 deletions
...@@ -47,8 +47,8 @@ int main(void) ...@@ -47,8 +47,8 @@ int main(void)
if (defeatedEnemies < NUM_HENCHMEN) if (defeatedEnemies < NUM_HENCHMEN)
{ {
Enemy enemy = CreateEnemy(defeatedEnemies); Enemy enemy = CreateEnemy(defeatedEnemies);
printf("\nVastane tüübiga %s, %dHP ja rünnaku tugevusega" printf("\nKohtasid vastast tüübiga %s, %dHP ja rünnaku tugevusega"
" %d on loodud.\n", enemy.type, enemy.health, " %d.\n", enemy.type, enemy.health,
enemy.attack); enemy.attack);
gameState = fight(&player, &enemy); gameState = fight(&player, &enemy);
} }
...@@ -56,8 +56,10 @@ int main(void) ...@@ -56,8 +56,10 @@ int main(void)
{ {
// Generate the final boss // Generate the final boss
FinalBoss boss = CreateFinalBoss(defeatedEnemies); FinalBoss boss = CreateFinalBoss(defeatedEnemies);
printf("\nVastane tüübiga %s, %dHP ja rünnaku tugevusega" printf("\nOled jõudmas koopa lõppu ning "
" %d on loodud.\n", boss.type, boss.health, "äkitselt märkasid pealikku %s, %dHP ja"
" rünnaku tugevusega"
" %d.\n", boss.type, boss.health,
boss.attack); boss.attack);
gameState = bossFight(&player, &boss); gameState = bossFight(&player, &boss);
} }
...@@ -116,8 +118,8 @@ int main(void) ...@@ -116,8 +118,8 @@ int main(void)
if (defeatedEnemies < NUM_HENCHMEN) if (defeatedEnemies < NUM_HENCHMEN)
{ {
Enemy enemy = CreateEnemy(defeatedEnemies); Enemy enemy = CreateEnemy(defeatedEnemies);
printf("\nVastane tüübiga %s, %dHP ja rünnaku tugevusega" printf("\nKohtasid vastast tüübiga %s, %dHP ja rünnaku tugevusega"
" %d on loodud.\n", enemy.type, enemy.health, " %d.\n", enemy.type, enemy.health,
enemy.attack); enemy.attack);
gameState = fight(&player, &enemy); gameState = fight(&player, &enemy);
} }
...@@ -125,8 +127,10 @@ int main(void) ...@@ -125,8 +127,10 @@ int main(void)
{ {
// Generate the final boss // Generate the final boss
FinalBoss boss = CreateFinalBoss(defeatedEnemies); FinalBoss boss = CreateFinalBoss(defeatedEnemies);
printf("\nVastane tüübiga %s, %dHP ja rünnaku tugevusega" printf("\nOled jõudmas koopa lõppu ning "
" %d on loodud.\n", boss.type, boss.health, "äkitselt märkasid pealikku %s, %dHP ja"
" rünnaku tugevusega"
" %d.\n", boss.type, boss.health,
boss.attack); boss.attack);
gameState = bossFight(&player, &boss); gameState = bossFight(&player, &boss);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment