summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/audio.asm28
-rw-r--r--home/text.asm4
2 files changed, 16 insertions, 16 deletions
diff --git a/home/audio.asm b/home/audio.asm
index 1e02f91eb..c7bb7fed3 100644
--- a/home/audio.asm
+++ b/home/audio.asm
@@ -506,18 +506,18 @@ Function3d9f:: ; 3d9f
; Places a BCD number at the
; upper center of the screen.
; Unreferenced.
- ld a, $20
- ld [Sprites + $98], a
- ld [Sprites + $9c], a
- ld a, $50
- ld [Sprites + $99], a
- ld a, $58
- ld [Sprites + $9d], a
+ ld a, 4 * 8
+ ld [Sprites + 38 * 4], a
+ ld [Sprites + 39 * 4], a
+ ld a, 10 * 8
+ ld [Sprites + 38 * 4 + 1], a
+ ld a, 11 * 8
+ ld [Sprites + 39 * 4 + 1], a
xor a
- ld [Sprites + $9b], a
- ld [Sprites + $9f], a
+ ld [Sprites + 38 * 4 + 3], a
+ ld [Sprites + 39 * 4 + 3], a
ld a, [wc296]
- cp $64
+ cp 100
jr nc, .max
add 1
daa
@@ -525,17 +525,17 @@ Function3d9f:: ; 3d9f
swap a
and $f
add "0"
- ld [Sprites + $9a], a
+ ld [Sprites + 38 * 4 + 2], a
ld a, b
and $f
add "0"
- ld [Sprites + $9e], a
+ ld [Sprites + 39 * 4 + 2], a
ret
.max
ld a, "9"
- ld [Sprites + $9a], a
- ld [Sprites + $9e], a
+ ld [Sprites + 38 * 4 + 2], a
+ ld [Sprites + 39 * 4 + 2], a
ret
; 3dde
diff --git a/home/text.asm b/home/text.asm
index 054151ff4..e3dacb478 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -399,7 +399,7 @@ PlaceEnemysName:: ; 121b
cp RIVAL2
jr z, .rival
- ld de, OTName
+ ld de, OTClassName
call PlaceString
ld h, b
ld l, c
@@ -416,7 +416,7 @@ PlaceEnemysName:: ; 121b
jr PlaceCommandCharacter
.linkbattle
- ld de, OTName
+ ld de, OTClassName
jr PlaceCommandCharacter