development:technical-details:patches:maniac:new-maniac-commands
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| development:technical-details:patches:maniac:new-maniac-commands [2026/10/09 14:05] – [Control Shared Save] carbonara | development:technical-details:patches:maniac:new-maniac-commands [2026/10/09 16:52] (current) – [Zoom Screen] carbonara | ||
|---|---|---|---|
| Line 970: | Line 970: | ||
| //Player status: Unsupported// | //Player status: Unsupported// | ||
| - | FIXME | + | The Script command (スクリプト) allows to execute JavaScript code. |
| + | |||
| + | The Maniac Patch executable comes bundled with [[https:// | ||
| + | |||
| + | Additionally, | ||
| + | * < | ||
| + | * < | ||
| + | * < | ||
| + | |||
| + | The command has the following fields: | ||
| + | * Source Text: Code to execute, with the possibility to have it come from the command, from a string variable or from a string variable redirection. | ||
| + | * Variable that receive return value: Switches, switch redirections, | ||
| + | |||
| + | FIXME //Provide more examples and info on using JavaScript and making it communicate with the engine.// | ||
| + | |||
| + | Notes: | ||
| + | * If a command with an incorrect syntax is executed, the console will be opened and will display an error highlighting the syntax issue. This does not halt the game. | ||
| + | |||
| + | Internally, the command comes with two different command codes, '' | ||
| + | |||
| + | TPC only offers editing the first command code: the second command code is impossible to edit through the Maniac Patch or TPC, and can only be deleted. | ||
| + | |||
| + | TPC syntax of the first command code: < | ||
| + | |||
| + | Where: | ||
| + | * '' | ||
| + | * < | ||
| + | |||
| + | Raw writing for the command code 3030: < | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | The values '' | ||
| + | |||
| + | Raw writing for the command code 3031: < | ||
| + | * '' | ||
| + | * '' | ||
| ===== Zoom Screen ===== | ===== Zoom Screen ===== | ||
| Line 1002: | Line 1048: | ||
| * Setting the Scale to a value above 24000 will not do any zoom. | * Setting the Scale to a value above 24000 will not do any zoom. | ||
| * If the layer is set to a value not on the [1;10] range, no zoom will occur. | * If the layer is set to a value not on the [1;10] range, no zoom will occur. | ||
| + | * The zoom only affects the overworld, it does not affect battles and menus. | ||
| * The zoom properties are kept in the save file. | * The zoom properties are kept in the save file. | ||
development/technical-details/patches/maniac/new-maniac-commands.1791554741.txt.gz · Last modified: by carbonara