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

d_a_tag_statue_evt OK #2107

Merged
merged 2 commits into from
Mar 24, 2024
Merged

d_a_tag_statue_evt OK #2107

merged 2 commits into from
Mar 24, 2024

Conversation

marwernerh
Copy link
Contributor

Matching and some documentation

@hatal175 hatal175 merged commit 023c06c into zeldaret:main Mar 24, 2024
1 check passed
Copy link
Collaborator

@GinNoOokami GinNoOokami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to remove the asms with ./tp remove-unused-asm when completing a file 😺

statue_tag_xy_pos.y = 0.0f;
statue_tag_xy_pos.z = statue_tag_z;

const f32 distance_between_statue_and_tag = sqrtf(PSVECSquareDistance(&found_owl_statue_xy_pos, &statue_tag_xy_pos));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try using cXyz::abs() here instead.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's another instance of this in the next function as well. The abs() call should inline to the same thing here, and is likely what was originally used, so give it a try and see if it still matches.

@hatal175
Copy link
Contributor

hatal175 commented Mar 24, 2024 via email

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.

3 participants