diff --git a/autogen/lua_definitions/functions.lua b/autogen/lua_definitions/functions.lua
index 9d96d082..fcb235d8 100644
--- a/autogen/lua_definitions/functions.lua
+++ b/autogen/lua_definitions/functions.lua
@@ -3625,6 +3625,11 @@ function djui_chat_message_create(message)
-- ...
end
+--- @return nil
+function djui_console_message_dequeue()
+ -- ...
+end
+
--- @return nil
function djui_console_toggle()
-- ...
diff --git a/docs/lua/functions-3.md b/docs/lua/functions-3.md
index fb40e600..16c52476 100644
--- a/docs/lua/functions-3.md
+++ b/docs/lua/functions-3.md
@@ -2056,6 +2056,24 @@
+## [djui_console_message_dequeue](#djui_console_message_dequeue)
+
+### Lua Example
+`djui_console_message_dequeue()`
+
+### Parameters
+- None
+
+### Returns
+- None
+
+### C Prototype
+`void djui_console_message_dequeue(void);`
+
+[:arrow_up_small:](#)
+
+
+
## [djui_console_toggle](#djui_console_toggle)
### Lua Example
@@ -8793,182 +8811,6 @@
[:arrow_up_small:](#)
-
-
----
-# functions from network_player.h
-
-
-
-
-## [get_network_player_from_area](#get_network_player_from_area)
-
-### Lua Example
-`local NetworkPlayerValue = get_network_player_from_area(courseNum, actNum, levelNum, areaIndex)`
-
-### Parameters
-| Field | Type |
-| ----- | ---- |
-| courseNum | `integer` |
-| actNum | `integer` |
-| levelNum | `integer` |
-| areaIndex | `integer` |
-
-### Returns
-[NetworkPlayer](structs.md#NetworkPlayer)
-
-### C Prototype
-`struct NetworkPlayer* get_network_player_from_area(s16 courseNum, s16 actNum, s16 levelNum, s16 areaIndex);`
-
-[:arrow_up_small:](#)
-
-
-
-## [get_network_player_from_level](#get_network_player_from_level)
-
-### Lua Example
-`local NetworkPlayerValue = get_network_player_from_level(courseNum, actNum, levelNum)`
-
-### Parameters
-| Field | Type |
-| ----- | ---- |
-| courseNum | `integer` |
-| actNum | `integer` |
-| levelNum | `integer` |
-
-### Returns
-[NetworkPlayer](structs.md#NetworkPlayer)
-
-### C Prototype
-`struct NetworkPlayer* get_network_player_from_level(s16 courseNum, s16 actNum, s16 levelNum);`
-
-[:arrow_up_small:](#)
-
-
-
-## [get_network_player_smallest_global](#get_network_player_smallest_global)
-
-### Lua Example
-`local NetworkPlayerValue = get_network_player_smallest_global()`
-
-### Parameters
-- None
-
-### Returns
-[NetworkPlayer](structs.md#NetworkPlayer)
-
-### C Prototype
-`struct NetworkPlayer* get_network_player_smallest_global(void);`
-
-[:arrow_up_small:](#)
-
-
-
-## [network_player_color_to_palette](#network_player_color_to_palette)
-
-### Lua Example
-`network_player_color_to_palette(np, part, color)`
-
-### Parameters
-| Field | Type |
-| ----- | ---- |
-| np | [NetworkPlayer](structs.md#NetworkPlayer) |
-| part | [enum PlayerParts](constants.md#enum-PlayerParts) |
-| color | `Color` |
-
-### Returns
-- None
-
-### C Prototype
-`void network_player_color_to_palette(struct NetworkPlayer *np, enum PlayerParts part, Color color);`
-
-[:arrow_up_small:](#)
-
-
-
-## [network_player_connected_count](#network_player_connected_count)
-
-### Lua Example
-`local integerValue = network_player_connected_count()`
-
-### Parameters
-- None
-
-### Returns
-- `integer`
-
-### C Prototype
-`u8 network_player_connected_count(void);`
-
-[:arrow_up_small:](#)
-
-
-
-## [network_player_from_global_index](#network_player_from_global_index)
-
-### Lua Example
-`local NetworkPlayerValue = network_player_from_global_index(globalIndex)`
-
-### Parameters
-| Field | Type |
-| ----- | ---- |
-| globalIndex | `integer` |
-
-### Returns
-[NetworkPlayer](structs.md#NetworkPlayer)
-
-### C Prototype
-`struct NetworkPlayer* network_player_from_global_index(u8 globalIndex);`
-
-[:arrow_up_small:](#)
-
-
-
-## [network_player_palette_to_color](#network_player_palette_to_color)
-
-### Lua Example
-`network_player_palette_to_color(np, part, out)`
-
-### Parameters
-| Field | Type |
-| ----- | ---- |
-| np | [NetworkPlayer](structs.md#NetworkPlayer) |
-| part | [enum PlayerParts](constants.md#enum-PlayerParts) |
-| out | `Color` |
-
-### Returns
-- None
-
-### C Prototype
-`void network_player_palette_to_color(struct NetworkPlayer *np, enum PlayerParts part, Color out);`
-
-[:arrow_up_small:](#)
-
-
-
-## [network_player_set_description](#network_player_set_description)
-
-### Lua Example
-`network_player_set_description(np, description, r, g, b, a)`
-
-### Parameters
-| Field | Type |
-| ----- | ---- |
-| np | [NetworkPlayer](structs.md#NetworkPlayer) |
-| description | `string` |
-| r | `integer` |
-| g | `integer` |
-| b | `integer` |
-| a | `integer` |
-
-### Returns
-- None
-
-### C Prototype
-`void network_player_set_description(struct NetworkPlayer* np, const char* description, u8 r, u8 g, u8 b, u8 a);`
-
-[:arrow_up_small:](#)
-
---
diff --git a/docs/lua/functions-4.md b/docs/lua/functions-4.md
index 42d9a405..277e72e5 100644
--- a/docs/lua/functions-4.md
+++ b/docs/lua/functions-4.md
@@ -5,6 +5,182 @@
[< prev](functions-3.md) | [1](functions.md) | [2](functions-2.md) | [3](functions-3.md) | 4 | [5](functions-5.md) | [next >](functions-5.md)]
+---
+# functions from network_player.h
+
+
+
+
+## [get_network_player_from_area](#get_network_player_from_area)
+
+### Lua Example
+`local NetworkPlayerValue = get_network_player_from_area(courseNum, actNum, levelNum, areaIndex)`
+
+### Parameters
+| Field | Type |
+| ----- | ---- |
+| courseNum | `integer` |
+| actNum | `integer` |
+| levelNum | `integer` |
+| areaIndex | `integer` |
+
+### Returns
+[NetworkPlayer](structs.md#NetworkPlayer)
+
+### C Prototype
+`struct NetworkPlayer* get_network_player_from_area(s16 courseNum, s16 actNum, s16 levelNum, s16 areaIndex);`
+
+[:arrow_up_small:](#)
+
+
+
+## [get_network_player_from_level](#get_network_player_from_level)
+
+### Lua Example
+`local NetworkPlayerValue = get_network_player_from_level(courseNum, actNum, levelNum)`
+
+### Parameters
+| Field | Type |
+| ----- | ---- |
+| courseNum | `integer` |
+| actNum | `integer` |
+| levelNum | `integer` |
+
+### Returns
+[NetworkPlayer](structs.md#NetworkPlayer)
+
+### C Prototype
+`struct NetworkPlayer* get_network_player_from_level(s16 courseNum, s16 actNum, s16 levelNum);`
+
+[:arrow_up_small:](#)
+
+
+
+## [get_network_player_smallest_global](#get_network_player_smallest_global)
+
+### Lua Example
+`local NetworkPlayerValue = get_network_player_smallest_global()`
+
+### Parameters
+- None
+
+### Returns
+[NetworkPlayer](structs.md#NetworkPlayer)
+
+### C Prototype
+`struct NetworkPlayer* get_network_player_smallest_global(void);`
+
+[:arrow_up_small:](#)
+
+
+
+## [network_player_color_to_palette](#network_player_color_to_palette)
+
+### Lua Example
+`network_player_color_to_palette(np, part, color)`
+
+### Parameters
+| Field | Type |
+| ----- | ---- |
+| np | [NetworkPlayer](structs.md#NetworkPlayer) |
+| part | [enum PlayerParts](constants.md#enum-PlayerParts) |
+| color | `Color` |
+
+### Returns
+- None
+
+### C Prototype
+`void network_player_color_to_palette(struct NetworkPlayer *np, enum PlayerParts part, Color color);`
+
+[:arrow_up_small:](#)
+
+
+
+## [network_player_connected_count](#network_player_connected_count)
+
+### Lua Example
+`local integerValue = network_player_connected_count()`
+
+### Parameters
+- None
+
+### Returns
+- `integer`
+
+### C Prototype
+`u8 network_player_connected_count(void);`
+
+[:arrow_up_small:](#)
+
+
+
+## [network_player_from_global_index](#network_player_from_global_index)
+
+### Lua Example
+`local NetworkPlayerValue = network_player_from_global_index(globalIndex)`
+
+### Parameters
+| Field | Type |
+| ----- | ---- |
+| globalIndex | `integer` |
+
+### Returns
+[NetworkPlayer](structs.md#NetworkPlayer)
+
+### C Prototype
+`struct NetworkPlayer* network_player_from_global_index(u8 globalIndex);`
+
+[:arrow_up_small:](#)
+
+
+
+## [network_player_palette_to_color](#network_player_palette_to_color)
+
+### Lua Example
+`network_player_palette_to_color(np, part, out)`
+
+### Parameters
+| Field | Type |
+| ----- | ---- |
+| np | [NetworkPlayer](structs.md#NetworkPlayer) |
+| part | [enum PlayerParts](constants.md#enum-PlayerParts) |
+| out | `Color` |
+
+### Returns
+- None
+
+### C Prototype
+`void network_player_palette_to_color(struct NetworkPlayer *np, enum PlayerParts part, Color out);`
+
+[:arrow_up_small:](#)
+
+
+
+## [network_player_set_description](#network_player_set_description)
+
+### Lua Example
+`network_player_set_description(np, description, r, g, b, a)`
+
+### Parameters
+| Field | Type |
+| ----- | ---- |
+| np | [NetworkPlayer](structs.md#NetworkPlayer) |
+| description | `string` |
+| r | `integer` |
+| g | `integer` |
+| b | `integer` |
+| a | `integer` |
+
+### Returns
+- None
+
+### C Prototype
+`void network_player_set_description(struct NetworkPlayer* np, const char* description, u8 r, u8 g, u8 b, u8 a);`
+
+[:arrow_up_small:](#)
+
+
+
---
# functions from network_utils.h
diff --git a/docs/lua/functions.md b/docs/lua/functions.md
index 8e16a688..c1b8de09 100644
--- a/docs/lua/functions.md
+++ b/docs/lua/functions.md
@@ -724,6 +724,7 @@
- djui_console.h
+ - [djui_console_message_dequeue](functions-3.md#djui_console_message_dequeue)
- [djui_console_toggle](functions-3.md#djui_console_toggle)
@@ -1139,14 +1140,14 @@
- network_player.h
- - [get_network_player_from_area](functions-3.md#get_network_player_from_area)
- - [get_network_player_from_level](functions-3.md#get_network_player_from_level)
- - [get_network_player_smallest_global](functions-3.md#get_network_player_smallest_global)
- - [network_player_color_to_palette](functions-3.md#network_player_color_to_palette)
- - [network_player_connected_count](functions-3.md#network_player_connected_count)
- - [network_player_from_global_index](functions-3.md#network_player_from_global_index)
- - [network_player_palette_to_color](functions-3.md#network_player_palette_to_color)
- - [network_player_set_description](functions-3.md#network_player_set_description)
+ - [get_network_player_from_area](functions-4.md#get_network_player_from_area)
+ - [get_network_player_from_level](functions-4.md#get_network_player_from_level)
+ - [get_network_player_smallest_global](functions-4.md#get_network_player_smallest_global)
+ - [network_player_color_to_palette](functions-4.md#network_player_color_to_palette)
+ - [network_player_connected_count](functions-4.md#network_player_connected_count)
+ - [network_player_from_global_index](functions-4.md#network_player_from_global_index)
+ - [network_player_palette_to_color](functions-4.md#network_player_palette_to_color)
+ - [network_player_set_description](functions-4.md#network_player_set_description)
diff --git a/src/pc/lua/smlua_functions_autogen.c b/src/pc/lua/smlua_functions_autogen.c
index 68b56a18..5736989a 100644
--- a/src/pc/lua/smlua_functions_autogen.c
+++ b/src/pc/lua/smlua_functions_autogen.c
@@ -12070,6 +12070,21 @@ int smlua_func_djui_chat_message_create(lua_State* L) {
// djui_console.h //
////////////////////
+int smlua_func_djui_console_message_dequeue(UNUSED lua_State* L) {
+ if (L == NULL) { return 0; }
+
+ int top = lua_gettop(L);
+ if (top != 0) {
+ LOG_LUA_LINE("Improper param count for '%s': Expected %u, Received %u", "djui_console_message_dequeue", 0, top);
+ return 0;
+ }
+
+
+ djui_console_message_dequeue();
+
+ return 1;
+}
+
int smlua_func_djui_console_toggle(UNUSED lua_State* L) {
if (L == NULL) { return 0; }
@@ -31973,6 +31988,7 @@ void smlua_bind_functions_autogen(void) {
smlua_bind_function(L, "djui_chat_message_create", smlua_func_djui_chat_message_create);
// djui_console.h
+ smlua_bind_function(L, "djui_console_message_dequeue", smlua_func_djui_console_message_dequeue);
smlua_bind_function(L, "djui_console_toggle", smlua_func_djui_console_toggle);
// djui_hud_utils.h