Skip to content

Maniacs Patch - Call System Functions#3250

Merged
Ghabry merged 3 commits into
EasyRPG:masterfrom
EasyRPG-NewFeatures:Maniacs-Call-System-Functions
Sep 2, 2024
Merged

Maniacs Patch - Call System Functions#3250
Ghabry merged 3 commits into
EasyRPG:masterfrom
EasyRPG-NewFeatures:Maniacs-Call-System-Functions

Conversation

@jetrotal

Copy link
Copy Markdown
Contributor

In Maniacs, CommandOpenSaveMenu is renamed to "Call System Function". I implemented what is closer to our code.

Also expanded the code to cover our custom submenus (Cases 8 to 12).

In Maniacs, CommandOpenSaveMenu is renamed to "Call System Function".
I implemented what is closer to our code.

Also expanded the code to cover our custom submenus (Cases 8 to 12).

Update game_interpreter_map.cpp
@jetrotal
jetrotal force-pushed the Maniacs-Call-System-Functions branch 4 times, most recently from 51e1747 to 0c7528a Compare July 25, 2024 10:59

@Ghabry Ghabry left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Comment thread src/game_interpreter_map.cpp Outdated

// Parse common parameters
const int fullscreen_mode = com.parameters[1]; // Broken in Maniac.
const int pause_while_debugging = com.parameters[1]; // unused in our ingame debug screen.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do both use the same index?

@jetrotal jetrotal Aug 1, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maniacs reuses parameter[1] in different cases, I just gave names to the parameters to be easier to read and understand.

Comment thread src/game_interpreter_map.cpp Outdated
return true;
case 7: // Reset game
return CommandReturnToTitleScreen(com);
case 8: // EASYRPG Inventory menu

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intentional that an enabled direct menu patch can redirect these menu calls? (the dmpatch redirection is in RequestMainMenuScene)

@Ghabry Ghabry added this to the 0.8.1 milestone Aug 1, 2024
@Ghabry

Ghabry commented Aug 1, 2024

Copy link
Copy Markdown
Member

I will move the EasyRPG extension stuff to a higher ID like 200 onwards to prevent conflicts with upcoming MP version. Otherwise this is fine imo.

@Ghabry
Ghabry requested a review from a user August 6, 2024 16:49
@Ghabry
Ghabry force-pushed the Maniacs-Call-System-Functions branch from d7da825 to 99188a1 Compare September 2, 2024 14:22
@Ghabry
Ghabry force-pushed the Maniacs-Call-System-Functions branch from 99188a1 to a2080c7 Compare September 2, 2024 18:51
@Ghabry
Ghabry merged commit bc2fed8 into EasyRPG:master Sep 2, 2024
@jetrotal
jetrotal deleted the Maniacs-Call-System-Functions branch November 28, 2024 14:16
sevenc-nanashi pushed a commit to sevenc-nanashi/easyrpg-player that referenced this pull request May 31, 2026
…-System-Functions

Maniacs Patch - Call System Functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants