mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-22 20:33:47 +01:00
Dusk Ball config
This commit is contained in:
parent
ce3b877666
commit
6f246bb0c7
@ -26,5 +26,6 @@
|
|||||||
#define P_REPEAT_BALL_MODIFIER GEN_7 // In Gen7+, Net Ball's catch multiplier is x3.5 instead of x3.
|
#define P_REPEAT_BALL_MODIFIER GEN_7 // In Gen7+, Net Ball's catch multiplier is x3.5 instead of x3.
|
||||||
#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_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_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.
|
||||||
|
|
||||||
#endif // GUARD_CONSTANTS_ITEM_CONFIG_H
|
#endif // GUARD_CONSTANTS_ITEM_CONFIG_H
|
||||||
|
@ -9916,7 +9916,11 @@ static void Cmd_handleballthrow(void)
|
|||||||
case ITEM_DUSK_BALL:
|
case ITEM_DUSK_BALL:
|
||||||
RtcCalcLocalTime();
|
RtcCalcLocalTime();
|
||||||
if ((gLocalTime.hours >= 20 && gLocalTime.hours <= 3) || gMapHeader.cave || gMapHeader.mapType == MAP_TYPE_UNDERGROUND)
|
if ((gLocalTime.hours >= 20 && gLocalTime.hours <= 3) || gMapHeader.cave || gMapHeader.mapType == MAP_TYPE_UNDERGROUND)
|
||||||
|
#if P_DUSK_BALL_MODIFIER >= GEN_7
|
||||||
ballMultiplier = 30;
|
ballMultiplier = 30;
|
||||||
|
#else
|
||||||
|
ballMultiplier = 35;
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user