Moghunter's picture gallery script NoMethodError

Hello.

I have Rpg maker XP and I added Moghunter's picture gallery script to my game. However, the following error appears when I interact with the event that calls the script in-game:

Spoiler: Error
1678655933537.png

I downloaded a demo and the script worked, so I tried copypasting it into my game again to make sure I didn't do anything wrong (including the graphics in the Gallery folder) but it still didn't work. I don't think that it conflicts with any of my other custom scripts since I only have one and all it does is help with the display of text boxes.
which script and for which maker exactly?
a script for VXA will not work in XP for example
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/moghunters-picture-gallery-script-nomethoderror.155760/