*** This script utilizes XY coordinates of a sprite row to create a bunch of sector points.

// Parameter list begins
mov r97 1 // Use selection mask (further parameters will be overridden)
mov r98 0 // Initial sprite ID
mov r99 3 // Final sprite ID
// Parameter list ends
~~~ Default parameters:
~~~ mov r97 1 // Use selection mask (further parameters will be overridden)
~~~ mov r98 0 // Initial sprite ID
~~~ mov r99 3 // Final sprite ID
if r97 != 0
  mov r98 -1
  for each selected sprite r98
    getsprite r98 x r00
    getsprite r98 y r01
    sethitpoint r00 r01
    hitspace
  continue
else
  while r98 <= r99
    getsprite r98 x r00
    getsprite r98 y r01
    sethitpoint r00 r01
    hitspace
    inc r98
  continue
endif