MON_STAT_EXP - 1 → MON_EXP + 2

This commit is contained in:
Rangi
2018-07-24 14:14:04 -04:00
parent d5b98f5206
commit 2b88951f9f

View File

@@ -7113,7 +7113,7 @@ GiveExperiencePoints:
push bc push bc
call LoadTileMapToTempTileMap call LoadTileMapToTempTileMap
pop bc pop bc
ld hl, MON_STAT_EXP - 1 ld hl, MON_EXP + 2
add hl, bc add hl, bc
ld d, [hl] ld d, [hl]
ld a, [hQuotient + 2] ld a, [hQuotient + 2]
@@ -7145,7 +7145,7 @@ GiveExperiencePoints:
ld d, MAX_LEVEL ld d, MAX_LEVEL
callfar CalcExpAtLevel callfar CalcExpAtLevel
pop bc pop bc
ld hl, MON_STAT_EXP - 1 ld hl, MON_EXP + 2
add hl, bc add hl, bc
push bc push bc
ld a, [hQuotient] ld a, [hQuotient]