2018-07-27 23:40:10 +02:00
# ifndef GUARD_CONSTANTS_BATTLE_CONFIG_H
# define GUARD_CONSTANTS_BATTLE_CONFIG_H
2019-05-17 10:38:48 +02:00
// Species with peculiar battle effects. Remove them if they're properly placed in constant/species.h
# define SPECIES_DIALGA 0
# define SPECIES_PALKIA 0
# define SPECIES_GIRATINA 0
# define SPECIES_CHERRIM 0
# define SPECIES_ARCEUS 0
# define SPECIES_SILVALLY 0
# define SPECIES_GENESECT 0
2019-12-31 19:11:53 +01:00
# define SPECIES_AEGISLASH 0
# define SPECIES_AEGISLASH_BLADE 10000
2020-02-08 19:29:51 +01:00
# define SPECIES_MIMIKYU 0
# define SPECIES_MIMIKYU_BUSTED 10001
2019-05-17 10:38:48 +02:00
// Items with peculiar battle effects. Remove them if they're properly placed in constant/items.h
# define ITEM_GRISEOUS_ORB 0
2019-05-20 12:03:00 +02:00
# define ITEM_OCCA_BERRY 204
# define ITEM_PASSHO_BERRY 205
# define ITEM_WACAN_BERRY 206
# define ITEM_RINDO_BERRY 207
# define ITEM_YACHE_BERRY 208
# define ITEM_CHOPLE_BERRY 177
# define ITEM_KEBIA_BERRY 178
# define ITEM_SHUCA_BERRY 179
# define ITEM_COBA_BERRY 180
# define ITEM_PAYAPA_BERRY 181
# define ITEM_TANGA_BERRY 182
# define ITEM_CHARTI_BERRY 183
# define ITEM_KASIB_BERRY 184
# define ITEM_HABAN_BERRY 185
# define ITEM_COLBUR_BERRY 186
# define ITEM_BABIRI_BERRY 187
# define ITEM_CHILAN_BERRY 188
# define ITEM_ROSELI_BERRY 189
# define ITEM_MICLE_BERRY 197
# define ITEM_CUSTAP_BERRY 199
# define ITEM_JABOCA_BERRY 200
# define ITEM_ROWAP_BERRY 201
# define ITEM_KEE_BERRY 202
# define ITEM_MARANGA_BERRY 203
2019-05-17 10:38:48 +02:00
2018-07-27 23:40:10 +02:00
# define GEN_3 0
# define GEN_4 1
# define GEN_5 2
# define GEN_6 3
# define GEN_7 4
2020-02-08 09:51:55 +01:00
// Calculation settings
2018-07-27 23:40:10 +02:00
# define B_CRIT_CHANCE GEN_6 // Chances of a critical hit landing. See atk04_critcalc.
2020-02-08 09:51:55 +01:00
# define B_CRIT_MULTIPLIER GEN_6 // Starting from gen6, critical hits multiply damage by 1.5 instead of 2.
# define B_EXP_CATCH GEN_6 // Starting from gen6, pokemon get experience from catching.
# define B_TRAINER_EXP_MULTIPLIER GEN_6 // Gen7 no longer gives a 1.5 multiplier to exp gain in trainer battles.
# define B_BURN_DAMAGE GEN_6 // In Gen7, burn damage is 1/16th of max HP instead of 1/8th.
# define B_PARALYSIS_SPEED GEN_6 // In Gen7, speed is decreased by 50% instead of 75%.
// Move settings
2018-07-27 23:40:10 +02:00
# define B_FELL_STINGER_STAT_RAISE GEN_6 // Gen6 Atk+2, Gen7 Atk+3.
2018-08-02 20:24:18 +02:00
# define B_SOUND_SUBSTITUTE GEN_6 // Starting from gen6 sound moves bypass Substitute.
2020-02-08 09:51:55 +01:00
// Ability settings
2018-11-03 10:51:51 +01:00
# define B_ABILITY_POP_UP GEN_6 // Starting from gen5, the pokemon abilities are displayed in a pop-up, when they activate in battle.
2020-02-08 09:51:55 +01:00
# define B_ABILITY_WEATHER GEN_6 // Up to gen5 - weather induced by abilities such as Drought or Drizzle lasted till the battle's end or weather change by a move. From Gen6 onwards, weather caused by abilities lasts the same amount of turns as induced from a move.
# define B_GALE_WINGS GEN_6 // Gen7 requires full hp.
2019-12-31 19:11:53 +01:00
# define B_STANCE_CHANGE_FAIL GEN_7 // In Gen7, Aegislash's form change does not happen, if the pokemon cannot use a move, because of confusion, paralysis, etc. In gen6, the form change occurs despite not being able to move.
2020-02-08 14:20:02 +01:00
# define B_GHOSTS_ESCAPE GEN_6 // From Gen6 onwards, ghosts can escape even when blocked by abilities such as Shadow Tag.
2018-07-27 23:40:10 +02:00
2020-02-08 09:51:55 +01:00
// Other
2018-12-23 18:47:00 +01:00
# define B_FAST_INTRO TRUE // If set to TRUE, battle intro texts print at the same time as animation of a pokemon, as opposing to waiting for the animation to end.
2018-07-27 23:40:10 +02:00
# endif // GUARD_CONSTANTS_BATTLE_CONFIG_H