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.
This commit is contained in:
yenatch
2014-06-14 00:34:57 -07:00
parent e23f341258
commit b83f237254
13 changed files with 115 additions and 115 deletions

View File

@@ -139,12 +139,12 @@ UpdateBattleHuds:: ; 39d4
GetBattleVar:: ; 39e1
; Preserves hl.
push hl
call _GetBattleVar
call GetBattleVarAddr
pop hl
ret
; 39e7
_GetBattleVar:: ; 39e7
GetBattleVarAddr:: ; 39e7
; Get variable from pair a, depending on whose turn it is.
; There are 21 variable pairs.