diff options
Diffstat (limited to 'npc/000-2-0/julia.txt')
-rw-r--r-- | npc/000-2-0/julia.txt | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/npc/000-2-0/julia.txt b/npc/000-2-0/julia.txt index e17d93da..8206a0b9 100644 --- a/npc/000-2-0/julia.txt +++ b/npc/000-2-0/julia.txt @@ -263,32 +263,32 @@ function mainMenu { do { - menuint - rif(debug, menuaction(l("debug"))), 11, - rif(.@q3 == 5 && .@q4 < 1, l("What can I do now?")), 1, - rif(.@q3 == 3 && .@q2 == 0, l("I heard rumors about some old hostilities between you and Gado. Are they true?")), 2, - rif(.@q2 == 2 && countitem(PoisonedDish), l("Well... No wait, I have something for you but you shouldn't eat it... I'm taking it back to the kitchen.")), 3, - rif(.@q2 == 2 && countitem(PoisonedDish), l("I have brought you a tasty present for your delicate mouth.")), 4, - rif(getskilllv(NV_BASIC) < 6, l("Something is wrong with me, I can't smile nor sit.")), 5, - lg("I made a mistake, I would like to change my language."), 6, - l("Could you explain to me where I am?"), 7, - l("What happened to me?"), 8, - l("Can I read these rules again?"), 9, - l("Nothing, sorry."), 10; - - switch (@menuret) + select + rif(debug, menuaction(l("debug"))), + rif(.@q3 == 5 && .@q4 < 1, l("What can I do now?")), + rif(.@q3 == 3 && .@q2 == 0, l("I heard rumors about some old hostilities between you and Gado. Are they true?")), + rif(.@q2 == 2 && countitem(PoisonedDish), l("Well... No wait, I have something for you but you shouldn't eat it... I'm taking it back to the kitchen.")), + rif(.@q2 == 2 && countitem(PoisonedDish), l("I have brought you a tasty present for your delicate mouth.")), + rif(getskilllv(NV_BASIC) < 6, l("Something is wrong with me, I can't smile nor sit.")), + lg("I made a mistake, I would like to change my language."), + l("Could you explain to me where I am?"), + l("What happened to me?"), + l("Can I read these rules again?"), + l("Nothing, sorry."); + + switch (@menu) { - case 1: gotoSleep; break; - case 2: heardRumors; break; - case 3: gotRegrets; break; - case 4: poisonJulia; break; - case 5: basicSkill; break; - case 6: chooseLang .@s$; break; - case 7: whereAmI; break; - case 8: whatHappened; break; - case 9: readRules; break; - case 10: closedialog; end; - case 11: QuestDebug0; closedialog; end; + case 2: gotoSleep; break; + case 3: heardRumors; break; + case 4: gotRegrets; break; + case 5: poisonJulia; break; + case 6: basicSkill; break; + case 7: chooseLang .@s$; break; + case 8: whereAmI; break; + case 9: whatHappened; break; + case 10: readRules; break; + case 1: QuestDebug0; + case 11: closedialog; end; } } while (1); } |