From f1c23f21532b2f194536ceaaba2d9a30c62ce719 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Tue, 13 Feb 2018 08:36:25 +0100 Subject: [PATCH] Fix use of one constant --- engine/move_mon.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/move_mon.asm b/engine/move_mon.asm index 7069e44c9..5650d85de 100755 --- a/engine/move_mon.asm +++ b/engine/move_mon.asm @@ -254,9 +254,9 @@ endr inc de ; Initialize HP. - ld bc, 10 + ld bc, MON_STAT_EXP - 1 add hl, bc - ld a, $1 + ld a, 1 ld c, a ld b, FALSE call CalcPkmnStatC @@ -339,7 +339,7 @@ endr pop hl ld bc, MON_STAT_EXP - 1 add hl, bc - ld b, $0 ; if b = 1, then stat calculation takes stat exp into account. + ld b, FALSE call CalcPkmnStats .registerunowndex