summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-08-03 16:34:51 -0400
committeryenatch <yenatch@gmail.com>2013-08-03 16:34:51 -0400
commita2242e1b9d95dcaf21ecdb5ae27a497c6ee6c27a (patch)
treea30798efa48b616dc655387ba8f3c1cdd8afd466 /battle/effect_commands.asm
parentbb8990dc3cb19787e08c29409cfc674e2478fbc9 (diff)
parent0ee006a145dbe45a8844ad2dc6d8bf04b51f63bc (diff)
Merge branch 'sprites'
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r--battle/effect_commands.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm
index 4372dacba..f52dfa483 100644
--- a/battle/effect_commands.asm
+++ b/battle/effect_commands.asm
@@ -6850,7 +6850,7 @@ Function0x365d7: ; 365d7
ld a, $5
call Function0x3661d
- ld hl, $6d45
+ ld hl, BadgeStatBoosts
call CallBankF
call SwitchTurn
@@ -8385,7 +8385,7 @@ BattleCommand98: ; 36f25
; doubleflyingdamage
ld a, BATTLE_VARS_SUBSTATUS3_OPP
call CleanGetBattleVarPair
- bit 6, a ; flying
+ bit SUBSTATUS_FLYING, a
ret z
jr DoubleDamage
; 36f2f
@@ -8395,7 +8395,7 @@ BattleCommand99: ; 36f2f
; doubleundergrounddamage
ld a, BATTLE_VARS_SUBSTATUS3_OPP
call CleanGetBattleVarPair
- bit 5, a ; underground
+ bit SUBSTATUS_UNDERGROUND, a
ret z
; fallthrough