Adapting move changes (part 1)

This commit is contained in:
Eduardo Quezada 2020-10-17 23:08:39 -03:00
parent faca6c4867
commit b1903af8c1
3 changed files with 509 additions and 107 deletions

View File

@ -80,6 +80,8 @@
#define B_PSYWAVE_DMG GEN_6 // Psywave's damage formula. See Cmd_psywavedamageeffect. #define B_PSYWAVE_DMG GEN_6 // Psywave's damage formula. See Cmd_psywavedamageeffect.
// Move settings // Move settings
#define B_UPDATED_MOVE_VALUES GEN_7 // Power, Accuracy and Power of moves vary between generations.
#define B_FELL_STINGER_STAT_RAISE GEN_6 // In Gen7+, it raises Atk by 3 stages instead of 2 if it causes the target to faint. #define B_FELL_STINGER_STAT_RAISE GEN_6 // In Gen7+, it raises Atk by 3 stages instead of 2 if it causes the target to faint.
#define B_SOUND_SUBSTITUTE GEN_6 // In Gen6+, sound moves bypass Substitute. #define B_SOUND_SUBSTITUTE GEN_6 // In Gen6+, sound moves bypass Substitute.
#define B_TOXIC_NEVER_MISS GEN_6 // In Gen6+, if Toxic is used by a Poison type, it will never miss. #define B_TOXIC_NEVER_MISS GEN_6 // In Gen6+, if Toxic is used by a Poison type, it will never miss.

View File

@ -204,6 +204,7 @@ struct BaseStats
u8 noFlip : 1; u8 noFlip : 1;
}; };
#include "constants/battle_config.h"
struct BattleMove struct BattleMove
{ {
u16 effect; u16 effect;

File diff suppressed because it is too large Load Diff