Make skills_size a count field
MODIFY
generator/csv/fields.csv
generator/csv/fields.csv
@@ -866,7 +866,7 @@ SaveActor,attack_mod,f,Int32,0x29,0,0,0,int
SaveActor,defense_mod,f,Int32,0x2A,0,0,0,int
SaveActor,spirit_mod,f,Int32,0x2B,0,0,0,int
SaveActor,agility_mod,f,Int32,0x2C,0,0,0,int
-SaveActor,skills_size,f,Int32,0x33,-1,0,0,?
+SaveActor,skills,t,Count<Int16>,0x33,0,0,0,?
SaveActor,skills,f,Vector<Int16>,0x34,,1,0,short[]
SaveActor,equipped,f,Vector<Int16>,0x3D,,1,0,short[5]
SaveActor,current_hp,f,Int32,0x47,-1,0,0,int

MODIFY
src/generated/lcf/rpg/saveactor.h
src/generated/lcf/rpg/saveactor.h
Binary files a/src/generated/lcf/rpg/saveactor.h and b/src/generated/lcf/rpg/saveactor.h differ

MODIFY
src/generated/lsd_saveactor.cpp
src/generated/lsd_saveactor.cpp
Binary files a/src/generated/lsd_saveactor.cpp and b/src/generated/lsd_saveactor.cpp differ

MODIFY
src/rpg_setup.cpp
src/rpg_setup.cpp
@@ -38,7 +38,6 @@ void rpg::SaveActor::Setup(int actor_id) {
defense_mod = 0;
spirit_mod = 0;
agility_mod = 0;
- skills_size = 0;
skills.clear();
equipped.clear();
equipped.push_back(actor.initial_equipment.weapon_id);

Make skills_size a count field