summaryrefslogtreecommitdiff
path: root/world/map/npc/018-2/caul.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/018-2/caul.txt')
-rw-r--r--world/map/npc/018-2/caul.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/world/map/npc/018-2/caul.txt b/world/map/npc/018-2/caul.txt
index 8da98bdc..a599f5f8 100644
--- a/world/map/npc/018-2/caul.txt
+++ b/world/map/npc/018-2/caul.txt
@@ -438,15 +438,16 @@ L_monster_oil_pc_bad_ok:
L_monster_oil_auto_bad:
if (rand(3) == 0)
- return;
+ goto L_Return;
if (rand(readparam(bInt) + 100) > 70)
- return;
+ goto L_Return;
mes "The brew begins to bubble more violently.";
set @bubble_mode, @bubble_mode + 1;
if (@bubble_mode > 2)
next;
if (@bubble_mode > 2)
goto L_monster_oil_explode;
+
return;
L_monster_oil_explode:
@@ -1001,7 +1002,7 @@ L_check_explosion:
L_check_exp_nof:
// in about 95% of the cases anything is fine, so return.
- if (rand(1000) > @prob) return;
+ if (rand(1000) > @prob) goto L_Return;
// in some cases it is not:
// kabooom!
close2;
@@ -1069,6 +1070,9 @@ L_close:
set @inspector, 0;
close;
+L_Return:
+ return;
+
S_Update_Var:
set QUEST_Forestbow_state,
(QUEST_Forestbow_state & ~(@Q_MASK)