diff options
| author | xCrystal <rgr.crystal@gmail.com> | 2015-03-31 20:28:42 +0200 |
|---|---|---|
| committer | xCrystal <rgr.crystal@gmail.com> | 2015-03-31 20:28:42 +0200 |
| commit | 247b619e9abf12c6790cff72343a8cf8431b0fb9 (patch) | |
| tree | 70d3e98257334b7f7f1f3419fb01f2cf2324376c /engine/battle/15.asm | |
| parent | Split commentary lines that are too long (diff) | |
| download | pokeyellow-247b619e9abf12c6790cff72343a8cf8431b0fb9.tar.gz pokeyellow-247b619e9abf12c6790cff72343a8cf8431b0fb9.tar.xz pokeyellow-247b619e9abf12c6790cff72343a8cf8431b0fb9.zip | |
Some wram constants
Diffstat (limited to 'engine/battle/15.asm')
| -rwxr-xr-x | engine/battle/15.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/15.asm b/engine/battle/15.asm index 0acf3514..9bd67654 100755 --- a/engine/battle/15.asm +++ b/engine/battle/15.asm @@ -82,7 +82,7 @@ GainExperience: ; 5524f (15:524f) call BoostExp ; traded mon exp boost ld a, $1 .next - ld [wcf4d], a + ld [wGainBoostedExp], a ld a, [W_ISINBATTLE] dec a ; is it a trainer battle? call nz, BoostExp ; if so, boost exp @@ -342,12 +342,12 @@ BoostExp: ; 5549f (15:549f) GainedText: ; 554b2 (15:54b2) TX_FAR _GainedText db $08 ; asm - ld a, [wcc5b] + ld a, [wBoostExpByExpAll] ld hl, WithExpAllText and a ret nz ld hl, ExpPointsText - ld a, [wcf4d] + ld a, [wGainBoostedExp] and a ret z ld hl, BoostedText |
