From d6714add6f146d263a71cb664970efe7ad894393 Mon Sep 17 00:00:00 2001 From: NT_x86 Date: Sun, 31 Aug 2025 20:36:09 +0300 Subject: [PATCH] Change rangeX and rangeY to u8 in ObjectEvent struct --- include/global.fieldmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h index 1207bd80ea..cea8d8c13e 100644 --- a/include/global.fieldmap.h +++ b/include/global.fieldmap.h @@ -229,8 +229,8 @@ struct ObjectEvent u16 movementDirection:4; struct __attribute__((packed)) { - u16 rangeX:4; - u16 rangeY:4; + u8 rangeX:4; + u8 rangeY:4; } range; /*0x1A*/ u8 fieldEffectSpriteId; /*0x1B*/ u8 warpArrowSpriteId;