An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Event Command By Code - EventCommandByCode.js

Plugin desc : Plugin for Event Command Execution via Code Specification

License :
・Follow the RPG Maker Series EULA only.
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed

Author : triacontane

Website : https://www.rpgmakerweb.com/products/rpg-maker-mz

Download Page :  C:Program Files (x86)SteamsteamappscommonRPG Maker MZdlcBasicResourcespluginsofficial EventCommandByCode.js

File name : EventCommandByCode.js

Help of plugin :

* @target MZ
 * @plugindesc Plugin for Event Command Execution via Code Specification
 * @author triacontane
 * @base PluginCommonBase
 * @orderAfter PluginCommonBase
 * @url
 *
 * @command execute
 * @text Execute
 * @desc Specify a code to execute the corresponding event command.
 *
 * @arg code
 * @text Command Code
 * @desc
 * @default 103
 * @type select
 * @option Value Input Processing
 * @value 103
 * @option Item Selection Processing
 * @value 104
 * @option Break Loop
 * @value 113
 * @option Exit Event Processing
 * @value 115
 * @option Common Event
 * @value 117
 * @option Label
 * @value 118
 * @option Jump to Label
 * @value 119
 * @option Control Switches
 * @value 121
 * @option Control Variables
 * @value 122
 * @option Control Self Switch
 * @value 123
 * @option Control Timer
 * @value 124
 * @option Change Gold
 * @value 125
 * @option Change Items
 * @value 126
 * @option Change Weapons
 * @value 127
 * @option Change Armors
 * @value 128
 * @option Change Party Members
 * @value 129
 * @option Change Battle BGM
 * @value 132
 * @option Change Victory ME
 * @value 133
 * @option Change Save Access
 * @value 134
 * @option Change Menu Access
 * @value 135
 * @option Change Encounter
 * @value 136
 * @option Change Formation Access
 * @value 137
 * @option Change Window Color
 * @value 138
 * @option Change Defeat ME
 * @value 139
 * @option Change Vehicle BGM
 * @value 140
 * @option Transfer Player
 * @value 201
 * @option Set Vehicle Location
 * @value 202
 * @option Set Event Location
 * @value 203
 * @option Scroll Map
 * @value 204
 * @option Set Movement Route
 * @value 205
 * @option Get On/Off Vehicle
 * @value 206
 * @option Change Transparency
 * @value 211
 * @option Show Animation
 * @value 212
 * @option Show Speech Bubble Icon
 * @value 213
 * @option Erase Event
 * @value 214
 * @option Change Player Followers
 * @value 216
 * @option Gather Followers
 * @value 217
 * @option Fadeout Screen
 * @value 221
 * @option Fadein Screen
 * @value 222
 * @option Tint Screen
 * @value 223
 * @option Flash Screen
 * @value 224
 * @option Shake Screen
 * @value 225
 * @option Wait
 * @value 230
 * @option Show Picture
 * @value 231
 * @option Move Picture
 * @value 232
 * @option Rotate Picture
 * @value 233
 * @option Tint Picture
 * @value 234
 * @option Erase Picture
 * @value 235
 * @option Set Weather Effect
 * @value 236
 * @option Set BGM
 * @value 241
 * @option Fadeout BGM
 * @value 242
 * @option Save BGM
 * @value 243
 * @option Replay BGM
 * @value 244
 * @option Play BGS
 * @value 245
 * @option Fadeout BGS
 * @value 246
 * @option Play ME
 * @value 249
 * @option Play SE
 * @value 250
 * @option Stop SE
 * @value 251
 * @option Play Movie
 * @value 261
 * @option Change Map Name Display
 * @value 281
 * @option Change Tileset
 * @value 282
 * @option Change Battle Back
 * @value 283
 * @option Change Parallax
 * @value 284
 * @option Get Location Info
 * @value 285
 * @option Battle Processing
 * @value 301
 * @option Name Input Processing
 * @value 303
 * @option Change HP
 * @value 311
 * @option Change MP
 * @value 312
 * @option Change TP
 * @value 326
 * @option Change State
 * @value 313
 * @option Recover All
 * @value 314
 * @option Change EXP
 * @value 315
 * @option Change Level
 * @value 316
 * @option Change Parameter
 * @value 317
 * @option Change Skill
 * @value 318
 * @option Change Equipment
 * @value 319
 * @option Change Name
 * @value 320
 * @option Change Class
 * @value 321
 * @option Change Actor Images
 * @value 322
 * @option Change Vehicle Images
 * @value 323
 * @option Change Nickname
 * @value 324
 * @option Change Profile
 * @value 325
 * @option Change Enemy HP
 * @value 331
 * @option Change Enemy MP
 * @value 332
 * @option Change Enemy TP
 * @value 342
 * @option Change Enemy State
 * @value 333
 * @option Enemy Recover All
 * @value 334
 * @option Make Enemy Appear
 * @value 335
 * @option Transform Enemy
 * @value 336
 * @option Show Battle Animation
 * @value 337
 * @option Force Action
 * @value 339
 * @option Abort Battle
 * @value 340
 * @option Open Menu Screen
 * @value 351
 * @option Open Save Screen
 * @value 352
 * @option Game Over
 * @value 353
 * @option Return to Title Screen
 * @value 354
 * @option Plugin Command
 * @value 356
 *
 * @arg parameters
 * @text Parameter
 * @desc Parameter specified in code. You can specify any control character.
 * @default
 * @type multiline_string[]
 *
 * @help EventCommandByCode.js
 *
 * Directly specify the code and parameter to execute an event command.
 * You can use variables (control characters ((1)) in each command's parameter
 * and forcibly specify out of range values that cannot be specified with regular event commands.
 * However, it is not guaranteed to run if you call a command with an unexpected specified value.
 *
 * *1
 * ¥v[n] : Variable
 * ¥s[n] : Switch
 * ¥ss[n] : Self Switch
 * ¥js[n] : Script (onlywhen (TextScriptBase.js is applied))
 *
 * You cannot specify commands that span multiple lines in the event editor
 * or deeply nested commands.
 *
 * Refer to the below for details on specifying parameters.
 * https://docs.google.com/spreadsheets/d/1aqY-xzFqT0vnZE-OkfsMYsP9Ud91vWTrBLU-uDkJ-Ls/edit#gid=2095105278

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.