summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2019-07-07 11:46:08 +0100
committerElectroDeoxys <ElectroDeoxys@gmail.com>2019-07-07 11:46:21 +0100
commit6d4808678e1edab777671b66cd34349d073e09de (patch)
tree04ec3fe53c273b8ed48a088c67e7feb62c0e5cd6 /src/wram.asm
parent457d28cd343ae546023ca717b7a5e6fdb7a79660 (diff)
Identify CalculateOnesAndTensDigits
Diffstat (limited to 'src/wram.asm')
-rw-r--r--src/wram.asm12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/wram.asm b/src/wram.asm
index c4cc27d..79266e9 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -1440,11 +1440,13 @@ wceb4:: ; ceb4
wceb5:: ; ceb5
ds $1
-wceb6:: ; ceb6
- ds $1
-
-wceb7:: ; ceb7
- ds $1
+; used to store the tens digit and
+; ones digit of a value for printing
+; the ones digit is added $20
+; ceb6 = ones digit (+ $20)
+; ceb7 = tens digit
+wOnesAndTensPlace:: ; ceb6
+ ds $2
ds $3