RPG Maker Forums

Code:
YEP_CoreEngine.js:1094 TypeError: Cannot read property 'trim' of undefined
    at Game_Interpreter.pluginCommand (Tsukitsune_animatedOverlayAddon.js:288)
    at Game_Interpreter.pluginCommand (Olivia_HorrorEffects.js:1385)
    at Game_Interpreter.pluginCommand (MM_MapSystem.js:107)
    at Game_Interpreter.command356 (rpg_objects.js:10508)
    at Game_Interpreter.executeCommand (rpg_objects.js:8930)
    at Game_Interpreter.update (rpg_objects.js:8838)
    at Game_Map.updateInterpreter (rpg_objects.js:6115)
    at Game_Map.update (rpg_objects.js:6022)
    at Scene_Map.updateMain (rpg_scenes.js:608)
    at Scene_Map.updateMainMultiply (rpg_scenes.js:600)
SceneManager.catchException @ YEP_CoreEngine.js:1094
I the aforementioned error when I call the following Common Event.
Code:
◆Comment:These are constant values, no other picture can use them.
:       :Picture 51 is the Background
:       :Picture 52 is the Foreground
◆Play SE:Book2 (90, 100, 0)
◆Show Picture:#51, mapbase, Upper Left (0,0), (100%,100%), 255, Normal
◆Plugin Command:GET CURRENT FLOOR
◆Label:maploop
◆If:Script:$gameVariables.value(20) === $dataMap.mapOverlay
  ◆Plugin Command:DISPLAY MAP ICON
  ◆
:End
◆If:Button [Cancel] is pressed down
  ◆Play SE:Book2 (90, 100, 0)
  ◆Erase Picture:#51
  ◆Erase Picture:#52
  ◆Exit Event Processing
  ◆
:End
◆If:Button [Left] is pressed down
  ◆Plugin Command:PREVIOUS MAP
  ◆
:End
◆If:Button [Right] is pressed down
  ◆Plugin Command:NEXT MAP
  ◆
:End
◆Jump to Label:MapLoop
Here is the plugin where the plugin commands are stored.

The thing is i'm not calling str.trim. So I don't understand what I'm doing wrong. Am I missing something.
Goal: Common event display 2 picture, background never changes, but the foreground image does depending on the current maps notetags. You can also loop through all the foreground images by pressing left and right. An icon will show the players current position on the current map, but not be displayed if they are viewing another map.

edit: Okay so appears to have something to do with Tsukitsune's Animated Overlay plugin.

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,454
Members
137,821
Latest member
Capterson
Top