These are implemented by two overloads each for:

Code:
	FFScript::Distance
	FFScript::LongDistance
in ffscript.cpp