summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 15:17:39 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-05 15:17:39 -0500
commit2a4b8b5a248065d2ef80b9960228750112f30da5 (patch)
tree0f4d2992bc3d34ce91a28f05ec29e27b4cf29774 /engine
parent2db54ecb9b2ec41dd40318395f69814af64f6f7b (diff)
Remove trailing whitespace
Diffstat (limited to 'engine')
-rwxr-xr-xengine/battle/core.asm2
-rw-r--r--engine/math/bcd.asm4
-rw-r--r--engine/pokemon/add_mon.asm2
3 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 96e7f360..b9985b6b 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -4485,7 +4485,7 @@ CalculateDamage:
ld b, 4
call Divide
-; Update wCurDamage.
+; Update wCurDamage.
; Capped at MAX_NEUTRAL_DAMAGE - MIN_NEUTRAL_DAMAGE: 999 - 2 = 997.
ld hl, wDamage
ld b, [hl]
diff --git a/engine/math/bcd.asm b/engine/math/bcd.asm
index 92bf6f17..5747a684 100644
--- a/engine/math/bcd.asm
+++ b/engine/math/bcd.asm
@@ -13,7 +13,7 @@ DivideBCD::
ldh [hDivideBCDBuffer+1], a
ldh [hDivideBCDBuffer+2], a
ld d, $1
-.mulBy10Loop
+.mulBy10Loop
; multiply the divisor by 10 until the leading digit is nonzero
; to set up the standard long division algorithm
ldh a, [hDivideBCDDivisor]
@@ -108,7 +108,7 @@ DivideBCD::
ldh a, [hDivideBCDBuffer+2]
ldh [hDivideBCDQuotient+2], a
pop de
- ld a, $6
+ ld a, $6
sub d
and a
ret z
diff --git a/engine/pokemon/add_mon.asm b/engine/pokemon/add_mon.asm
index d7e7eab1..c49a0a77 100644
--- a/engine/pokemon/add_mon.asm
+++ b/engine/pokemon/add_mon.asm
@@ -430,7 +430,7 @@ _MoveMon::
cp PARTY_TO_DAYCARE
ld de, wDayCareMonOT
jr z, .findOTsrc
- dec a
+ dec a
ld hl, wPartyMonOT
ld a, [wPartyCount]
jr nz, .addOToffset