start working on bg pal struct

This commit is contained in:
DizzyEggg
2024-11-01 12:40:56 +01:00
parent f0e0a22df2
commit b6efce3120
22 changed files with 178 additions and 163 deletions

View File

@@ -4,6 +4,7 @@
#include "file_system.h"
#include "structs/menu.h"
#include "structs/str_text.h"
#include "structs/rgb.h"
// TODO: once the files close to string_format.c are decompiled, check if these should be included here. Most likely, they should be declared elsewhere.
// code_80130A8.s
@@ -19,7 +20,7 @@ void sub_80155F0(void);
struct PortraitGfxSub
{
const u8 *pal;
const Rgb32 *pal;
const u8 *gfx;
};
@@ -38,6 +39,12 @@ struct MonPortraitMsg
u8 unkE;
};
struct FileMonPortraits
{
/* 0x0 */ File *file;
/* 0x4 */ struct PortraitGfx *data;
};
#define FORMAT_BUFFER_LEN 80
#define FRIEND_AREA_BUFFER_LEN 184