diff --git a/autogen/lua_definitions/functions.lua b/autogen/lua_definitions/functions.lua index 3abfa9174..a84ba5877 100644 --- a/autogen/lua_definitions/functions.lua +++ b/autogen/lua_definitions/functions.lua @@ -10057,7 +10057,7 @@ function smlua_audio_utils_replace_sequence(sequenceId, bankId, defaultVolume, m end --- @return integer ---- Allocates an `audio` sequence ID +--- Allocates a new sequence ID function smlua_audio_utils_allocate_sequence() -- ... end diff --git a/docs/lua/functions-6.md b/docs/lua/functions-6.md index 5817e451d..8e554ae05 100644 --- a/docs/lua/functions-6.md +++ b/docs/lua/functions-6.md @@ -1037,7 +1037,7 @@ Replaces the sequence corresponding to `sequenceId` with one called `m64Name`.m6 ## [smlua_audio_utils_allocate_sequence](#smlua_audio_utils_allocate_sequence) ### Description -Allocates an `audio` sequence ID +Allocates a new sequence ID ### Lua Example `local integerValue = smlua_audio_utils_allocate_sequence()` diff --git a/src/pc/lua/utils/smlua_audio_utils.h b/src/pc/lua/utils/smlua_audio_utils.h index f9e6f2b9a..f632fca68 100644 --- a/src/pc/lua/utils/smlua_audio_utils.h +++ b/src/pc/lua/utils/smlua_audio_utils.h @@ -8,7 +8,7 @@ void smlua_audio_utils_reset_all(void); bool smlua_audio_utils_override(u8 sequenceId, s32* bankId, void** seqData); /* |description|Replaces the sequence corresponding to `sequenceId` with one called `m64Name`.m64 with `bankId` and `defaultVolume`|descriptionEnd| */ void smlua_audio_utils_replace_sequence(u8 sequenceId, u8 bankId, u8 defaultVolume, const char* m64Name); -/* |description|Allocates an `audio` sequence ID|descriptionEnd| */ +/* |description|Allocates a new sequence ID|descriptionEnd| */ u8 smlua_audio_utils_allocate_sequence(void); ////////////////