room: test sector range for Torso boss #1497
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #1236.
Checklist
Description
This provides an option to test a range of sectors around the one on which a large and heavy item dies. It ultimately resolves the potential softlock when killing Torso boss in Great Pyramid. For custom levels, it should be switched off in the gameflow as builders have full control of FD design (although it may have some uses, the freedom is there of course).
The only other solution to the softlock that I could see would involve item injection (a hidden boulder somewhere to trigger the camera/egg/music at the start) but this would break existing and TombATI saves, and I couldn't think of a way around that problem.
Other heavy trigger activators aren't affected here as they're all less than the 1.5 tile limit introduced here.
Just for testing - getting Adam to actually end up on the problematic tile is time-consuming, so attached is an exe that forces him here on death.
TR1X.zip