summaryrefslogtreecommitdiff
path: root/engine/pokemon/experience.asm
diff options
context:
space:
mode:
authorThomas Winwood <twwinwood@gmail.com>2018-07-21 02:06:31 +0100
committerGitHub <noreply@github.com>2018-07-21 02:06:31 +0100
commit23ef2f50a7b94c23b50e9e690a7482ac349c9ef3 (patch)
tree63c20c67efbdf8334c6e273f78065b83135e3886 /engine/pokemon/experience.asm
parent17a4d0540acc00e3f5ad260009115eb36e72b7d2 (diff)
parent2d73d040d16a7836f935a7a6cb2a311aed2ca5a2 (diff)
Merge branch 'master' into the-diffening
Diffstat (limited to 'engine/pokemon/experience.asm')
-rw-r--r--engine/pokemon/experience.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/pokemon/experience.asm b/engine/pokemon/experience.asm
index 6b94ed357..3c3b10439 100644
--- a/engine/pokemon/experience.asm
+++ b/engine/pokemon/experience.asm
@@ -1,4 +1,4 @@
-CalcLevel: ; 50e1b
+CalcLevel:
ld a, [wTempMonSpecies]
ld [wCurSpecies], a
call GetBaseData
@@ -30,7 +30,7 @@ CalcLevel: ; 50e1b
dec d
ret
-CalcExpAtLevel: ; 50e47
+CalcExpAtLevel:
; (a/b)*n**3 + c*n**2 + d*n - e
ld a, [wBaseGrowthRate]
add a
@@ -150,7 +150,7 @@ CalcExpAtLevel: ; 50e47
ld [hMultiplicand], a
ret
-.LevelSquared: ; 50eed
+.LevelSquared:
xor a
ld [hMultiplicand + 0], a
ld [hMultiplicand + 1], a