summaryrefslogtreecommitdiff
path: root/world/map/npc/025-4/clauquer.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/025-4/clauquer.txt')
-rw-r--r--world/map/npc/025-4/clauquer.txt18
1 files changed, 18 insertions, 0 deletions
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.\"";