McMarkis Posted March 2 Report Share Posted March 2 Disable Penalty Shots Problem: Request for the option to turn off Penalty Shots. Solution: This hack allows you to disable Penalty Shots regardless if Penalties are On or Off. Technical Details: The change is simple but finding it was tricky. We just have to branch to the code that signals no penalty shot. Old Code: 1) Checks if the BreakAwayActive flag is set and if it is, Branches to 9EC068, this code sets up a flag to call a penalty shot. 2) The code at 9EC068 Sets a flag to call a penalty shot by setting the value to #$FFFF New Code: 1) Still checks if the BreakAwayActive flag is set but now it Branches to 9EC06D instead of the 9EC068 2) The code at 9EC06D sets a flag to signal NO penalty shot by setting the value to #$0000 Download the patch tool to create your own ROM or patch an existing ROM https://github.com/Mhopkinsinc/NHL94SNESVault/releases Hex Version: 1) Replace old hex value with new hex value. Headerless ROM (.SFC) ROM Offsets: (hex) F4064 Old: 03 New: 08 Headered ROM (.SMC) ROM Offsets: (hex) F4264 Old: 03 New: 08 1 Quote Link to comment Share on other sites More sharing options...
kingraph Posted March 4 Report Share Posted March 4 Interesting! If I wanted to always call a penalty shot do you know if you can set the breakaway flag to essentially always be on? @Sebe_The_Legend asked for this in Sega, to make a 3v3 ROM with every penalty being a penalty shot. So this is great work that will be applicable to that hack! 1 Quote Link to comment Share on other sites More sharing options...
McMarkis Posted March 4 Author Report Share Posted March 4 (edited) If I recall, this code only runs during breakaways, separate from regular penalty logic. Would have to see what the logic after setting the penalty shot flag is doing, and see if it can be called from regular penalty logic. Edited March 4 by McMarkis 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.