From 06e65c769bbb66045e0d51da6a321a4c4ef1ff42 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 22 Jul 2018 23:37:10 -0400 Subject: allow local NPC functions to be public or private --- src/map/map.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index 2de6df2f7..b3cdef025 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -329,6 +329,14 @@ enum bl_type { enum npc_subtype { WARP, SHOP, SCRIPT, CASHSHOP, TOMB }; +/** optional flags for script labels, used by the label db */ +enum script_label_flags { + /** the label can be called from outside the local scope of the NPC */ + LABEL_IS_EXTERN = 0x1, + /** the label is a public or private local NPC function */ + LABEL_IS_USERFUNC = 0x2, +}; + /** * Race type IDs. * -- cgit v1.2.3-60-g2f50