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/rollout.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/rollout.asm')
-rw-r--r-- | battle/effects/rollout.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/battle/effects/rollout.asm b/battle/effects/rollout.asm index 13c91a8d9..748736fef 100644 --- a/battle/effects/rollout.asm +++ b/battle/effects/rollout.asm @@ -50,7 +50,7 @@ BattleCommand5c: ; 37734 jr z, .hit ld a, BATTLE_VARS_SUBSTATUS1 - call _GetBattleVar + call GetBattleVarAddr res 6, [hl] ret @@ -62,13 +62,13 @@ BattleCommand5c: ; 37734 jr c, .asm_3776e ld a, BATTLE_VARS_SUBSTATUS1 - call _GetBattleVar + call GetBattleVarAddr res 6, [hl] jr .asm_37775 .asm_3776e ld a, BATTLE_VARS_SUBSTATUS1 - call _GetBattleVar + call GetBattleVarAddr set 6, [hl] .asm_37775 |