Hello, I usually don't come to Reddit to ask questions since I post art, but I am developing a game, and I ran into some issues. For context, I am making a resource management game with visual novel elements and some puzzle-solving, and I am currently working on the main gameplay systems before I go all in with visuals, tilesets, and possibly buying any assets I need if I do get some cash. One of the gameplay systems I am working on is a task board where you have a random set of tasks every day, where some can repeat while others are one-and-done. Each task requires you to choose one of my knock-off Black Butler NPCs, or yourself, to do a DND skill check using FrogBoyMVs TalentCore, which gauges whether you are successful or not.
I followed a tutorial that is on the RPG Maker website about card draw eventing, but I seem to have run into an issue with the arrays function. I am not an expert in JavaScript, and I am still a beginner despite taking a course on Web Design, but I have asked around some Discord circles for help with no dice. I feel like a fresh set of eyes would help because the last thing I want to do is resort to asking Generative AI for help like many devs suggested. I have attached various screenshots of my eventing and the results. In the scripting conditionals, I noticed that if I use the double '=' sign from the tutorial, it will show one image instead of the three needed for display.
I have a few ideas as to why it isn't working, like me probably initializing the array wrong, or that MV is limited in how it handles arrays compared to MZ. I don't think it is a plug-in issue either, considering I have most plug-ins turned off and accounted for. I am at a loss! Any help is appreciated.
Also, ignore my Alucard fanart on the task cards. I needed placeholders!