diff options
author | Wushin <pasekei@gmail.com> | 2015-04-30 01:11:22 -0500 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-04-30 01:11:22 -0500 |
commit | 49b17a120e1b9ae26ef3039219051745ff46e913 (patch) | |
tree | 877deffe3f331b74d6af72bc0cf8f30f840736aa /world/map/npc/029-2/sorfina.txt | |
parent | b28709f705abf9ca0fff5bf79f95d0599722fdff (diff) | |
parent | 3a0df71ee09f9fceb323f608638cc94d9d65124e (diff) | |
download | serverdata-49b17a120e1b9ae26ef3039219051745ff46e913.tar.gz serverdata-49b17a120e1b9ae26ef3039219051745ff46e913.tar.bz2 serverdata-49b17a120e1b9ae26ef3039219051745ff46e913.tar.xz serverdata-49b17a120e1b9ae26ef3039219051745ff46e913.zip |
Merge pull request #336 from mekolat/new-builtins
Use the new builtins
Diffstat (limited to 'world/map/npc/029-2/sorfina.txt')
-rw-r--r-- | world/map/npc/029-2/sorfina.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/world/map/npc/029-2/sorfina.txt b/world/map/npc/029-2/sorfina.txt index a7da1b31..984312cf 100644 --- a/world/map/npc/029-2/sorfina.txt +++ b/world/map/npc/029-2/sorfina.txt @@ -2,10 +2,8 @@ // Author: Jenalya 029-2,27,27,0|script|Sorfina|154,0,1 { - setarray @npc_loc, 27, 27, 2; + set @npc_distance, 2; callfunc "PCtoNPCRange"; - if (@npc_check) - goto L_Close; goto L_Main; L_Main: @@ -273,7 +271,8 @@ OnTouch: 029-2,29,23,0|script|Dresser#tutorial|400 { - setarray @npc_loc, 29, 23, 2; + set @npc_distance, 2; + set @distance_handler, 1; callfunc "PCtoNPCRange"; if (@npc_check) goto L_CloseDis; |