diff --git a/autogen/lua_definitions/functions.lua b/autogen/lua_definitions/functions.lua
index d90952d3b..ca0479cba 100644
--- a/autogen/lua_definitions/functions.lua
+++ b/autogen/lua_definitions/functions.lua
@@ -10181,8 +10181,8 @@ function audio_sample_play(audio, position, volume)
end
--- @return integer
---- Allocates an `audio` sequence
-function allocate_seq()
+--- Allocates an `audio` sequence ID
+function allocate_sequence()
-- ...
end
diff --git a/docs/lua/functions-6.md b/docs/lua/functions-6.md
index ac77b3a13..ddabd215f 100644
--- a/docs/lua/functions-6.md
+++ b/docs/lua/functions-6.md
@@ -1458,13 +1458,13 @@ Plays an `audio` sample at `position` with `volume`
-## [allocate_seq](#allocate_seq)
+## [allocate_sequence](#allocate_sequence)
### Description
-Allocates an `audio` sequence
+Allocates an `audio` sequence ID
### Lua Example
-`local integerValue = allocate_seq()`
+`local integerValue = allocate_sequence()`
### Parameters
- None
@@ -1473,7 +1473,7 @@ Allocates an `audio` sequence
- `integer`
### C Prototype
-`u32 allocate_seq(void);`
+`u32 allocate_sequence(void);`
[:arrow_up_small:](#)
diff --git a/docs/lua/functions.md b/docs/lua/functions.md
index df13bcbde..a2696bae3 100644
--- a/docs/lua/functions.md
+++ b/docs/lua/functions.md
@@ -1824,7 +1824,7 @@
- [audio_sample_destroy](functions-6.md#audio_sample_destroy)
- [audio_sample_stop](functions-6.md#audio_sample_stop)
- [audio_sample_play](functions-6.md#audio_sample_play)
- - [allocate_seq](functions-6.md#allocate_seq)
+ - [allocate_sequence](functions-6.md#allocate_sequence)
diff --git a/src/pc/lua/smlua_functions_autogen.c b/src/pc/lua/smlua_functions_autogen.c
index 81c517d02..55c91833d 100644
--- a/src/pc/lua/smlua_functions_autogen.c
+++ b/src/pc/lua/smlua_functions_autogen.c
@@ -30759,17 +30759,17 @@ int smlua_func_audio_sample_play(lua_State* L) {
return 1;
}
-int smlua_func_allocate_seq(UNUSED lua_State* L) {
+int smlua_func_allocate_sequence(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", "allocate_seq", 0, top);
+ LOG_LUA_LINE("Improper param count for '%s': Expected %u, Received %u", "allocate_sequence", 0, top);
return 0;
}
- lua_pushinteger(L, allocate_seq());
+ lua_pushinteger(L, allocate_sequence());
return 1;
}
@@ -38053,7 +38053,7 @@ void smlua_bind_functions_autogen(void) {
smlua_bind_function(L, "audio_sample_destroy", smlua_func_audio_sample_destroy);
smlua_bind_function(L, "audio_sample_stop", smlua_func_audio_sample_stop);
smlua_bind_function(L, "audio_sample_play", smlua_func_audio_sample_play);
- smlua_bind_function(L, "allocate_seq", smlua_func_allocate_seq);
+ smlua_bind_function(L, "allocate_sequence", smlua_func_allocate_sequence);
// smlua_camera_utils.h
smlua_bind_function(L, "camera_reset_overrides", smlua_func_camera_reset_overrides);
diff --git a/src/pc/lua/utils/smlua_audio_utils.c b/src/pc/lua/utils/smlua_audio_utils.c
index 6067b3ea2..5a91877c4 100644
--- a/src/pc/lua/utils/smlua_audio_utils.c
+++ b/src/pc/lua/utils/smlua_audio_utils.c
@@ -626,7 +626,7 @@ void smlua_audio_custom_deinit(void) {
}
-u32 allocate_seq() {
+u32 allocate_sequence() {
if ((sCustomSeqsCount + SEQ_COUNT) < MAX_CUSTOM_SEQS) {
return (++sCustomSeqsCount + SEQ_COUNT);
}
diff --git a/src/pc/lua/utils/smlua_audio_utils.h b/src/pc/lua/utils/smlua_audio_utils.h
index 193c0b4cd..9976353e0 100644
--- a/src/pc/lua/utils/smlua_audio_utils.h
+++ b/src/pc/lua/utils/smlua_audio_utils.h
@@ -76,7 +76,7 @@ void audio_custom_update_volume(void);
void audio_custom_shutdown(void);
void smlua_audio_custom_deinit(void);
-/* |description|Allocates an `audio` sequence|descriptionEnd| */
-u32 allocate_seq(void);
+/* |description|Allocates an `audio` sequence ID|descriptionEnd| */
+u32 allocate_sequence(void);
#endif