This game or whatever this is is simple. Whoever comes up with the best function for a named custom function based on the name gets to choose the next custom function and provide some parameters for others to solve. Functions which give no output and/or do not perform the stated rule don't count. I'll start.
SPHITTRI SP%, X1%, Y1%, X2%, Y2%, X3%, Y3% 'Detects collision between a sprite and a triangle.