Blinking custom evented menu buttons, unsure how to stop?

Hi!

I was following this tutorial https://www.rpgmakerweb.com/blog/eventing-a-picture-based-menu and whilst I managed to get everything to work, the selected button just won't stop blinking.

I know why it does it. It keeps ping ponging between tinting it brighter and then back to 0 and it keeps going like that because of the variable, but I'm not sure how to stop it?

Spoiler: Blinking menu (Warning: it flashes fast)
game_1jr1lhHj5H.gif

Spoiler: Event
1746224372409.png
Fixed it like this but open to suggestions on how else you'd do it!
1746226727479.png
Disable Wait for the first three and leave it only in the fourth command, this will make the tint change synchronized and make the animation smoother.

With this you can increase the frame interval a little, perhaps 4 frames is the most ideal, but it is a matter of testing.

Repeat the process for each IF (Conditional Branch):
1746414246029.png
Disable Wait for the first three and leave it only in the fourth command, this will make the tint change synchronized and make the animation smoother.

With this you can increase the frame interval a little, perhaps 4 frames is the most ideal, but it is a matter of testing.

Repeat the process for each IF (Conditional Branch):
View attachment 339437


Oh!! Awesome 🙂 I'll give it a go, thank you!
you can also preload images before hand or start them with 0 opacity.
I have an advanced menu that doesn't use it, but you can preload the
images as well without plugin.

pic1: fire
wait 1 frame
pic1: ice
wait 1 frame
pic1: thunder
wait 1 frame
etc
...
erase pic1

do this for the menu, and it wont flicker as well 🙂 (make it opacity 0 so it wont be seen).

this is a little hack for preloading them ^^

Original thread: https://forums.rpgmakerweb.com/threads/blinking-custom-evented-menu-buttons-unsure-how-to-stop.177382/