King Zora stop talking bug fix#2587
Open
djevangelia wants to merge 1 commit into
Open
Conversation
Author
|
Tested receiving Eyeball Frog with hold R bug which worked. Just as information - King Zora has quite a few PAL 1.0 changes that mostly concern trading. So, if there is concern this fix might accidentally introduce any other King Zora version differences, it's important that it is tested before assumed to be present. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Prevent King Zora from stopping talking when talking and moving out of range. Fixes #883.
See issue for details. It is conceptually similar to the Goron Link first talk softlock - NPC has become unable to update its
talkState.The
updateTalkStateand yaw check parts have been moved together intoEnKz_UpdateTalkinglike the PAL 1.0 fix. However, the yaw check has been kept at NTSC 1.0 value 1820.0f instead of changed to 1638.0f. The XZ distance check has also not been added.Disassembly
EnKz
func_80A9CB18here andEnKz_UpdateTalkinghereTesting
Tested in Ares recent nightly build and Project64 3.0.1.
Looks like this: https://www.youtube.com/watch?v=s0GjM6Uk7YU
I tested showing letter on platform corner too, but couldn't get any buggy result on fixed build. Tested talking as adult too.
For testing, a function can be used, or you can stand close to a platform corner (on/left of left platform corner black vertical line is good starting point) and move towards the side edge while pressing A/using trade item.
Function that displaces player X +100.0f when starting talking to KZ: