Skip to content

Commit

Permalink
Corrected conditionals used for B_SPEED_BUFFING_RAPID_SPIN and I_GEM_…
Browse files Browse the repository at this point in the history
…BOOST_POWER (#3232)
  • Loading branch information
LOuroboros authored Aug 14, 2023
1 parent d62c0d6 commit 2d45b9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/battle_scripts_1.s
Original file line number Diff line number Diff line change
Expand Up @@ -5128,7 +5128,7 @@ BattleScript_EffectBatonPass::
goto BattleScript_MoveEnd

BattleScript_EffectRapidSpin::
.if B_SPEED_BUFFING_RAPID_SPIN == GEN_8
.if B_SPEED_BUFFING_RAPID_SPIN >= GEN_8
attackcanceler
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
attackstring
Expand Down
2 changes: 1 addition & 1 deletion src/data/items.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define EVO_HELD_ITEM_FIELD_FUNC ItemUseOutOfBattle_CannotUse
#endif

#if I_GEM_BOOST_POWER >= GEN_5
#if I_GEM_BOOST_POWER >= GEN_6
#define GEM_BOOST_PARAM 30
#else
#define GEM_BOOST_PARAM 50
Expand Down

0 comments on commit 2d45b9b

Please sign in to comment.