Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'Fix enemies not spawning near water' checkbox to Fixes #3179

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

andrewwvc
Copy link
Contributor

@andrewwvc andrewwvc commented Sep 10, 2023

This fix adds a checkbox that lets the user change how the valid spawn positions of certain enemies spawned by EnEncount1 are calculated. In the original game, a calculation is performed that seemingly is designed to determine the y position of a waterbox surface by using its y distance from Link's. However, the wrong sign is used if this is the intended purpose (- instead of +) and so an incorrect height is used. This optionally fixes that, causing Stalchildren to spawn near the river bank outside Kakariko, among other places they didn't before.

This is presumably suitable for enhanced presets, as it corrects something non game breaking that was very likely unintended, but somewhat alters the gameplay from vanilla N64 behavior.

Build Artifacts

@garrettjoecox garrettjoecox merged commit dab070a into HarbourMasters:develop Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants