summaryrefslogtreecommitdiff
path: root/engine/experience.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
commita1951cefc09035e11077a433b28ec8c66b3b03db (patch)
tree4de98db5a6edb6d74192028d50893da2b764421f /engine/experience.asm
parent79bd48f85c7dd1868264e290b12dad17a6e25b95 (diff)
Prefix wram labels with w, part 2.
Diffstat (limited to 'engine/experience.asm')
-rw-r--r--engine/experience.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/experience.asm b/engine/experience.asm
index b1e1fb831..6b94ed357 100644
--- a/engine/experience.asm
+++ b/engine/experience.asm
@@ -1,6 +1,6 @@
CalcLevel: ; 50e1b
- ld a, [TempMonSpecies]
- ld [CurSpecies], a
+ ld a, [wTempMonSpecies]
+ ld [wCurSpecies], a
call GetBaseData
ld d, 1
.next_level
@@ -10,7 +10,7 @@ CalcLevel: ; 50e1b
jr z, .got_level
call CalcExpAtLevel
push hl
- ld hl, TempMonExp + 2
+ ld hl, wTempMonExp + 2
ld a, [hProduct + 3]
ld c, a
ld a, [hld]
@@ -32,7 +32,7 @@ CalcLevel: ; 50e1b
CalcExpAtLevel: ; 50e47
; (a/b)*n**3 + c*n**2 + d*n - e
- ld a, [BaseGrowthRate]
+ ld a, [wBaseGrowthRate]
add a
add a
ld c, a