diff options
author | yenatch <yenatch@gmail.com> | 2017-07-05 17:41:44 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-07-05 17:41:44 -0400 |
commit | 40347c124df9f288d97b3853ede1eb0338f8b4c9 (patch) | |
tree | 7575e0ec8e15677ab3bb998a6bd3ba52d2014ecb | |
parent | 2f0e6350b186e3f6d1db00459d6f5499b025cf10 (diff) |
Fix STATUS2_FOCUS_ENERGRY
-rw-r--r-- | include/battle.h | 2 | ||||
-rw-r--r-- | src/battle_2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/battle.h b/include/battle.h index a67dc70c5..05016b8c3 100644 --- a/include/battle.h +++ b/include/battle.h @@ -40,7 +40,7 @@ #define STATUS2_LOCK_CONFUSE 0x00000C00 #define STATUS2_MULTIPLETURNS 0x00001000 #define STATUS2_WRAPPED 0x0000E000 -#define STATUS2_FOCUS_ENERGRY 0x00100000 +#define STATUS2_FOCUS_ENERGY 0x00100000 #define STATUS2_TRANSFORMED 0x00200000 #define STATUS2_RECHARGE 0x00400000 #define STATUS2_RAGE 0x00800000 diff --git a/src/battle_2.c b/src/battle_2.c index 3701da608..64df97f00 100644 --- a/src/battle_2.c +++ b/src/battle_2.c @@ -1703,7 +1703,7 @@ void SwitchInClearStructs(void) } if (gBattleMoves[gCurrentMove].effect == EFFECT_BATON_PASS) { - gBattleMons[gActiveBank].status2 &= (STATUS2_CONFUSION | STATUS2_FOCUS_ENERGRY | STATUS2_SUBSTITUTE | STATUS2_ESCAPE_PREVENTION | STATUS2_CURSED); + gBattleMons[gActiveBank].status2 &= (STATUS2_CONFUSION | STATUS2_FOCUS_ENERGY | STATUS2_SUBSTITUTE | STATUS2_ESCAPE_PREVENTION | STATUS2_CURSED); gStatuses3[gActiveBank] &= (STATUS3_LEECHSEED_RECEIVER | STATUS3_LEECHSEED | STATUS3_ALWAYS_HITS | STATUS3_PERISH_SONG | STATUS3_ROOTED | STATUS3_MUDSPORT | STATUS3_WATERSPORT); for (i = 0; i < gNoOfAllBanks; i++) |