SavePicture: Add chunks for Flip, Blend Mode and Fixed Angle
Flip & Blend: Maniac Patch uses the upper bits of finish_bot_trans for this which is ugly
Fixed Angle: This is a new value for the effect parameter. Had to put this in the normal enums.csv due to generator limitations
MODIFY
generator/csv/enums.csv
generator/csv/enums.csv
@@ -133,6 +133,7 @@ SavePartyLocation,PanState,follow,1
SavePicture,Effect,none,0
SavePicture,Effect,rotation,1
SavePicture,Effect,wave,2
+SavePicture,Effect,maniac_fixed_angle,3
SavePicture,MapLayer,none,0
SavePicture,MapLayer,parallax,1
SavePicture,MapLayer,tilemap_below,2

MODIFY
generator/csv/enums_easyrpg.csv
generator/csv/enums_easyrpg.csv
@@ -29,3 +29,7 @@ EventPage,ManiacEventInfo,battle_parallel,7
EventPage,ManiacEventInfo,map_event,16
EventPage,ManiacEventInfo,common_event,32
EventPage,ManiacEventInfo,battle_event,64
+SavePicture,EasyRpgFlip,none,0
+SavePicture,EasyRpgFlip,x,1
+SavePicture,EasyRpgFlip,y,2
+SavePicture,EasyRpgFlip,both,3

MODIFY
generator/csv/fields_easyrpg.csv
generator/csv/fields_easyrpg.csv
@@ -7,6 +7,8 @@ SaveEventExecFrame,maniac_event_id,f,Int32,0x0F,0,0,0,Event ID
SaveEventExecFrame,maniac_event_page_id,f,Int32,0x10,0,0,0,Page ID when it is a map event
SaveEventExecFrame,maniac_loop_info_size,f,Int32,0x11,0,0,0,Amount of loop info groups
SaveEventExecFrame,maniac_loop_info,f,Vector<Int32>,0x12,,0,0,"One group of (Current loop count, end loop value) for each identation"
+SavePicture,easyrpg_flip,f,Enum<EasyRpgFlip>,0xC8,0,0,1,How to flip the picture
+SavePicture,easyrpg_blend_mode,f,Int32,0xC9,0,0,1,Blend mode to use for blit. See Bitmap::BlendMode
SaveSystem,maniac_frameskip,,Int32,0x88,0,0,0,"FatalMix Frameskip (0=None, 1=1/5, 2=1/3, 3=1/2)"
SaveSystem,maniac_picture_limit,,Int32,0x89,0,0,0,FatalMix Picture Limit
SaveSystem,maniac_options,,Vector<UInt8>,0x8A,,0,0,"Various FatalMix options (XX XA XB XC). A: MsgSkip OFF/RShift (0/4) B: TestPlay Keep/ON/OFF (0/2/4), C: Pause focus lost Wait/Run (0/1)"

MODIFY
src/generated/lcf/lsd/chunks.h
src/generated/lcf/lsd/chunks.h
Binary files a/src/generated/lcf/lsd/chunks.h and b/src/generated/lcf/lsd/chunks.h differ

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

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

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

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

SavePicture: Add chunks for Flip, Blend Mode and Fixed Angle

Flip & Blend: Maniac Patch uses the upper bits of finish_bot_trans for this which is ugly
Fixed Angle: This is a new value for the effect parameter. Had to put this in the normal enums.csv due to generator limitations