Critical Hit
Co-authored by JAM, this is the finished product. He found the hijack points for weapon damage, and I figured out why crits were happening way more than expected as well as added different palette flashes. Now the highest you can set the value compared against is 7FFF (practically 0 chance of happening), to fix an error in the last patch where BPL activated too much. I recommend you tweak and figure out what's best for you. Palettes for Samus's critical flashes are not included, you will have to make your own, but they are located at DCC00 - 0F (doublecrit) and 0DCC10 - 0F (crit). Samus can also now deal critical and double critical damage herself, and has her own chance set differently than enemies.

Of course, you can use this in your own hacks, but I hope people also apply it for replaying old hacks. It really can make a difference in how you fight bosses and enemies.

EDIT: Fixed a palette bug that stemmed from STZ $D8EE not working as intended. If you have a bug where your normal damage flash matches your crit flash, you will need to redownload.