From 5c59f230d982a2e0201956a6f9f853253b9f3c5f Mon Sep 17 00:00:00 2001 From: gumi Date: Thu, 11 Oct 2018 18:24:20 -0400 Subject: add constants for max menu length and options --- src/map/script.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/script.h') diff --git a/src/map/script.h b/src/map/script.h index f05eb802c..e4570ff97 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -64,6 +64,9 @@ struct item_data; #define SCRIPT_EQUIP_TABLE_SIZE 20 +#define MAX_MENU_OPTIONS 0xFF +#define MAX_MENU_LENGTH 0x800 + //#define SCRIPT_DEBUG_DISP //#define SCRIPT_DEBUG_DISASM //#define SCRIPT_DEBUG_HASH -- cgit v1.2.3-60-g2f50