summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 2c52024d2..1a9987587 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -2839,8 +2839,8 @@ set @i, petstat(PET_CLASS);
This function will look up the monster with the specified ID number in the
mob database and return the info set by TYPE argument.
-It will return -1 if there is no such item. Due to specific of MOB DB routines,
-it's better to check monster name. It'd return "Dummy" for a non-existing mob.
+It will return -1 if there is no such monster (or the type value is invalid),
+or "null" if you requested the monster's name.
Valid types are listed in const.txt:
MOB_NAME 0 MOB_LV 1