Interpreter: Implement Maniac SetGameOption operation 1 (variable count)#3544
Interpreter: Implement Maniac SetGameOption operation 1 (variable count)#3544luadebug wants to merge 1 commit into
Conversation
|
Please don't use copilot or whatever AI that is to write these PR descriptions. The tools are extremely verbose and a human has to read this... Thanks for implementing however I wonder why this call to The only non-debug usage of in Is that the cause of the bug? |
I think that is the cause. You can validate against https://freegame-mugen.jp/roleplaying/game_9561.html Although I am a bit confused how to escape this menu...? I can't save the game after boss fight so :/ |
|
Are those covered in #3487 ? |
|
We asked the Maniac devs and they told us that this Set variable count feature does not exist. So you made this up. I'll close this PR for that reason. I added the suggested |
|
@Ghabry can you give me advices upon resolving Baton system. I really lack of idea what to do and where to search for solution. Maybe a culprit is that during change of team in Baton menu should affect SPD but its always 0 no matter how I change Baton formation of a team. Besides I already tried building Player with changes 3487 + 3541.
I noticed it keeps spamming |


maniac: Fix PicPointer variable lookup in CommandShowPicture
The IsValid guard was unnecessary since Get() already returns 0 safely
for out-of-bounds variable IDs. Removing it also fixes the case where
the variable array hasn't grown yet to the requested index.
SetGameOption operation 1 is now a no-op since the Player auto-expands
the variable array on Set(), making pre-allocation unnecessary.
Remove the redundant IsValid guard before Get() in CommandShowPicture's PicPointer handling — Get() already returns 0 safely for any variable ID. Implement SetGameOption operation 1 as a no-op since the variable array auto-expands on write.