The old one had too many nested IFs, probably built from a decompiled script or something. I replace values with defined constants, use macros, and remove excessive nested begin/end blocks, so now it's easier to read the code.
As for the headers, it's more of my OCD. For Fallout scripts, I use only space for alignment instead of mixed tab/space.
begin/end
blocks, so now it's easier to read the code.