I think it should be safe to remove the custom FaceDirection function and assign builtin values to your enum.
I.e. if you declare something like this in the guiscript.ash
Code: ags
I.e. if you declare something like this in the guiscript.ash
enum eMyDirection
{
eDir_Up = eDirectionUp,
eDir_Down = eDirectionDown,
// etc
};