Repository navigation
Fix MQ DC Staircase silver rupees shared flag - #2504
Conversation
|
I went through MQ DC and also didn't manage to trigger using switch flag 0x1C |
|
I guess I just wanted to say I stumbled into this bug today. |
|
Well maybe it should've been merged like when I PRd it |
|
I think the reviewer might be saying you made a typo, writing 9C instead of 1C in one spot? |
|
That is the correct Door_Shutter actor variable for a door that is trigger by switch flag 0x1C |
|
To expand on Rob's comment : |
In the PR description it says:
But then the code changes it to 0x9C. Kirox's explanation makes sense, but you never explained that, so the comment was never resolved. |
Fixes an issue that was introduced with silver rupee shuffle. We changed the flag on the door in the MQ Dodongos Cavern to use a permanent switch flag 0x1F if silver rupees are shuffled. However, flag 0x1F is already in use by the bombable wall that leads to the lower right hallway, before the lower lizalfos. Basically, if you blow up that wall, the silver rupee door will automatically open and stay open regardless of how many silver rupees you have found for that room.
This PR changes that flag to a hopefully unused one - 0x1C
Testing
I ran through MQ DC and did everything that I could to try to set all of the scene flags. I ended up with the scene flags as EF364FFF
so 0x1C should be good but would be good for someone else to confirm. You can inspect the current scene's switch flags at memory address 0x801CA1C8
I didn't test actually collecting the silver rupees :)