diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-07-26 23:23:05 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-07-26 23:23:05 -0500 |
commit | d7c5c8cf22c857830aae4da285c91e5e58c2cc02 (patch) | |
tree | e68f0dda79eda3f9bfe8aa69297cd58cc077e14a /main.asm | |
parent | 93255d6d17fbb3702a0f8670d7ecc2ed627af2a7 (diff) | |
parent | bbb86671eaac735fe6ef57da01ef79fd16953238 (diff) |
Merge branch 'master' of https://github.com/xCrystal/pokered
Diffstat (limited to 'main.asm')
-rwxr-xr-x | main.asm | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3691,7 +3691,7 @@ _AddPartyMon: ; f2e5 (3:72e5) inc de jr .copyMonTypesAndMoves .copyEnemyMonData - ld bc, wPartyMon1DVs - wPartyMon1 + ld bc, wEnemyMon1DVs - wEnemyMon1 add hl, bc ld a, [wEnemyMonDVs] ; copy IVs from cur enemy mon ld [hli], a @@ -3762,7 +3762,7 @@ _AddPartyMon: ; f2e5 (3:72e5) ld a, [hExperience + 2] ld [de], a xor a - ld b, $a + ld b, NUM_STATS * 2 .writeEVsLoop ; set all EVs to 0 inc de ld [de], a @@ -3786,7 +3786,7 @@ _AddPartyMon: ; f2e5 (3:72e5) jr .done .calcFreshStats pop hl - ld bc, $10 + ld bc, wPartyMon1HPExp - 1 - wPartyMon1 add hl, bc ld b, $0 call CalcStats ; calculate fresh set of stats @@ -3798,7 +3798,7 @@ LoadMovePPs: ; f473 (3:7473) call GetPredefRegisters ; fallthrough AddPartyMon_WriteMovePP: ; f476 (3:7476) - ld b, $4 + ld b, NUM_MOVES .pploop ld a, [hli] ; read move ID and a |