summaryrefslogtreecommitdiff
path: root/engine/menus/pokedex.asm
diff options
context:
space:
mode:
authorklektron <klektron@users.noreply.github.com>2021-01-04 13:01:58 +0100
committerklektron <klektron@users.noreply.github.com>2021-01-04 13:01:58 +0100
commit4a96d8dcc2c3d4d6b6791ccaa60747d0aaf7a403 (patch)
treebb3367e4481b6aa518fd482fe270ab63ec3981c2 /engine/menus/pokedex.asm
parent779c7ddaa2613e41ce86e10893ee1b94ecc5b899 (diff)
trying to be consistent with pretHEADmaster
Diffstat (limited to 'engine/menus/pokedex.asm')
-rw-r--r--engine/menus/pokedex.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/menus/pokedex.asm b/engine/menus/pokedex.asm
index c2e7de5a..c43a29e5 100644
--- a/engine/menus/pokedex.asm
+++ b/engine/menus/pokedex.asm
@@ -527,7 +527,7 @@ ShowPokedexDataInternal:
.func_43d7
inc hl
ld a, [hli]
- ldd [hl], a
+ ld [hld], a
ld [hl], "<DOT>"
inc de
inc de
@@ -550,9 +550,9 @@ ShowPokedexDataInternal:
call PrintNumber ; print weight
hlcoord 14, 8
ldh a, [hDexWeight + 1]
- sub a, 10
+ sub 10
ldh a, [hDexWeight]
- sbc a,0
+ sbc 0
jr nc, .next
ld [hl], "0" ; if the weight is less than 10, put a 0 before the decimal point
.next