summaryrefslogtreecommitdiff
path: root/engine/bcd.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi@gmail.com>2020-09-20 13:58:03 -0400
committerRangi <remy.oukaour+rangi@gmail.com>2020-09-20 13:58:03 -0400
commitfac958b280056922a1828b71a04d84a36e1e807a (patch)
treec094adc59182b253a61defb5fb85de7a9d77b7cc /engine/bcd.asm
parentbfb981f1885d21cc59d2656e84c87bb8d64a089c (diff)
- Remove trailing whitespace
- Indent with single tabs, not spaces - Colons after labels - Capitalize BANK, HIGH, and LOW - dbw BANK(X), X -> dba X
Diffstat (limited to 'engine/bcd.asm')
-rwxr-xr-xengine/bcd.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/bcd.asm b/engine/bcd.asm
index 2e1e812..7b7c1b8 100755
--- a/engine/bcd.asm
+++ b/engine/bcd.asm
@@ -1,5 +1,5 @@
INCLUDE "constants.asm"
-
+
SECTION "engine/bcd.asm", ROMX
AddBCD: ; 03:4de3
@@ -15,10 +15,10 @@ AddBCD: ; 03:4de3
dec c
jr nz, .add
jr nc, .done
-
+
ld a, $99
inc de
-
+
.fill
ld [de], a
inc de
@@ -44,7 +44,7 @@ SubBCD: ; 03:4df9
jr nc, .done
ld a, 0
inc de
-
+
.fill
ld [de], a
inc de