Did you install this as a Plugin or in the In-Game Script Editor? also, what else are you using for this project.
Installed as script rather than plugin. Here are the other scripts we are using. It's quite a lot:
Advanced HM Items
Advanced Map Transfers
Always in Bushes
Ambient Pokémon Cries
Astralneko's Scripting Utilities
Bag Screen with Interactable Party
Better Region Map
DexNav
DiegoWT's Starter Selection
DPPT Gender Selector Scene
Easy Text Skip
Easy Mouse System
Evolve from Party
EVs and IVs in Summary
Following Pokémon EX
Item Find
Location Signposts
Luka's Scripting Utilities
Marin's Scripting Utilities
Modern Quest System + UI
Overworld Shadows EX
Overworld Shadows EX
Pokémon Amie
Quicksave (very teeny tiny script our team made)
Speed Up 2.0
Video with Using Gif
Voltseon's A-Star Pathfinding
Voltseon's Pause Menu
Just to make sure I'm not wasting your time, I put the script in a fresh version of v19.1 did a new game. Got this error when the intro got to pbEnterText