summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-07-19 03:52:20 -0500
committerdannye <corrnondacqb@yahoo.com>2015-07-19 03:52:20 -0500
commit64b4cf624fe2175e2c7539b91bc41b6dae28a00e (patch)
tree971ea955f5d40af7612f7b69029b49db98064690 /main.asm
parentea9cc86949cecc3508aeac06b807372b6b0134d8 (diff)
parentd0526c036210d2ee186a2a45feac91747ef6fb85 (diff)
Merge branch 'master' of https://github.com/YamaArashi/pokered
Conflicts: engine/evos_moves.asm engine/overworld/healing_machine.asm
Diffstat (limited to 'main.asm')
-rwxr-xr-xmain.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.asm b/main.asm
index a81e7d98..d45b8825 100755
--- a/main.asm
+++ b/main.asm
@@ -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