Quick Ball config.

This commit is contained in:
Eduardo Quezada 2020-10-17 02:44:09 -03:00
parent 6f246bb0c7
commit e320e6f7ff
2 changed files with 6 additions and 1 deletions

View file

@ -27,5 +27,6 @@
#define P_TIMER_BALL_MODIFIER GEN_7 // In Gen5+, Timer Ball's effectiveness increases by x0.3 per turn instead of x0.1
#define P_DIVE_BALL_MODIFIER GEN_3 // In Gen4+, Dive Ball's effectiveness increases by when Surfing or Fishing.
#define P_DUSK_BALL_MODIFIER GEN_7 // In Gen7+, Net Ball's catch multiplier is x3 instead of x3.5.
#define P_QUICK_BALL_MODIFIER GEN_7 // In Gen5+, Quick Ball's catch multiplier is x5 instead of x4.
#endif // GUARD_CONSTANTS_ITEM_CONFIG_H

View file

@ -9911,7 +9911,11 @@ static void Cmd_handleballthrow(void)
break;
case ITEM_QUICK_BALL:
if (gBattleResults.battleTurnCounter == 0)
ballMultiplier = 40;
#if P_QUICK_BALL_MODIFIER >= GEN_5
ballMultiplier = 50;
#else
ballMultiplier = 40;
#endif
break;
case ITEM_DUSK_BALL:
RtcCalcLocalTime();