Hello, I am a VERY NEW newbie to JS and such. I am doing research to learn how to navigate it better but I am trying to make my first game in RPGmaker (fun personal project only).
I need to input a variation of this code like.. a hundred different times with minor tweaks here and there to get it work right. Unfortunately I need to convert this common event to code (Preferably JS). I know how to make it work math wise but don't know how to actually input commands into JS.
I would appreciate any help or just a quick code translate so I know how to que up things like variable/switch creation/changes as I would eventually like to make this a separate plugin, but for now just want to test my thing inside RPGmaker.
Thank you for any assistance anyone is willing to offer and hope you have a great day.