From 3cb526273f86ff4b677cb4e819c18d3a9dad82e7 Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Wed, 21 Oct 2020 17:48:56 +0100 Subject: [PATCH] typedef Script as zero-size Bytecode array --- include/script_api/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/script_api/common.h b/include/script_api/common.h index 4af0f69b8d..2d51df65ec 100644 --- a/include/script_api/common.h +++ b/include/script_api/common.h @@ -4,7 +4,7 @@ #include "common_structs.h" #include "si.h" -typedef Bytecode Script[]; +typedef Bytecode Script[0]; ApiStatus FadeBackgroundToBlack(ScriptInstance* script, s32 isInitialCall); ApiStatus UnfadeBackgroundFromBlack(ScriptInstance* script, s32 isInitialCall);