summaryrefslogtreecommitdiff
path: root/world/map/npc/009-1
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-04-04 18:02:08 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-04-04 18:02:08 -0700
commit6a85a72e083bc65d4a45f53aa6c6437ff6b11f7f (patch)
tree34649701476a045eba135bc59db91d94adc2ff56 /world/map/npc/009-1
parenta00579f57be4f02cd2a60ecd9468277ba6631e78 (diff)
downloadserverdata-6a85a72e083bc65d4a45f53aa6c6437ff6b11f7f.tar.gz
serverdata-6a85a72e083bc65d4a45f53aa6c6437ff6b11f7f.tar.bz2
serverdata-6a85a72e083bc65d4a45f53aa6c6437ff6b11f7f.tar.xz
serverdata-6a85a72e083bc65d4a45f53aa6c6437ff6b11f7f.zip
Clear (most) new warnings
Diffstat (limited to 'world/map/npc/009-1')
-rw-r--r--world/map/npc/009-1/jack.txt15
1 files changed, 5 insertions, 10 deletions
diff --git a/world/map/npc/009-1/jack.txt b/world/map/npc/009-1/jack.txt
index 48c9a26b..1cafe780 100644
--- a/world/map/npc/009-1/jack.txt
+++ b/world/map/npc/009-1/jack.txt
@@ -40,9 +40,9 @@
mes "[Jack Lumber]";
mes "\"Hello there, my name is Jack Lumber, the enemy of all trees. If you need some firewood just let me know.\"";
- if (@inspector != 1)
- goto L_NotInspector;
- callsub S_NohMask_Ask;
+ if (@inspector == 1)
+ goto L_NohMask_Ask;
+ goto L_NotInspector;
L_NotInspector:
next;
@@ -120,8 +120,7 @@ L_Bow_state_2:
mes "\"Good luck hunting those tree monsters - you will need it.\"";
if (@inspector != 1)
goto L_Close;
- callsub S_NohMask_Ask;
- goto L_Close;
+ goto L_NohMask_Ask;
L_Bow_state_4:
mes "[Jack Lumber]";
@@ -247,14 +246,10 @@ L_Shield_state_3:
"Me too.", L_Made_Shield,
"Have you seen anything that might be connected to the recent robberies in town?", L_NohMask_Answer;
-// This is an ugly violation of the scripting standards,
-// but it's somewhat complicated to fix.
-S_NohMask_Ask:
- next;
+L_NohMask_Ask:
menu
"I'll keep that in mind.", L_Close,
"Have you seen anything that might be connected to the recent robberies in town?", L_NohMask_Answer;
- return;
L_NohMask_Answer:
mes "[Jack Lumber]";