summaryrefslogtreecommitdiff
path: root/npc/017-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-1')
-rw-r--r--npc/017-1/drowned_man.txt6
1 files changed, 3 insertions, 3 deletions
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;