Skip to content

Conversation

@jetrotal
Copy link
Contributor

@jetrotal jetrotal commented Dec 6, 2025

Had to put those two together because I needed one to test another

Change Picture command:

Added support for the Maniac Patch ChangePictureId event command, enabling move, swap, and slide operations on picture IDs with error handling and sprite refresh logic. This replaces the previous stub implementation and ensures proper picture management for Maniac Patch compatibility.

Map for testing the command:
Map0003.zip


Pictures Inspector:

Introduces a new debug scene and windows for viewing and inspecting active pictures and string windows. Updates scene and debug menu logic to support the new 'DebugPicture' scene, adds menu option, and implements detailed property display for both image and string pictures.

image

Added support for the Maniac Patch ChangePictureId event command, enabling move, swap, and slide operations on picture IDs with error handling and sprite refresh logic. This replaces the previous stub implementation and ensures proper picture management for Maniac Patch compatibility.
Introduces a new debug scene and windows for viewing and inspecting active pictures and string windows. Updates scene and debug menu logic to support the new 'DebugPicture' scene, adds menu option, and implements detailed property display for both image and string pictures.
@jetrotal jetrotal force-pushed the maniacs/setPictureID branch from de2968e to f0cc536 Compare December 6, 2025 21:04
@Ghabry
Copy link
Member

Ghabry commented Dec 14, 2025

Imo it would be better to have Replace(int src_id, target_id) (replaces source pic with target pic) and Swap(int first_id, int second_id) added to Game_Pictures so that most of the complex logic is not inside the interpreter.

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