diff options
Diffstat (limited to 'world/map/npc/009-1/jack.txt')
-rw-r--r-- | world/map/npc/009-1/jack.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/world/map/npc/009-1/jack.txt b/world/map/npc/009-1/jack.txt index 65968d5e..6d7bf498 100644 --- a/world/map/npc/009-1/jack.txt +++ b/world/map/npc/009-1/jack.txt @@ -14,7 +14,8 @@ //################################################################################# // Lumberjack -009-1.gat,40,45,0|script|Jack|141,{ +009-1.gat,40,45,0|script|Jack|141, +{ callfunc "ClearVariables"; set @RAWLOGS_AMOUNT, 40; @@ -39,8 +40,11 @@ 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) - callsub S_NohMask_Ask; + if (@inspector != 1) + goto L_NotInspector; + callsub S_NohMask_Ask; + +L_NotInspector: next; if (@Q_Forestbow < 1) goto L_Close; @@ -96,8 +100,9 @@ L_Bow_state_2: if (@Q_Forestbow > 3) goto L_Bow_state_4; mes "\"Good luck hunting those tree monsters - you will need it.\""; - if (@inspector == 1) - callsub S_NohMask_Ask; + if (@inspector != 1) + goto L_Close; + callsub S_NohMask_Ask; goto L_Close; L_Bow_state_4: |