From 4d25d8787690193036661cdb877c45241b4a9441 Mon Sep 17 00:00:00 2001 From: toni Date: Tue, 18 Jan 2011 23:48:12 -0200 Subject: Add a Check to see if the player have used the magic house warp. Correcting a critical bug. If the player fails in the run, he is presented with the initial menu again, since there is no conditional for QUEST_MIRIAM == 5. --- npc/006-1_Desert_mountains/pachua.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'npc/006-1_Desert_mountains/pachua.txt') diff --git a/npc/006-1_Desert_mountains/pachua.txt b/npc/006-1_Desert_mountains/pachua.txt index 9fa6ad14..25e961d3 100644 --- a/npc/006-1_Desert_mountains/pachua.txt +++ b/npc/006-1_Desert_mountains/pachua.txt @@ -4,8 +4,10 @@ set @wants_leather_patch, QUEST_Forestbow_state & NIBBLE_4_MASK; + if (QUEST_MIRIAM_cheat != 0) goto L_warp_cheat; if (QUEST_MIRIAM_start != 0) goto L_smoke; +L_Begin: mes "[Chief Pachua]"; mes "\"How!\""; next; @@ -203,4 +205,10 @@ L_smoke: set QUEST_MIRIAM_run, gettimetick(1) - QUEST_MIRIAM_start; set QUEST_MIRIAM_start, 0; end; + +L_warp_cheat: + if (@warp_cheat == 1) goto L_Begin; + message strcharinfo(0), "Pachua releases a ring of smoke towards the sky! But, by the look on his face, you can tell he is suspicious about your methods..."; + set @warp_cheat, 1; + end; } -- cgit v1.2.3-60-g2f50