diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-12-22 17:58:40 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-22 17:58:40 -0600 |
commit | aa13f45ebb79aed62171fbfe654d8b542fc9aa6c (patch) | |
tree | 89d4bc15a468733180a0d76041f73ee5364e5d89 /include/battle.h | |
parent | 62bdd4d480ced306b85791c828ee8497e9fa2acc (diff) | |
parent | 7bf8a1c67fb373854673e870b15ba5170e7b0243 (diff) |
Merge pull request #490 from camthesaxman/decompile_contest
decompile contest.s
Diffstat (limited to 'include/battle.h')
-rw-r--r-- | include/battle.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/battle.h b/include/battle.h index 3b37c0853..dda71e562 100644 --- a/include/battle.h +++ b/include/battle.h @@ -3,6 +3,22 @@ #include "sprite.h" +#define F_TARGET_SELECTED_POKEMON 0 +#define F_TARGET_SPECIAL (1 << 0) +#define F_TARGET_UNK2 (1 << 1) +#define F_TARGET_RANDOM (1 << 2) +#define F_TARGET_BOTH_ENEMIES (1 << 3) +#define F_TARGET_USER (1 << 4) +#define F_TARGET_ALL_EXCEPT_USER (1 << 5) +#define F_TARGET_ENEMY_SIDE (1 << 6) + +#define F_MAKES_CONTACT (1 << 0) +#define F_AFFECTED_BY_PROTECT (1 << 1) +#define F_AFFECTED_BY_MAGIC_COAT (1 << 2) +#define F_AFFECTED_BY_SNATCH (1 << 3) +#define F_MIRROR_MOVE_COMPATIBLE (1 << 4) +#define F_AFFECTED_BY_KINGS_ROCK (1 << 5) + #define BATTLE_TYPE_DOUBLE 0x0001 #define BATTLE_TYPE_LINK 0x0002 #define BATTLE_TYPE_WILD 0x0004 |