diff options
author | YamaArashi <shadow962@live.com> | 2015-07-18 20:49:52 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-18 21:58:55 -0700 |
commit | c169073eed4f0362ef42170098a141a2fcbd71d0 (patch) | |
tree | a4f97ff8eff1a9fc80cadc4dba3fe9d088410656 /main.asm | |
parent | b96ef8d2d495b8c39f703742e8c1965c774fc54f (diff) |
misc
Diffstat (limited to 'main.asm')
-rwxr-xr-x | main.asm | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3743,7 +3743,7 @@ _AddPartyMon: ; f2e5 (3:72e5) dec de dec de xor a - ld [wHPBarMaxHP], a + ld [wLearningMovesFromDayCare], a predef WriteMonMoves pop de ld a, [wPlayerID] ; set trainer ID to player ID @@ -3758,13 +3758,13 @@ _AddPartyMon: ; f2e5 (3:72e5) callab CalcExperience pop de inc de - ld a, [H_MULTIPLICAND] ; write experience + ld a, [hExperience] ; write experience ld [de], a inc de - ld a, [H_MULTIPLICAND+1] + ld a, [hExperience + 1] ld [de], a inc de - ld a, [H_MULTIPLICAND+2] + ld a, [hExperience + 2] ld [de], a xor a ld b, $a |