Game Maker 1.4 Day/Night Cycle and Global Lighting Settings



I am using Game Maker 1.4. I am trying to make a city-type atmosphere in my game that changes day to night and back. I want something that I can code right into an object that is always present in my main overworld map, but something that will not reset if I enter a building and reenter the overworld.

I tried looking on YouTube for tutorials for 1.4, but I couldn't find anything that wasn't overly complicated/didn't have the code that I could copy/paste.

I already tried creating an opaque sprite over the map that progressively makes the world look darker, but I want a more solid approach that, like I said, will carry through from room to room.

Thank you so much!