diff --git a/src/pc/lua/smlua_cobject_autogen.c b/src/pc/lua/smlua_cobject_autogen.c index 0fb70f2a1..85db4d3a9 100644 --- a/src/pc/lua/smlua_cobject_autogen.c +++ b/src/pc/lua/smlua_cobject_autogen.c @@ -201,7 +201,7 @@ static struct LuaObjectField sAnimationTableFields[LUA_ANIMATION_TABLE_FIELD_COU #define LUA_AREA_FIELD_COUNT 21 static struct LuaObjectField sAreaFields[LUA_AREA_FIELD_COUNT] = { { "camera", LVT_COBJECT_P, offsetof(struct Area, camera), false, LOT_CAMERA, 1, sizeof(struct Camera*) }, - { "dialog", LVT_U8, offsetof(struct Area, dialog), false, LOT_NONE, 2, sizeof(u8) }, + { "dialog", LVT_S32, offsetof(struct Area, dialog), false, LOT_NONE, 2, sizeof(s32) }, { "flags", LVT_S8, offsetof(struct Area, flags), false, LOT_NONE, 1, sizeof(s8) }, { "index", LVT_S8, offsetof(struct Area, index), false, LOT_NONE, 1, sizeof(s8) }, { "instantWarps", LVT_COBJECT_P, offsetof(struct Area, instantWarps), false, LOT_INSTANTWARP, 1, sizeof(struct InstantWarp*) },