From 51063ff9d585c5ca49bf120134e6338cda4a02ab Mon Sep 17 00:00:00 2001 From: Cuyler36 Date: Mon, 29 Jan 2024 20:37:51 -0500 Subject: [PATCH] Include assets in toplevel C file to fix building --- src/ac_koinobori.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/ac_koinobori.c b/src/ac_koinobori.c index 5a965ae6..0421229f 100644 --- a/src/ac_koinobori.c +++ b/src/ac_koinobori.c @@ -7,6 +7,18 @@ #include "m_common_data.h" #include "m_player_lib.h" +#ifdef MUST_MATCH +#ifndef __INTELLISENSE__ +/* Force assetrip to detect these assets. They're used in a .c_inc file. */ +FORCESTRIP static u16 __hack_pal0[] = { + #include "assets/aKOI_obj_e_koinobori_a_pal.inc" +}; +FORCESTRIP static u16 __hack_pal1[] = { + #include "assets/obj_e_koinobori_b_pal.inc" +}; +#endif +#endif + enum { aKOI_ACTION_WAIT, };