Replace magic numbers with constants (#894)

This commit is contained in:
Idain 2022-03-20 19:58:18 -04:00 committed by GitHub
parent 9aac39bebc
commit 9b4ebe9400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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