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 1 commit into
base: 9bit
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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants