Help with Galv's Menu Themes Engine? How can I call a common event from the menu?

Hey all! I need a bit of assistance with Galv's Menu Themes Engine.


Essentially, I want to call a common event when the player chooses one of Galv's menu commands. So I've evented a skill tree on a separate map called Skill Tree. I'm unsure how to make the "Skill Tree" menu command call my common event called Skill Tree Room, which will teleport the player to the other map. Here's a snippet of relevant code from the script.

#-------------------------------------------------------------------------------
# Below list is your in-game menu commands. This replaces the database vocab
# names and adds more control over customizing your game menu.
#-------------------------------------------------------------------------------

# ["Menu Text", :command_type, :Scene, switch1, switch2, help txt, icon]
["Items", :cmd, :Scene_Item, 0, 0, "View or use items from your inventory.",270],
["Skill Tree",:cmd, 1, 0, 0, "Upgrade character skills",229],
["Quit", :cmd, :Scene_End, 0, 0, "End or restart the game.",6],

# Here are examples of adding functionality via script. The script code for
# these examples is in the "Example Script Commands" script in the list.
#["Gold!", :cmd, :custom1, 0, 0, "Scripted custom symbol example",280],
#["Levelup!", :sel, :custom2, 0, 0, "Scripted custom symbol on actor select example",290],

I'm guessing I need something like ["Skill Tree",:script.Call common event[Skill Tree Room], 1, 0, 0, "Upgrade character skills",229]. I tried ["Skill Tree",:$game_temp.reserve_common_event(14), 1, 0, 0, "Upgrade character skills",229] but it was a no-go. Unfortunately, this is a bit beyond me so I'd appreciate any assistance. Thank you!

edit: I can currently transfer to the Skill Tree map using a key item called Skill Tree. Works ok but it's not the system I'm hoping for. I followed this tutorial to create the skill tree.

Calling common events is build into the script. You just need to specify the command parameters

If you look at line 70 it shows how to call a common event
use the :cmd command type and specify the CE number to use.
Ruby:
# ["Menu Text", :command_type, :Scene, switch1, switch2, help txt, icon]
  ["Items",     :cmd, :Scene_Item,   0, 0, "View or use items from your inventory.",270],
  ["Skills",    :cmd, 1, 0, 0, "View or use character skills.",112],
#~   ["Skills",    :sel, :Scene_Skill,  0, 0, "View or use character skills.",112],
  ["Equip",     :sel, :Scene_Equip,  0, 0, "Equip your characters with weapons and armor.",170],
  ["Status",    :sel, :Scene_Status, 0, 0, "View status of your characters.",117],
  ["Formation", :sel, :Formation,    0, 0, "Change your character order",121],
  ["Save",      :cmd, :Scene_Save,   0, 0, "Record your game progress.",224],
  ["Game End",  :cmd, :Scene_End,    0, 0, "End or restart the game.",6],
 
  ["Example1",:cmd, 1, 0, 0, "Example command - calls common event 1",278],
  ["Example2",:cmd, 2, 0, 0, "Example command - calls common event 2",278],
Oh I'm dumb. Looks like I removed that bit of code early on to reduce visual clutter. I didn't know what common events were back then lol. Thank you - the skill tree can now be called from the menu!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-galvs-menu-themes-engine-how-can-i-call-a-common-event-from-the-menu.155445/