summaryrefslogtreecommitdiff
path: root/engine/battle/experience.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-11-28 17:09:19 -0500
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-11-28 17:09:19 -0500
commit90c7b976dca2467f47c4916b3835414bb07cc4d1 (patch)
treef2acf7019573d3b708339c704c51b8ecca77b6ea /engine/battle/experience.asm
parent4cb785e0db4adb727ac1b92115ad3f74e414867f (diff)
engine/battle/moveEffects/substitute_effect.asm and ActivatePC
Also no more W_PLAYER/ENEMYBATTSTATUS
Diffstat (limited to 'engine/battle/experience.asm')
-rw-r--r--engine/battle/experience.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/experience.asm b/engine/battle/experience.asm
index 65e18999..0480bfcb 100644
--- a/engine/battle/experience.asm
+++ b/engine/battle/experience.asm
@@ -223,7 +223,7 @@ GainExperience: ; 5524f (15:524f)
ld bc, 1 + NUM_STATS * 2 ; size of stats
call CopyData
pop hl
- ld a, [W_PLAYERBATTSTATUS3]
+ ld a, [wPlayerBattleStatus3]
bit 3, a ; is the mon transformed?
jr nz, .recalcStatChanges
; the mon is not transformed, so update the unmodified stats