From 65b1b5dd06102d3c8992552833f0653b3e2a0ad0 Mon Sep 17 00:00:00 2001 From: Estellar <137097857+estellarc@users.noreply.github.com> Date: Mon, 2 Feb 2026 05:40:26 -0300 Subject: [PATCH] `sPlayerAvatarGfxToStateFlag`'s graphics id to `u16` (#9101) --- src/field_player_avatar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/field_player_avatar.c b/src/field_player_avatar.c index 56fe5868e5..3c4a1786cf 100644 --- a/src/field_player_avatar.c +++ b/src/field_player_avatar.c @@ -277,9 +277,9 @@ static const u8 sRSAvatarGfxIds[GENDER_COUNT] = [FEMALE] = OBJ_EVENT_GFX_LINK_RS_MAY }; -static const struct __attribute__((packed)) +static const struct PACKED { - u8 graphicsId; + u16 graphicsId; u8 playerFlag; } sPlayerAvatarGfxToStateFlag[GENDER_COUNT][5] = {