summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-02-22 18:12:43 +0100
committermid-kid <esteve.varela@gmail.com>2018-02-22 18:12:43 +0100
commita22343d32c9f81b9cd2a4f2ff49725cfbed6671d (patch)
tree937d704d6fe192a1bbab9c39400c7e766c2bd052
parente8bc86d1fedfc6be5a99d426ffc236c4fcf494f4 (diff)
Fix TRUE/FALSE constants for CalcMonStats
-rwxr-xr-xengine/breeding.asm2
-rwxr-xr-xengine/events/battle_tower/battle_tower.asm2
-rwxr-xr-xengine/events/daycare.asm2
-rwxr-xr-xengine/evolve.asm2
-rw-r--r--engine/item_effects.asm2
-rw-r--r--engine/routines/correcterrorsinplayerparty.asm2
-rw-r--r--engine/tempmon.asm2
-rwxr-xr-xmobile/mobile_46.asm4
-rw-r--r--mobile/mobile_5f.asm2
9 files changed, 10 insertions, 10 deletions
diff --git a/engine/breeding.asm b/engine/breeding.asm
index 0efc10a44..41839bb23 100755
--- a/engine/breeding.asm
+++ b/engine/breeding.asm
@@ -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
diff --git a/engine/events/battle_tower/battle_tower.asm b/engine/events/battle_tower/battle_tower.asm
index 5c430d39b..ec2f5a13c 100755
--- a/engine/events/battle_tower/battle_tower.asm
+++ b/engine/events/battle_tower/battle_tower.asm
@@ -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
diff --git a/engine/events/daycare.asm b/engine/events/daycare.asm
index 8dfdc8c47..1a00cc71f 100755
--- a/engine/events/daycare.asm
+++ b/engine/events/daycare.asm
@@ -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
diff --git a/engine/evolve.asm b/engine/evolve.asm
index efcc9c3f0..5a7e75dfa 100755
--- a/engine/evolve.asm
+++ b/engine/evolve.asm
@@ -264,7 +264,7 @@ EvolveAfterBattle_MasterLoop
ld hl, wTempMonExp + 2
ld de, wTempMonMaxHP
- ld b, $1
+ ld b, TRUE
predef CalcMonStats
ld a, [wCurPartyMon]
diff --git a/engine/item_effects.asm b/engine/item_effects.asm
index 7cf784636..6205f78ca 100644
--- a/engine/item_effects.asm
+++ b/engine/item_effects.asm
@@ -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
diff --git a/engine/routines/correcterrorsinplayerparty.asm b/engine/routines/correcterrorsinplayerparty.asm
index d0091f3a4..e815aa4c8 100644
--- a/engine/routines/correcterrorsinplayerparty.asm
+++ b/engine/routines/correcterrorsinplayerparty.asm
@@ -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
diff --git a/engine/tempmon.asm b/engine/tempmon.asm
index 5bee7b06a..723bfb1dd 100644
--- a/engine/tempmon.asm
+++ b/engine/tempmon.asm
@@ -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
diff --git a/mobile/mobile_46.asm b/mobile/mobile_46.asm
index 670dd1a6e..3d8a126f7 100755
--- a/mobile/mobile_46.asm
+++ b/mobile/mobile_46.asm
@@ -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
diff --git a/mobile/mobile_5f.asm b/mobile/mobile_5f.asm
index 25f410349..862076fd1 100644
--- a/mobile/mobile_5f.asm
+++ b/mobile/mobile_5f.asm
@@ -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