2018-07-27 23:40:10 +02:00
# ifndef GUARD_CONSTANTS_BATTLE_CONFIG_H
# define GUARD_CONSTANTS_BATTLE_CONFIG_H
2021-07-02 21:23:41 +02:00
# include "constants/expansion_branches.h"
2020-10-17 15:52:44 +02:00
// Species with peculiar battle effects.
# ifndef POKEMON_EXPANSION
2022-01-11 03:01:18 +01:00
# 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
# define SPECIES_AEGISLASH 0
# define SPECIES_AEGISLASH_BLADE 10000
# define SPECIES_MIMIKYU 0
# define SPECIES_MIMIKYU_BUSTED 10001
# define SPECIES_DARMANITAN 0
# define SPECIES_DARMANITAN_ZEN_MODE 10002
# define SPECIES_MINIOR_CORE_RED 0
# define SPECIES_MINIOR 10003
# define SPECIES_MINIOR_CORE_BLUE 0
# define SPECIES_MINIOR_METEOR_BLUE 10004
# define SPECIES_MINIOR_CORE_GREEN 0
# define SPECIES_MINIOR_METEOR_GREEN 10005
# define SPECIES_MINIOR_CORE_INDIGO 0
# define SPECIES_MINIOR_METEOR_INDIGO 10006
# define SPECIES_MINIOR_CORE_ORANGE 0
# define SPECIES_MINIOR_METEOR_ORANGE 10007
# define SPECIES_MINIOR_CORE_VIOLET 0
# define SPECIES_MINIOR_METEOR_VIOLET 10008
# define SPECIES_MINIOR_CORE_YELLOW 0
# define SPECIES_MINIOR_METEOR_YELLOW 10009
# define SPECIES_WISHIWASHI 0
# define SPECIES_WISHIWASHI_SCHOOL 10010
# define SPECIES_ZYGARDE 0 // 50%
# define SPECIES_ZYGARDE_10 10011 // 10 %
# define SPECIES_ZYGARDE_COMPLETE 10012 // 100 %
# define SPECIES_BURMY 0
# define SPECIES_BURMY_SANDY_CLOAK 10013
# define SPECIES_BURMY_TRASH_CLOAK 10014
# define SPECIES_CRAMORANT 0
# define SPECIES_CRAMORANT_GORGING 10015
# define SPECIES_CRAMORANT_GULPING 10016
# define SPECIES_GRENINJA_BATTLE_BOND 0
# define SPECIES_GRENINJA_ASH 10017
# define SPECIES_HOOPA 0
# define SPECIES_HOOPA_UNBOUND 10018
# define SPECIES_MELOETTA 0
# define SPECIES_MELOETTA_PIROUETTE 10019
# define SPECIES_MORPEKO 0
# define SPECIES_MORPEKO_HANGRY 10020
# define SPECIES_SIRFETCHD 10021
# define SPECIES_DARMANITAN_GALARIAN 0
# define SPECIES_DARMANITAN_ZEN_MODE_GALARIAN 10022
2022-01-17 01:10:09 +01:00
# define SPECIES_HEATMOR 0
# define SPECIES_DURANT 0
# define SPECIES_CARBINK 0
# define SPECIES_MAREANIE 0
2020-10-17 15:52:44 +02:00
# endif
2019-05-17 10:38:48 +02:00
2020-10-17 15:52:44 +02:00
// Items with peculiar battle effects.
# ifndef ITEM_EXPANSION
# 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
# 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_GRISEOUS_ORB 369
# endif
# ifndef GEN_3
# define GEN_3 0
# define GEN_4 1
# define GEN_5 2
# define GEN_6 3
# define GEN_7 4
# define GEN_8 5
# endif
2018-07-27 23:40:10 +02:00
2020-02-08 09:51:55 +01:00
// Calculation settings
2022-05-07 16:56:31 +02:00
# define B_CRIT_CHANCE GEN_7 // Chances of a critical hit landing. See CalcCritChanceStage. Gen6+ chances guarantee that Farfetch'd and Sirfetch'd always get critical hits while holding a Leek and using high-crit ratio moves.
2021-02-11 23:11:07 +01:00
# define B_CRIT_MULTIPLIER GEN_7 // In Gen6+, critical hits multiply damage by 1.5 instead of 2.
2021-05-27 21:55:19 +02:00
# define B_PARALYSIS_SPEED GEN_7 // In Gen7+, Speed is decreased by 50% instead of 75%.
2021-02-11 23:11:07 +01:00
# define B_CONFUSION_SELF_DMG_CHANCE GEN_7 // In Gen7+, confusion has a 33.3% of self-damage, instead of 50%.
# define B_MULTI_HIT_CHANCE GEN_7 // In Gen5+, multi-hit moves have different %. See Cmd_setmultihitcounter for values.
2021-10-25 01:03:21 +02:00
// Exp and stat settings
2021-02-11 23:11:07 +01:00
# define B_EXP_CATCH GEN_7 // In Gen6+, Pokémon get experience from catching.
2021-05-27 21:55:19 +02:00
# define B_TRAINER_EXP_MULTIPLIER GEN_7 // In Gen7+, trainer battles no longer give a 1.5 multiplier to EXP gain.
2021-02-11 23:11:07 +01:00
# define B_SPLIT_EXP GEN_7 // In Gen6+, all participating mon get full experience.
# define B_SCALED_EXP GEN_7 // In Gen5 and Gen7+, experience is weighted by level difference.
# define B_BADGE_BOOST GEN_7 // In Gen4+, Gym Badges no longer boost a Pokémon's stats.
2021-09-01 05:14:02 +02:00
# define B_MAX_LEVEL_EV_GAINS GEN_7 // In Gen5+, Lv100 Pokémon can obtain Effort Values normally.
# define B_RECALCULATE_STATS GEN_7 // In Gen5+, the stats of the Pokémon who participate in battle are recalculated at the end of each battle.
2020-02-08 09:51:55 +01:00
2021-10-25 01:03:21 +02:00
// Damage settings
2021-02-11 23:11:07 +01:00
# define B_BURN_DAMAGE GEN_7 // In Gen7+, burn damage is 1/16th of max HP instead of 1/8th.
2022-02-13 03:55:54 +01:00
# define B_BURN_FACADE_DMG GEN_7 // In Gen6+, burn's effect of lowering the Attack stat no longer applies to Facade.
2021-02-11 23:11:07 +01:00
# define B_BINDING_DAMAGE GEN_7 // In Gen6+, binding damage is 1/8 of max HP instead of 1/16. (With Binding Band, 1/6 and 1/8 respectively.)
# define B_PSYWAVE_DMG GEN_7 // Psywave's damage formula. See Cmd_psywavedamageeffect.
2021-10-25 01:03:21 +02:00
# define B_PAYBACK_SWITCH_BOOST GEN_7 // In Gen5+, if the opponent switches out, Payback's damage will no longer be doubled.
# define B_HIDDEN_POWER_DMG GEN_7 // In Gen6+, Hidden Power's base power was set to always be 60. Before, it was determined by the mon's IVs.
2021-10-25 01:07:22 +02:00
# define B_ROUGH_SKIN_DMG GEN_7 // In Gen4+, Rough Skin contact damage is 1/8th of max HP instead of 1/16th. This will also affect Iron Barbs.
2021-11-24 03:20:32 +01:00
# define B_KNOCK_OFF_DMG GEN_8 // In Gen6+, Knock Off deals 50% more damage when knocking off an item.
# define B_SPORT_DMG_REDUCTION GEN_7 // In Gen5+, Water/Mud Sport reduce Fire/Electric Damage by 67% instead of 50%.
2021-10-25 01:03:21 +02:00
2021-10-24 01:11:02 +02:00
// Type settings
2021-10-27 01:35:01 +02:00
# define B_GHOSTS_ESCAPE GEN_7 // In Gen6+, abilities like Shadow Tag or moves like Mean Look fail on Ghost-type Pokémon. They can also escape any Wild Battle.
2021-10-24 01:11:02 +02:00
# define B_PARALYZE_ELECTRIC GEN_7 // In Gen6+, Electric-type Pokémon can't be paralyzed.
# define B_POWDER_GRASS GEN_7 // In Gen6+, Grass-type Pokémon are immune to powder and spore moves.
# define B_STEEL_RESISTANCES GEN_7 // In Gen6+, Steel-type Pokémon are no longer resistant to Dark-type and Ghost-type moves.
# define B_PRANKSTER_DARK_TYPES GEN_7 // In Gen7+, Prankster-elevated status moves do not affect Dark type Pokémon.
2021-11-26 17:49:49 +01:00
# define B_SHEER_COLD_IMMUNITY GEN_7 // In Gen7+, Ice-types are immune to Sheer Cold
2021-10-24 01:11:02 +02:00
2021-11-23 13:38:36 +01:00
// Turn settings
2021-10-24 01:11:02 +02:00
# define B_BINDING_TURNS GEN_7 // In Gen5+, binding moves last for 4-5 turns instead of 2-5 turns. (With Grip Claw, 7 and 5 turns respectively.)
# define B_UPROAR_TURNS GEN_7 // In Gen5+, Uproar lasts for 3 turns instead of 2-5 turns.
# define B_DISABLE_TURNS GEN_7 // Disable's turns. See Cmd_disablelastusedattack.
# define B_TAILWIND_TURNS GEN_7 // In Gen5+, Tailwind lasts 4 turns instead of 3.
# define B_SLEEP_TURNS GEN_7 // In Gen5+, sleep lasts for 1-3 turns instead of 2-5 turns.
2021-10-25 01:21:54 +02:00
# define B_TAUNT_TURNS GEN_7 // In Gen5+, Taunt lasts 3 turns if the user acts before the target, or 4 turns if the target acted before the user. In Gen3, taunt lasts 2 turns and in Gen 4, 3-5 turns.
2021-11-24 03:20:32 +01:00
# define B_SPORT_TURNS GEN_7 // In Gen6+, Water/Mud Sport last 5 turns, even if the user switches out.
2021-11-23 13:38:36 +01:00
# define B_MEGA_EVO_TURN_ORDER GEN_7 // In Gen7, a Pokémon's Speed after Mega Evolution is used to determine turn order, not its Speed before.
2021-11-23 14:35:37 +01:00
# define B_RECALC_TURN_AFTER_ACTIONS GEN_8 // In Gen8, switching/using a move affects the current turn's order of actions.
2021-11-23 13:38:36 +01:00
2020-10-18 17:07:11 +02:00
// Move data settings
2021-02-11 23:11:07 +01:00
# define B_UPDATED_MOVE_DATA GEN_8 // Updates move data in gBattleMoves, including Power, Accuracy, PP, stat changes, targets, chances of secondary effects, etc.
# define B_PHYSICAL_SPECIAL_SPLIT GEN_7 // In Gen3, the move's type determines if it will do physical or special damage. The split icon in the summary will reflect this.
# define B_FELL_STINGER_STAT_RAISE GEN_7 // In Gen7+, it raises Atk by 3 stages instead of 2 if it causes the target to faint.
# define B_KINGS_SHIELD_LOWER_ATK GEN_7 // In Gen7+, it lowers Atk by 1 stage instead of 2 of oponents that hit it.
2020-10-18 17:07:11 +02:00
# define B_SPEED_BUFFING_RAPID_SPIN GEN_8 // In Gen8, Rapid Spin raises the user's Speed by 1 stage.
2021-10-25 01:03:21 +02:00
# define B_RECOIL_IF_MISS_DMG GEN_7 // In Gen5+, Jump Kick and High Jump Kick will always do half of the user's max HP when missing.
2021-11-13 14:53:04 +01:00
# define B_KLUTZ_FLING_INTERACTION GEN_7 // In Gen5+, Pokémon with the Klutz ability can't use Fling.
2022-02-12 04:18:24 +01:00
# define B_UPDATED_CONVERSION GEN_7 // In Gen6+, Conversion changes the user's type to match their first move's. Before, it would choose a move at random.
2022-02-13 04:45:35 +01:00
# define B_PP_REDUCED_BY_SPITE GEN_7 // In Gen4+, Spite reduces the foe's last move's PP by 4, instead of 2 to 5.
# define B_MINIMIZE_EVASION GEN_7 // In Gen5+, Minimize raises evasion by 2 stages instead of 1.
2020-10-18 17:07:11 +02:00
2021-10-24 01:11:02 +02:00
// Move accuracy settings
# define B_TOXIC_NEVER_MISS GEN_7 // In Gen6+, if Toxic is used by a Poison-type Pokémon, it will never miss.
# define B_MINIMIZE_DMG_ACC GEN_7 // In Gen6+, moves that causes double damage to minimized Pokémon will also skip accuracy checks.
# define B_BLIZZARD_HAIL GEN_7 // In Gen4+, Blizzard bypasses accuracy checks if it's hailing.
2022-02-13 05:07:42 +01:00
# define B_SHEER_COLD_ACC GEN_7 // In Gen7+, Sheer Cold's base chance of hitting is reduced to 20% if the user isn't Ice-typed.
2020-10-18 17:07:11 +02:00
// Other move settings
2021-02-11 23:11:07 +01:00
# define B_SOUND_SUBSTITUTE GEN_7 // In Gen6+, sound moves bypass Substitute.
# define B_INCINERATE_GEMS GEN_7 // In Gen6+, Incinerate can destroy Gems.
# define B_CAN_SPITE_FAIL GEN_7 // In Gen4+, Spite can no longer fail if the foe's last move only has 1 remaining PP.
# define B_CRASH_IF_TARGET_IMMUNE GEN_7 // In Gen4+, The user of Jump Kick or High Jump Kick will "keep going and crash" if it attacks a target that is immune to the move.
2021-05-27 21:55:19 +02:00
# define B_MEMENTO_FAIL GEN_7 // In Gen4+, Memento fails if there is no target or if the target is protected or behind substitute. But not if Atk/Sp. Atk are at -6.
2021-10-17 16:54:27 +02:00
# define B_GLARE_GHOST GEN_7 // In Gen4+, Glare can hit Ghost-type Pokémon normally.
2021-10-28 22:53:00 +02:00
# define B_SKILL_SWAP GEN_7 // In Gen4+, Skill Swap triggers switch-in abilities after use.
2021-11-12 21:00:21 +01:00
# define B_BRICK_BREAK GEN_7 // In Gen4+, you can destroy your own side's screens. In Gen 5+, screens are not removed if the target is immune.
2021-11-13 14:50:24 +01:00
# define B_WISH_HP_SOURCE GEN_7 // In Gen5+, Wish heals half of the user's max HP instead of the target's.
2021-11-21 00:35:56 +01:00
# define B_RAMPAGE_CANCELLING GEN_7 // In Gen5+, a failed Thrash, etc, will cancel except on its last turn.
2022-05-02 16:56:09 +02:00
# define B_HEAL_BLOCKING GEN_7 // In Gen5+, Heal Block prevents healing by Black Sludge, Leftovers, Shell Bell. Affected Pokémon will not consume held HP-restoring Berries or Berry Juice.
// Draining abilities will not heal but will prevent damage. In Gen6+, Heal Block prevents the use of most HP-draining moves.
2022-02-13 04:17:37 +01:00
# define B_ROOTED_GROUNDING GEN_7 // In Gen4+, Ingrain causes the affected Pokémon to become grounded.
2022-02-13 04:30:37 +01:00
# define B_GROWTH_UNDER_SUN GEN_7 // In Gen5+, Growth's effects are doubled when under the effects of the sun.
2020-02-08 09:51:55 +01:00
// Ability settings
2021-11-29 18:42:01 +01:00
# define B_EXPANDED_ABILITY_NAMES TRUE // If TRUE, ability names are increased from 12 characters to 16 characters.
2021-05-27 21:55:19 +02:00
# define B_ABILITY_WEATHER GEN_7 // In Gen6+, ability-induced weather lasts 5 turns. Before, it lasted until the battle ended or until it was changed by a move or a different weather-affecting ability.
2021-02-11 23:11:07 +01:00
# define B_GALE_WINGS GEN_7 // In Gen7+ requires full HP to trigger.
2020-12-12 01:49:03 +01:00
# define B_STANCE_CHANGE_FAIL GEN_7 // In Gen7+, Stance Change fails if the Pokémon is unable to use a move because of confusion, paralysis, etc. In Gen6, it doesn't.
2021-10-03 00:01:11 +02:00
# define B_SHADOW_TAG_ESCAPE GEN_7 // In Gen4+, if both sides have a Pokémon with Shadow Tag, all battlers can escape. Before, neither side could escape this situation.
2021-02-11 23:11:07 +01:00
# define B_MOODY_ACC_EVASION GEN_8 // In Gen8, Moody CANNOT raise Accuracy and Evasion anymore.
# define B_FLASH_FIRE_FROZEN GEN_7 // In Gen5+, Flash Fire can trigger even when frozen, when it couldn't before.
2021-11-06 01:25:42 +01:00
# define B_SYNCHRONIZE_NATURE GEN_8 // In Gen8, if a Pokémon with Synchronize is leading the party, it's 100% guaranteed that wild Pokémon will have the same ability, as opposed to 50% previously.
# define B_SYNCHRONIZE_TOXIC GEN_8 // In Gen5+, if a Pokémon with Synchronize is badly poisoned, the opponent will also become badly poisoned. Previously, the opponent would become regular poisoned.
2022-05-04 23:57:19 +02:00
# define B_UPDATED_INTIMIDATE GEN_8 // In Gen8, Intimidate doesn't work on opponents with the Inner Focus, Scrappy, Own Tempo or Oblivious abilities. It also activates Rattled.
2022-02-13 03:57:23 +01:00
# define B_OBLIVIOUS_TAUNT GEN_7 // In Gen6+, Pokémon with Oblivious can't be taunted.
2018-07-27 23:40:10 +02:00
2020-06-29 18:04:13 +02:00
// Item settings
2021-05-27 21:55:19 +02:00
# define B_HP_BERRIES GEN_7 // In Gen4+, berries which restore hp activate immediately after HP drops to half. In Gen3, the effect occurs at the end of the turn.
2021-02-11 23:11:07 +01:00
# define B_BERRIES_INSTANT GEN_7 // In Gen4+, most berries activate on battle start/switch-in if applicable. In Gen3, they only activate either at the move end or turn end.
2022-05-07 21:09:08 +02:00
# define B_CONFUSE_BERRIES_HEAL GEN_8 // Before Gen7, Figy and similar berries restore 1/8th of HP and trigger at half HP. In Gen7 they restore half HP, triggering at 25% HP. In Gen8 they heal 1/3rd of HP.
2022-05-07 22:34:38 +02:00
// Requires using Item Expansion or manually editing the holdEffectParam of Figy, Wiki, Mago, Aguav and Iapapa berries.
2021-01-07 20:09:23 +01:00
# define B_X_ITEMS_BUFF GEN_7 // In Gen7+, the X Items raise a stat by 2 stages instead of 1.
2021-01-16 02:28:10 +01:00
# define B_MENTAL_HERB GEN_5 // In Gen5+, the Mental Herb cures Infatuation, Taunt, Encore, Torment, Heal Block, and Disable
2021-10-25 01:03:21 +02:00
# define B_TRAINERS_KNOCK_OFF_ITEMS TRUE // If TRUE, trainers can steal/swap your items (non-berries are restored after battle). In vanilla games trainers cannot steal items.
2021-11-05 14:37:41 +01:00
# define B_SOUL_DEW_BOOST GEN_7 // In Gens3-6, Soul Dew boosts Lati@s' Sp. Atk and Sp. Def. In Gen7+ it boosts the power of their Psychic and Dragon type moves instead.
2021-10-06 19:22:17 +02:00
# define B_NET_BALL_MODIFIER GEN_7 // In Gen7+, Net Ball's catch multiplier is x5 instead of x3.
# define B_DIVE_BALL_MODIFIER GEN_7 // In Gen4+, Dive Ball's effectiveness increases by when Surfing or Fishing.
# define B_NEST_BALL_MODIFIER GEN_7 // Nest Ball's formula varies depending on the Gen. See Cmd_handleballthrow.
# define B_REPEAT_BALL_MODIFIER GEN_7 // In Gen7+, Repeat Ball's catch multiplier is x3.5 instead of x3.
# define B_TIMER_BALL_MODIFIER GEN_7 // In Gen5+, Timer Ball's effectiveness increases by x0.3 per turn instead of x0.1
# define B_DUSK_BALL_MODIFIER GEN_7 // In Gen7+, Dusk Ball's catch multiplier is x3 instead of x3.5.
# define B_QUICK_BALL_MODIFIER GEN_7 // In Gen5+, Quick Ball's catch multiplier is x5 instead of x4.
# define B_LURE_BALL_MODIFIER GEN_7 // In Gen7+, Lure Ball's catch multiplier is x5 instead of x3.
# define B_HEAVY_BALL_MODIFIER GEN_7 // In Gen7+, Heavy Ball's ranges change. See Cmd_handleballthrow.
# define B_DREAM_BALL_MODIFIER GEN_8 // In Gen8, Dream Ball's catch multiplier is x4 when the target is asleep or has the ability Comatose.
2021-11-12 18:39:18 +01:00
# define B_SERENE_GRACE_BOOST GEN_7 // In Gen5+, Serene Grace boosts the added flinch chance of King's Rock and Razor Fang.
2020-06-29 18:04:13 +02:00
2020-12-12 15:26:27 +01:00
// Flag settings
// To use the following features in scripting, replace the 0s with the flag ID you're assigning it to.
// Eg: Replace with FLAG_UNUSED_0x264 so you can use that flag to toggle the feature.
2020-10-24 02:49:59 +02:00
# define B_FLAG_INVERSE_BATTLE 0 // If this flag is set, the battle's type effectiveness are inversed. For example, fire is super effective against water.
# define B_FLAG_FORCE_DOUBLE_WILD 0 // If this flag is set, all land and surfing wild battles will be double battles.
2021-12-20 20:06:32 +01:00
# define B_SMART_WILD_AI_FLAG 0 // If not 0, you can set this flag in a script to enable smart wild pokemon
2020-10-17 16:44:33 +02:00
2020-12-14 03:42:48 +01:00
// Var Settings
2021-01-19 21:26:36 +01:00
// To use the following features in scripting, replace the 0s with the var ID you're assigning it to.
// Eg: Replace with VAR_UNUSED_0x40F7 so you can use VAR_TERRAIN for that feature.
2021-01-19 23:01:51 +01:00
# define VAR_TERRAIN 0 // If this var has a value, assigning a STATUS_FIELD_xx_TERRAIN to it before battle causes the battle to start with that terrain active
2021-12-20 19:06:23 +01:00
# define B_VAR_WILD_AI_FLAGS 0 // If not 0, you can use this var to add to default wild AI flags. NOT usable with flags above (1 << 15)
2020-12-14 03:42:48 +01:00
2021-11-06 23:24:06 +01:00
// Terrain settings
# define B_TERRAIN_BG_CHANGE TRUE // If set to TRUE, terrain moves permanently change the default battle background until the effect fades.
# define B_THUNDERSTORM_TERRAIN TRUE // If TRUE, overworld Thunderstorm generates Rain and Electric Terrain as in Gen 8.
# define B_TERRAIN_TYPE_BOOST GEN_8 // In Gen8, damage is boosted by 30% instead of 50%.
# define B_SECRET_POWER_EFFECT GEN_7 // Secret Power's effects change depending on terrain and generation. See GetSecretPowerMoveEffect.
# define B_SECRET_POWER_ANIMATION GEN_7 // Secret Power's animations change depending on terrain and generation.
# define B_NATURE_POWER_MOVES GEN_8 // Nature Power calls different moves depending on terrain and generation. See sNaturePowerMoves.
# define B_CAMOUFLAGE_TYPES GEN_7 // Camouflage changes the user to different types depending on terrain and generation. See sTerrainToType.
2020-10-16 01:15:44 +02:00
// Interface settings
2020-10-17 19:31:58 +02:00
# define B_ABILITY_POP_UP TRUE // In Gen5+, the Pokémon abilities are displayed in a pop-up, when they activate in battle.
2020-04-23 09:01:28 +02:00
# define B_FAST_INTRO TRUE // If set to TRUE, battle intro texts print at the same time as animation of a Pokémon, as opposing to waiting for the animation to end.
2021-12-12 16:33:49 +01:00
# define B_FAST_HP_DRAIN TRUE // If set to TRUE, HP bars will move faster to accomodate higher max HP amounts.
2020-07-14 10:39:54 +02:00
# define B_SHOW_TARGETS TRUE // If set to TRUE, all available targets, for moves hitting 2 or 3 Pokémon, will be shown before selecting a move.
2020-10-16 01:15:44 +02:00
# define B_SHOW_SPLIT_ICON TRUE // If set to TRUE, it will show an icon in the summary showing the move's category split.
2021-10-24 01:11:02 +02:00
# define B_HIDE_HEALTHBOX_IN_ANIMS TRUE // If set to TRUE, hides healthboxes during move animations.
2020-10-16 01:15:44 +02:00
2021-11-06 23:24:06 +01:00
// Catching settings
# define B_SEMI_INVULNERABLE_CATCH GEN_7 // In Gen4+, you cannot throw a ball against a Pokemon that is in a semi-invulnerable state (dig/fly/etc)
# define B_CATCHING_CHARM_BOOST 20 // % boost in Critical Capture odds if player has the Catching Charm.
# define B_CRITICAL_CAPTURE TRUE // If set to TRUE, Critical Capture will be enabled.
# define B_LAST_USED_BALL TRUE // If TRUE, the "last used ball" feature from Gen 7 will be implemented
# define B_LAST_USED_BALL_BUTTON R_BUTTON // If last used ball is implemented, this button (or button combo) will trigger throwing the last used ball.
2020-12-21 03:06:50 +01:00
2021-12-05 14:34:18 +01:00
// Other settings
2020-10-17 19:31:58 +02:00
# define B_DOUBLE_WILD_CHANCE 0 // % chance of encountering two Pokémon in a Wild Encounter.
2021-12-23 01:32:10 +01:00
# define B_MULTI_BATTLE_WHITEOUT GEN_8 // In Gen4+, multi battles end when the Player and also their Partner don't have any more Pokémon to fight.
2022-05-10 01:58:24 +02:00
# define B_EVOLUTION_AFTER_WHITEOUT TRUE // If set to TRUE, Pokemon that qualify for evolution after battle will evolve even if the player loses.
2022-01-16 20:23:12 +01:00
# define B_WILD_NATURAL_ENEMIES TRUE // If set to TRUE, certain wild mon species will attack other species when partnered in double wild battles (eg. Zangoose vs Seviper)
2018-12-23 18:47:00 +01:00
2020-05-24 18:13:40 +02:00
// Animation Settings
2020-12-02 00:01:02 +01:00
# define B_NEW_SWORD_PARTICLE FALSE // If set to TRUE, it updates Swords Dance's particle.
# define B_NEW_LEECH_SEED_PARTICLE FALSE // If set to TRUE, it updates Leech Seed's animation particle.
# define B_NEW_HORN_ATTACK_PARTICLE FALSE // If set to TRUE, it updates Horn Attack's horn particle.
# define B_NEW_LEAF_PARTICLE FALSE // If set to TRUE, it updates leaf particle.
# define B_NEW_EMBER_PARTICLES FALSE // If set to TRUE, it updates Ember's fire particle.
# define B_NEW_MEAN_LOOK_PARTICLE FALSE // If set to TRUE, it updates Mean Look's eye particle.
# define B_NEW_TEETH_PARTICLE FALSE // If set to TRUE, it updates Bite/Crunch teeth particle.
# define B_NEW_HANDS_FEET_PARTICLE FALSE // If set to TRUE, it updates chop/kick/punch particles.
# define B_NEW_SPIKES_PARTICLE FALSE // If set to TRUE, it updates Spikes particle.
# define B_NEW_FLY_BUBBLE_PARTICLE FALSE // If set to TRUE, it updates Fly's 'bubble' particle.
# define B_NEW_CURSE_NAIL_PARTICLE FALSE // If set to TRUE, it updates Curse's nail.
# define B_NEW_BATON_PASS_BALL_PARTICLE FALSE // If set to TRUE, it updates Baton Pass' Poké Ball sprite.
# define B_NEW_MORNING_SUN_STAR_PARTICLE FALSE // If set to TRUE, it updates Morning Sun's star particles.
# define B_NEW_IMPACT_PALETTE FALSE // If set to TRUE, it updates the basic 'hit' palette.
# define B_NEW_SURF_PARTICLE_PALETTE FALSE // If set to TRUE, it updates Surf's wave palette.
2020-05-24 18:13:40 +02:00
2021-02-11 23:11:07 +01:00
# define B_ENABLE_DEBUG TRUE // If set to TRUE, enables a debug menu to use in battles by pressing the Select button.
2020-07-16 00:23:44 +02:00
2018-07-27 23:40:10 +02:00
# endif // GUARD_CONSTANTS_BATTLE_CONFIG_H