Skip to content

Commit

Permalink
Fixed MOVE_EFFECT_FREEZE_OR_FROSTBITE not being usable in battle scri…
Browse files Browse the repository at this point in the history
…pts (#5859)
  • Loading branch information
AsparagusEduardo authored Dec 22, 2024
1 parent e883b7c commit f9fed98
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/constants/battle.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,11 @@
#define MOVE_EFFECT_TOXIC 6
#define MOVE_EFFECT_FROSTBITE 7
#define PRIMARY_STATUS_MOVE_EFFECT MOVE_EFFECT_FROSTBITE // All above move effects apply primary status
#define MOVE_EFFECT_FREEZE_OR_FROSTBITE (B_USE_FROSTBITE == TRUE ? MOVE_EFFECT_FROSTBITE : MOVE_EFFECT_FREEZE)
#if B_USE_FROSTBITE == TRUE
#define MOVE_EFFECT_FREEZE_OR_FROSTBITE MOVE_EFFECT_FROSTBITE
#else
#define MOVE_EFFECT_FREEZE_OR_FROSTBITE MOVE_EFFECT_FREEZE
#endif
#define MOVE_EFFECT_CONFUSION 8
#define MOVE_EFFECT_FLINCH 9
#define MOVE_EFFECT_TRI_ATTACK 10
Expand Down

0 comments on commit f9fed98

Please sign in to comment.