This function will return the current colour used for ambient lighting.
draw_light_get_ambient()
Colour
light_col = draw_light_get_ambient();
The above code will get the current ambient light colour and store it in a variable.