diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-03-20 20:01:08 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2022-03-20 20:01:08 -0400 |
commit | fa8e3334b3c3eab38213e6c4c08110f9a7c23788 (patch) | |
tree | 7397e6e4cad8e1085a2db8282cd6c6db12526fbc | |
parent | 445576afb85c66247665835c81aaffc47418d476 (diff) |
Replace magic numbers with constants
-rw-r--r-- | engine/pokemon/move_mon.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/pokemon/move_mon.asm b/engine/pokemon/move_mon.asm index 80045c15..a4b5df6c 100644 --- a/engine/pokemon/move_mon.asm +++ b/engine/pokemon/move_mon.asm @@ -864,7 +864,7 @@ RetrieveBreedmon: add hl, bc ld d, h ld e, l - ld hl, $a + ld hl, MON_EXP + 2 add hl, bc push bc ld b, TRUE @@ -887,7 +887,7 @@ RetrieveBreedmon: ld d, a callfar CalcExpAtLevel pop bc - ld hl, $8 + ld hl, MON_EXP add hl, bc ldh a, [hMultiplicand] ld [hli], a @@ -1009,7 +1009,7 @@ SendMonIntoBox: ; Set all 5 Experience Values to 0 xor a - ld b, 2 * 5 + ld b, 2 * NUM_EXP_STATS .loop2 ld [de], a inc de |