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 #866

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

SnorlaxMonster
Copy link
Contributor

Align with pokefirered#648

Description

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.

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.
@GriffinRichards GriffinRichards merged commit 108d7bb into pret:master Nov 18, 2023
1 check passed
github-actions bot pushed a commit to GriffinRichards/pokeruby that referenced this pull request Jan 18, 2024
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