diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h index fe396f0fd0..ce86f8c683 100644 --- a/include/global.fieldmap.h +++ b/include/global.fieldmap.h @@ -63,7 +63,7 @@ struct BackupMapLayout u16 *map; }; -struct __attribute__((packed)) ObjectEventTemplate +struct __attribute__((packed, aligned(4))) ObjectEventTemplate { /*0x00*/ u8 localId; /*0x01*/ u16 graphicsId; diff --git a/src/follower_helper.c b/src/follower_helper.c index 328bd8aab0..2dbf51dadf 100644 --- a/src/follower_helper.c +++ b/src/follower_helper.c @@ -290,7 +290,7 @@ const struct FollowerMsgInfoExtended gFollowerConditionalMessages[COND_MSG_COUNT [COND_MSG_BURN] = { .text = sCondMsg42, - .st = {.status STATUS1_BURN}, + .st = {.status = STATUS1_BURN}, .stFlags = ST_FLAGS_STATUS, .emotion = FOLLOWER_EMOTION_SAD, },