Commit 4ba8d006 by krkane

Update main.c

parent 78603129
Showing with 12 additions and 8 deletions
......@@ -47,8 +47,8 @@ int main(void)
if (defeatedEnemies < NUM_HENCHMEN)
{
Enemy enemy = CreateEnemy(defeatedEnemies);
printf("\nVastane tüübiga %s, %dHP ja rünnaku tugevusega"
" %d on loodud.\n", enemy.type, enemy.health,
printf("\nKohtasid vastast tüübiga %s, %dHP ja rünnaku tugevusega"
" %d.\n", enemy.type, enemy.health,
enemy.attack);
gameState = fight(&player, &enemy);
}
......@@ -56,8 +56,10 @@ int main(void)
{
// Generate the final boss
FinalBoss boss = CreateFinalBoss(defeatedEnemies);
printf("\nVastane tüübiga %s, %dHP ja rünnaku tugevusega"
" %d on loodud.\n", boss.type, boss.health,
printf("\nOled jõudmas koopa lõppu ning "
"äkitselt märkasid pealikku %s, %dHP ja"
" rünnaku tugevusega"
" %d.\n", boss.type, boss.health,
boss.attack);
gameState = bossFight(&player, &boss);
}
......@@ -116,8 +118,8 @@ int main(void)
if (defeatedEnemies < NUM_HENCHMEN)
{
Enemy enemy = CreateEnemy(defeatedEnemies);
printf("\nVastane tüübiga %s, %dHP ja rünnaku tugevusega"
" %d on loodud.\n", enemy.type, enemy.health,
printf("\nKohtasid vastast tüübiga %s, %dHP ja rünnaku tugevusega"
" %d.\n", enemy.type, enemy.health,
enemy.attack);
gameState = fight(&player, &enemy);
}
......@@ -125,8 +127,10 @@ int main(void)
{
// Generate the final boss
FinalBoss boss = CreateFinalBoss(defeatedEnemies);
printf("\nVastane tüübiga %s, %dHP ja rünnaku tugevusega"
" %d on loodud.\n", boss.type, boss.health,
printf("\nOled jõudmas koopa lõppu ning "
"äkitselt märkasid pealikku %s, %dHP ja"
" rünnaku tugevusega"
" %d.\n", boss.type, boss.health,
boss.attack);
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