Variables

inlineread onlyNONE:FlxTilemapDiagonalPolicy = 0

No diagonal movement allowed when calculating the path

inlineread onlyNORMAL:FlxTilemapDiagonalPolicy = 1

Diagonal movement costs the same as orthogonal movement

inlineread onlyWIDE:FlxTilemapDiagonalPolicy = 2

Diagonal movement costs one more than orthogonal movement