*** This script swaps lotag and hitag parameters of selected sprites.

mov r00 -1
for each selected sprite r00
  getsprite r00 hitag r01
  getsprite r00 lotag r02
  setsprite r00 lotag r01
  setsprite r00 hitag r02
continue