Fix transition chunks defaults
MODIFY
generator/csv/fields.csv
generator/csv/fields.csv
@@ -748,12 +748,12 @@ SaveSystem,actor_damaged_se,f,Sound,0x63,,1,0,
SaveSystem,dodge_se,f,Sound,0x64,,1,0,
SaveSystem,enemy_death_se,f,Sound,0x65,,1,0,
SaveSystem,item_se,f,Sound,0x66,,1,0,
-SaveSystem,transition_out,f,Int8,0x6F,1,1,0,
-SaveSystem,transition_in,f,Int8,0x70,1,1,0,
-SaveSystem,battle_start_fadeout,f,Int8,0x71,1,0,0,
-SaveSystem,battle_start_fadein,f,Int8,0x72,1,0,0,
-SaveSystem,battle_end_fadeout,f,Int8,0x73,1,0,0,
-SaveSystem,battle_end_fadein,f,Int8,0x74,1,0,0,
+SaveSystem,transition_out,f,Int8,0x6F,-1,1,0,
+SaveSystem,transition_in,f,Int8,0x70,-1,1,0,
+SaveSystem,battle_start_fadeout,f,Int8,0x71,-1,1,0,
+SaveSystem,battle_start_fadein,f,Int8,0x72,-1,1,0,
+SaveSystem,battle_end_fadeout,f,Int8,0x73,-1,1,0,
+SaveSystem,battle_end_fadein,f,Int8,0x74,-1,1,0,
SaveSystem,teleport_allowed,f,Boolean,0x79,True,0,0,
SaveSystem,escape_allowed,f,Boolean,0x7A,True,0,0,
SaveSystem,save_allowed,f,Boolean,0x7B,True,0,0,

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

MODIFY
src/generated/rpg_savesystem.h
src/generated/rpg_savesystem.h
Binary files a/src/generated/rpg_savesystem.h and b/src/generated/rpg_savesystem.h differ

MODIFY
src/rpg_fixup.cpp
src/rpg_fixup.cpp
@@ -143,13 +143,6 @@ void RPG::SaveSystem::Fixup() {
if (item_se.name.empty()) {
item_se = system.item_se;
}
-
- FixInt(transition_out, system.transition_out);
- FixInt(transition_in, system.transition_in);
- FixInt(battle_start_fadeout, system.battle_start_fadeout);
- FixInt(battle_start_fadein, system.battle_start_fadein);
- FixInt(battle_end_fadeout, system.battle_end_fadeout);
- FixInt(battle_end_fadein, system.battle_end_fadein);
}
void RPG::SaveSystem::UnFixup() {
@@ -226,13 +219,6 @@ void RPG::SaveSystem::UnFixup() {
if (item_se == system.item_se) {
reset_se(item_se);
}
-
- UnFixInt(transition_out, system.transition_out);
- UnFixInt(transition_in, system.transition_in);
- UnFixInt(battle_start_fadeout, system.battle_start_fadeout);
- UnFixInt(battle_start_fadein, system.battle_start_fadein);
- UnFixInt(battle_end_fadeout, system.battle_end_fadeout);
- UnFixInt(battle_end_fadein, system.battle_end_fadein);
}

MODIFY
src/rpg_setup.cpp
src/rpg_setup.cpp
@@ -121,12 +121,6 @@ void RPG::SaveSystem::Setup() {
dodge_se = system.dodge_se;
enemy_death_se = system.enemy_death_se;
item_se = system.item_se;
- transition_out = system.transition_out;
- transition_in = system.transition_in;
- battle_start_fadeout = system.battle_start_fadeout;
- battle_start_fadein = system.battle_start_fadein;
- battle_end_fadeout = system.battle_end_fadeout;
- battle_end_fadein = system.battle_end_fadein;
teleport_allowed = true;
escape_allowed = true;
save_allowed = true;

Fix transition chunks defaults