diff --git a/autogen/lua_definitions/constants.lua b/autogen/lua_definitions/constants.lua index 5109e9b6..72f9256b 100644 --- a/autogen/lua_definitions/constants.lua +++ b/autogen/lua_definitions/constants.lua @@ -7644,7 +7644,7 @@ YOSHI_ACT_WALK = 1 YOSHI_ACT_WALK_JUMP_OFF_ROOF = 3 --- @type integer -OBJECT_POOL_CAPACITY = 1200 +OBJECT_POOL_CAPACITY = 960 --- @type integer TIME_STOP_ACTIVE = (1 << 6) diff --git a/src/game/object_list_processor.h b/src/game/object_list_processor.h index 1f4ab5c0..b4e531e5 100644 --- a/src/game/object_list_processor.h +++ b/src/game/object_list_processor.h @@ -23,7 +23,7 @@ /** * The maximum number of objects that can be loaded at once. */ -#define OBJECT_POOL_CAPACITY 1200 +#define OBJECT_POOL_CAPACITY 960 /** * Every object is categorized into an object list, which controls the order diff --git a/src/pc/lua/smlua_constants_autogen.c b/src/pc/lua/smlua_constants_autogen.c index f9786a92..0da502ea 100644 --- a/src/pc/lua/smlua_constants_autogen.c +++ b/src/pc/lua/smlua_constants_autogen.c @@ -2760,7 +2760,7 @@ char gSmluaConstants[] = "" "TIME_STOP_ALL_OBJECTS = (1 << 4)\n" "TIME_STOP_MARIO_OPENED_DOOR = (1 << 5)\n" "TIME_STOP_ACTIVE = (1 << 6)\n" -"OBJECT_POOL_CAPACITY = 1200\n" +"OBJECT_POOL_CAPACITY = 960\n" "OBJ_LIST_PLAYER = 0\n" "OBJ_LIST_UNUSED_1 = 1\n" "OBJ_LIST_DESTRUCTIVE = 2\n"