From a073a1cff3aa2350afa79d617f2a3bb969a93d9c Mon Sep 17 00:00:00 2001 From: Coffee Date: Thu, 7 Jul 2011 21:07:29 -0300 Subject: Add an option to clauquer to show the players how many caves they eliminated. --- world/map/npc/025-4/clauquer.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/world/map/npc/025-4/clauquer.txt b/world/map/npc/025-4/clauquer.txt index a0e3f83d..c514bf48 100644 --- a/world/map/npc/025-4/clauquer.txt +++ b/world/map/npc/025-4/clauquer.txt @@ -57,15 +57,33 @@ L_End: goto L_Advice; L_Hmmm: + set @cleaned_caves, 0; + if (cavefights & BATTLE_CAVE1) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE2) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE3) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE4) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE5) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE6) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE7) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE8) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE9) set @cleaned_caves, @cleaned_caves + 1; mes "[Clauquer]"; mes "\"You already know everything about these caves. You don't need me anymore to find the little girl.\""; + next; menu "But please, I really need your help!", -, + "Oh, so many caves! Do you know how many are still left?", L_Feedback, "You're right, I don't need your help!", L_No; next; mes "\"Ok, if you insist... But I can only repeat what I already said.\""; goto L_Advice; +L_Feedback: + if (@cleaned_caves > 0 && @cleaned_caves < 9) mes "\"You are doing good... If I am right, you already eliminated " + @cleaned_caves + " of the 9 energy sources of the barrier that protects the cave in which Julia is hidden.\""; + if (@cleaned_caves == 9) mes "\"I am amazed... You eliminated all the 9 energy sources. Now is the difficult part. To save Julia, you need to eliminate the last and most powerful barrier. Good Luck!\""; + if (@cleaned_caves <= 0) mes "\"Well... You didn't eliminate any of the barriers, so that means there are still 9 caves and the tenth one, the strongest...\""; + close; + L_Huh: mes "[Clauquer]"; mes "\"Why are you here? Get out.\""; -- cgit v1.2.3-70-g09d2