summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-14 00:34:57 -0700
committeryenatch <yenatch@gmail.com>2014-06-14 00:41:34 -0700
commitb83f23725452fed945f8047711f94ba07952f870 (patch)
tree58161e26b2500838fb914fef5f4b7d1b0db026ae /main.asm
parente23f34125879e680e1a6ee263cb3dbb579cc5135 (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 'main.asm')
-rw-r--r--main.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.asm b/main.asm
index 967147833..a8b58fcec 100644
--- a/main.asm
+++ b/main.asm
@@ -107651,12 +107651,12 @@ UsedMoveText: ; 105db9
.start
ld a, BATTLE_VARS_LAST_MOVE
- call _GetBattleVar
+ call GetBattleVarAddr
ld d, h
ld e, l
ld a, BATTLE_VARS_LAST_COUNTER_MOVE
- call _GetBattleVar
+ call GetBattleVarAddr
ld a, BATTLE_VARS_MOVE_ANIM
call GetBattleVar