Mhopkinsinc / NHL94SNESVault

ROM Hacks for NHL '94 on the SNES
The Unlicense
3 stars 0 forks source link

Hack Request - Enable Def Control By Default #1

Closed Mhopkinsinc closed 7 months ago

Mhopkinsinc commented 7 months ago

User story

Majority of SNES players turn on Def Control during game play. Would like to Enable Def Control by default without having to turn it on in the Pause Menu. DefControl

Possible Solution

Actual Solution

Acceptance criteria

Sprint Ready Checklist

    • [x] Acceptance criteria defined.
    • [x] Identified solution / steps to satisfy acceptance criteria.
    • [x] Acceptance criteria is verifiable / testable.
Mhopkinsinc commented 7 months ago

The same as the original hack, we have to swap out some of the existing code and insert a jump to new code we create. This new code will be placed in the free space at the end of the 9F bank.

[1] Hijack old code and have it jump to the new code we add at the bottom of the bank.

image

[2] New code to turn on Defense Control for Home and Away teams.

image

[3] I've introduced a variable named !Defense_Control, which you have the option to enable or disable during the compilation of your ROM. The intention is to add more configurable variables for ROM building in the future. Currently, there are two additional variables available: one to adjust penalty duration and another to activate the hidden 30-second periods.

defines