Fix TRUE/FALSE constants for CalcMonStats

This commit is contained in:
mid-kid 2018-02-22 18:12:43 +01:00
parent e8bc86d1fe
commit a22343d32c
9 changed files with 10 additions and 10 deletions

View File

@ -288,7 +288,7 @@ HatchEggs: ; 16f70 (5:6f70)
push hl
ld bc, MON_STAT_EXP - 1
add hl, bc
ld b, $0
ld b, FALSE
predef CalcMonStats
pop bc
ld hl, MON_MAXHP

View File

@ -483,7 +483,7 @@ endr
push de
ld hl, MON_STAT_EXP - 1
add hl, bc
ld b, $1
ld b, TRUE
predef CalcMonStats
pop de
pop hl

View File

@ -566,7 +566,7 @@ DayCare_GiveEgg: ; 169ac
ld e, l
pop hl
push bc
ld b, $0
ld b, FALSE
predef CalcMonStats
pop bc
ld hl, MON_HP

View File

@ -264,7 +264,7 @@ EvolveAfterBattle_MasterLoop
ld hl, wTempMonExp + 2
ld de, wTempMonMaxHP
ld b, $1
ld b, TRUE
predef CalcMonStats
ld a, [wCurPartyMon]

View File

@ -1282,7 +1282,7 @@ UpdateStatsAfterItem: ; ee8c
ld e, l
ld a, MON_STAT_EXP - 1
call GetPartyParamLocation
ld b, $1
ld b, TRUE
predef_jump CalcMonStats
; ee9f

View File

@ -89,7 +89,7 @@ Unreferenced_CorrectErrorsInPlayerParty:
ld e, l
ld hl, MON_STAT_EXP - 1
add hl, bc
ld b, $1
ld b, TRUE
predef CalcMonStats
pop hl
ld bc, PARTYMON_STRUCT_LENGTH

View File

@ -50,7 +50,7 @@ _TempMonStatsCalculation: ; 50893
ld hl, MON_STAT_EXP - 1
add hl, bc
push bc
ld b, $1
ld b, TRUE
predef CalcMonStats
pop bc
ld hl, MON_HP

View File

@ -7145,7 +7145,7 @@ Function11b483: ; 11b483
add hl, de
pop de
push de
ld b, OTPARTYMON
ld b, TRUE
predef CalcMonStats
pop de
ld h, d
@ -7564,7 +7564,7 @@ Function11b6b4: ; 11b6b4
ld hl, $c60d + MON_STAT_EXP - 1
ld de, $c60d + MON_MAXHP
ld b, $1
ld b, TRUE
predef CalcMonStats
ld de, $c60d + MON_MAXHP
ld hl, $c60d + MON_HP

View File

@ -2441,7 +2441,7 @@ Function17ded9: ; 17ded9
ld d, h
ld e, l
push hl
ld b, $0
ld b, FALSE
farcall CalcMonStats
ld a, [wPartyCount]
dec a