From bfea966e720beed6b78d9c22104c041c435806c0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 28 May 2020 19:31:56 -0300 Subject: More optional debug --- npc/017-1/drowned_man.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/017-1') diff --git a/npc/017-1/drowned_man.txt b/npc/017-1/drowned_man.txt index bd3c693a2..ec808ef73 100644 --- a/npc/017-1/drowned_man.txt +++ b/npc/017-1/drowned_man.txt @@ -119,9 +119,9 @@ OnInit: next; if (askyesno() == ASK_YES) { // Can't jump with pets - getinventorylist(); - for (.@i=4000; .@i < 4015 ; .@i++) { - if (array_find(@inventorylist_id, .@i) >= 0) { + // FIXME: Move it elsewhere - resist pet_Detective updates + for (.@i=PiouEgg; .@i <= BatEgg ; .@i++) { + if (countitem(.@i) >= 0) { mesc l("Can't bring pets with you..."), 1; next; mesc l("Do you really think the poor creature should jump a bridge in water and DIE?"), 1; -- cgit v1.2.3-60-g2f50