Help with my concept

Hello everyone, so the concept of my game is that there are a number of objectives in an open world and you can interact with them in any order. I want to make it so that whenever you interact with them the tint on the screen gets turned down slightly. I can figure out how to do this if i go in a specific order but i want to make it so you can go in any order and have the tint gradually go down. If anyone knows how i can accomplish this please let me know! Thanks
If you do it via a script command you can call the screen tinting method directly and subtract from the current values to calculate the new ones rather than going via the event command where you have to enter specific numbers.
Have your event increase a variable by one. Have a common event that tints the screen based on the value of that variable. To avoid the common event being ran 100% of the time, call it via your interactible event only.
Each time you interact with one of those objects, make it trigger a common event. Make it go like this:


Code:
◆Comment://First we make sure each object can only do this once.
:       ://Make a conditional branch with a self switch
◆If:Self Switch A is OFF
  ◆Comment://Count the objects found in a variable:
  ◆Control Variables:#0002 Objects += 1
  ◆Comment://Make a new conditional branch.
  ◆If:Objects = 1
    ◆Comment://Put here what happens when the first object is found.
    ◆
  :End
  ◆If:Objects = 2
    ◆Comment://Put here what happens when the second object is found.
    ◆
  :End
  ◆If:Objects = 3
    ◆Comment://Put here what happens when the third object is found.
    :       ://etc etc
    ◆
  :End
  ◆Comment://Turn on the self switch, so this will not happen again for this object.
  ◆Control Self Switch:A = ON
  ◆
:End
◆Comment://This is the end of the first condition.
:       ://Put here what happens when you interact with the object,
:       ://even after the first time.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-my-concept.154380/