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

Boulders block trainer sight #969

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vulcandth
Copy link
Collaborator

I wouldn't call this efficient... but it technically works. This will prevent trainer sight when a boulder is in the way. If we removed the boulder sprite check it will prevent trainer sight if anything is in the way.

My brain doesn't want to be efficient right now, so If you see ways to optimize please suggest and i'll apply. Furthermore, we may want to farcall some of this so it's not in the home bank? I'll leave that up to you.

Resolves #381

@Rangi42 Rangi42 marked this pull request as draft August 9, 2024 02:46
Comment on lines +283 to +284
cp SPRITE_BOULDER_ROCK_FOSSIL
jr nz, .next_left_check
Copy link
Owner

Choose a reason for hiding this comment

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

I think if we do this at all, it should be a general-purpose "no trainer sight if there's any NPC in the way" check. (And even then, I'd prefer to redesign maps so the circumstance can't occur, if possible.)

@vulcandth vulcandth added the patch-version These can be applied anytime as a "bugfix" release label Jan 29, 2025
@vulcandth vulcandth deleted the branch Rangi42:master February 1, 2025 06:23
@vulcandth vulcandth closed this Feb 1, 2025
@vulcandth vulcandth reopened this Feb 1, 2025
@vulcandth vulcandth changed the base branch from 9bit to master February 1, 2025 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
annoying in crystal patch-version These can be applied anytime as a "bugfix" release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants