Here are the main files that are relevant to anyone who wants to make their own damage calculator for LZA.
pml_battle_logic_calc_DamageBase.c
pml_battle_logic_EventLauncher_Event_CalcDamage.c
Damage Tests showing exact values with gdb
Datamined Information is uploaded to za-textport.
personal_waza_param_array.json contains the real-time move data.
ExtentionType 0 is a regular move, 1 is Plus Move, and 2 is Rogue Mega Move.
battle_setting.json contains important values such as the global damage reduction, damage reduction vs Rogue Megas, Plus Move effectiveness multipliers, and Rocks/Spikes damage.