From 04c70964f5757c87063df30fc9283e6978014fa7 Mon Sep 17 00:00:00 2001 From: Sean Hulka Date: Thu, 3 Jun 2021 14:50:20 +0000 Subject: Fix script (for seeds) and make code more readable --- npc/006-2-5/pouf.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/npc/006-2-5/pouf.txt b/npc/006-2-5/pouf.txt index 38f55503e..0df2f4f8f 100644 --- a/npc/006-2-5/pouf.txt +++ b/npc/006-2-5/pouf.txt @@ -12,7 +12,8 @@ function script PoufMobCount { { setq2 LilitQuest_Pouf, .@t+1; } - if (.@t+1 >= 12) { + if (.@t+1 >= 12) + { setq LilitQuest_Pouf, 2, 0; } @@ -48,7 +49,7 @@ function poufChallenge { mesn; mesq l("Welcome to my Isles, traveller."); next; - mesc l("To show you are worthy of remaining here, you must prove yourself to me! Do you accept?"), 1; + mesc l("To show you are worthy of remaining here, you must prove yourself to me! Do you accept my challenge?"), 1; if (askyesno() == ASK_NO) return; poufQuest(); @@ -71,13 +72,14 @@ function poufChallenge { function poufQuest { // L_Quest: mes ""; mesn; - mesq l("Defeat 6 of my brave @@ to prove yourself a warrior, brave of heart and strong of arm!", getmonsterlink(PiouKnight)); + mesq l("Defeat 8 of my bravest @@ to prove yourself a warrior, brave of heart and strong of arm!", getmonsterlink(PiouKnight)); next; select l("Point the way! Little yellow birds can't be that hard."), l("Scary pious with armor? No thank you!"); mes ""; - switch (@menu) { + switch (@menu) + { case 1: mesn; mesq l("Excellent. You will find them in the training room beneath this chamber."); @@ -125,7 +127,7 @@ function poufQuestFinished { // L_Finished: } else if (.@r == 1) { - mesq l("Fight bravely for Queen +seeds and country, my knight!"); + mesq l("Fight bravely for Queen +seeds and country, honorable knight!"); } else { -- cgit v1.2.3-60-g2f50