Problem with Galv's MV Visual Novel Choices Plugin

Hey guys! I can't even start the game when I turn on the said plugin it gives me the

"Error
Uncaught TypeError: undefined is not a function"

The console output reads as follows:

Uncaught TypeError: undefined is not a function
rpg_managers.js:1727 file:///C:/Users/[...]/plugins/GALV_VisualNovelChoices.js 102
/C:/Users/[...]/plugins/GALV_VisualNovelChoices.js:102 Uncaught TypeError: undefined is not a function

I have no idea about JS - any quick fix, anyone? 🙂
By the look of the error line, I am guessing your project has outdated MV files.
Oh hey Galv, nice to meet you! Outdated MV files... How do I update them? I thought Steam auto-updates the engine. Or do you mean outdated plugins?
Steam auto updates your RPG Maker MV, but does not update your project. You have to do that manually. Info on how to here:

https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-mv-1-5-1-and-mado.83731/
Thanks!

Works really well now!
Hey Galv, it's me again 🙂 It seems like a problem with your plugin again. Before you ask - I did update the project files this time.

What I did is I simply added shop processing in a looped dialogue. The error I got is:

TypeError: Cannot read property '0' of undefined
at Window_ChoiceList.drawButton (file:///C:/Users/[...]/js/plugins/GALV_VisualNovelChoices.js:168:37)
at Window_ChoiceList.drawItem (file:///C:/Users/[...]/js/plugins/GALV_VisualNovelChoices.js:125:8)
at Window_ChoiceList.Window_Selectable.drawAllItems (file:///C:/Users/[...]/js/rpg_windows.js:1256:18)
at Window_ChoiceList.Window_Selectable.refresh (file:///C:/Users/[...]/js/rpg_windows.js:1283:14)
at Window_ChoiceList.Window_Command.refresh (file:///C:/Users/[...]/js/rpg_windows.js:1438:41)
at Window_ChoiceList.update (file:///C:/Users/[...]/js/plugins/GALV_VisualNovelChoices.js:196:8)
at file:///C:/Users/[...]/js/rpg_core.js:7029:19
at Array.forEach (native)
at WindowLayer.update (file:///C:/Users/[...]/js/rpg_core.js:7027:19)
at WindowLayer.update (file:///C:/Users/[...]/js/plugins/SRD_HUDMaker.js:276:23)

Now I've fixed it by just placing "break loop" after the shop processing, but I thought you might want to know about this behavior 🙂
Thanks for letting me know, I'll check out why it does that and fix it when I get time.

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-galvs-mv-visual-novel-choices-plugin.87842/