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

Rename HITMARKER_IGNORE_SAFEGUARD #648

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

SnorlaxMonster
Copy link
Contributor

Rename HITMARKER_IGNORE_SAFEGUARD to HITMARKER_STATUS_ABILITY_EFFECT. This flag is used exclusively by status-inflicting Abilities, and has 3 main functions:

  • Whether the effect bypasses Shield Dust
  • Whether the effect bypasses Safeguard
  • Which message to display when the status condition is inflicted (i.e. whether it was inflicted by a move or Ability)

I believe this new name better represents what the flag actually does. In particular, I think the fact that it changes which message is displayed makes it inappropriate to describe this effect as simply ignoring Safeguard.

The new name was structured to parallel HITMARKER_SYNCHRONISE_EFFECT.

Rename HITMARKER_IGNORE_SAFEGUARD to HITMARKER_STATUS_ABILITY_EFFECT.
This flag is used exclusively by status-inflicting Abilities,
and has 3 main functions:
- Whether the effect bypasses Shield Dust
- Whether the effect bypasses Safeguard
- Which text string to display when the status condition is inflicted
   (i.e. whether it was inflicted by a move or Ability)

I believe this new name better represents what the flag actually does.
This name was structured to parallel HITMARKER_SYNCHRONISE_EFFECT.
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