From 3ad72c73ac63aeaaa629450b326063bda6a03d10 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 22 Apr 2019 11:19:53 -0300 Subject: Replace VarDiffValue with is_between --- npc/017-1/drowned_man.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/017-1') diff --git a/npc/017-1/drowned_man.txt b/npc/017-1/drowned_man.txt index 99a038c2d..dcbecab14 100644 --- a/npc/017-1/drowned_man.txt +++ b/npc/017-1/drowned_man.txt @@ -121,7 +121,7 @@ OnInit: // Do the jump! closeclientdialog; slide .x, .y; - if (VarDiffValue(5220, 5270, .x*32) && VarDiffValue(7330, 7390, .y*32)) + if (is_between(5220, 5270, .x*32) && is_between(7330, 7390, .y*32)) goto L_GoodJump; dispbottom l("The water was too shallow..."); percentheal -100, -100; -- cgit v1.2.3-70-g09d2