*** This script inverts heinums (slope amounts) of selected sectors.

mov r00 -1
for each selected sector r00
  getsector r00 floorheinum r01
  neg r01
  setsector r00 floorheinum r01
  getsector r00 ceilingheinum r01
  neg r01
  setsector r00 ceilingheinum r01
continue