diff options
author | yenatch <yenatch@gmail.com> | 2014-06-14 00:34:57 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-06-14 00:41:34 -0700 |
commit | b83f23725452fed945f8047711f94ba07952f870 (patch) | |
tree | 58161e26b2500838fb914fef5f4b7d1b0db026ae /battle/effects/protect.asm | |
parent | e23f34125879e680e1a6ee263cb3dbb579cc5135 (diff) |
Rename _GetBattleVar -> GetBattleVarAddr.
Functions prefixed with _ imply they're private.
The real purpose of this function is to use an address,
rather than saving a few cycles on push/pop.
Diffstat (limited to 'battle/effects/protect.asm')
-rw-r--r-- | battle/effects/protect.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/battle/effects/protect.asm b/battle/effects/protect.asm index a28c0461e..be9284135 100644 --- a/battle/effects/protect.asm +++ b/battle/effects/protect.asm @@ -4,7 +4,7 @@ BattleCommand55: ; 37618 ret c ld a, BATTLE_VARS_SUBSTATUS1 - call _GetBattleVar + call GetBattleVarAddr set SUBSTATUS_PROTECT, [hl] call AnimateCurrentMove |