diff options
author | mid-kid <esteve.varela@gmail.com> | 2019-06-10 01:52:46 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2019-06-10 01:52:46 +0200 |
commit | ad299b16358b5d73e24e0c12d2746936aad7f2ce (patch) | |
tree | a27a7f42aa201fc0207174c6840c1d0589653c08 /engine | |
parent | d6db0104294aa5f449dac69e1965f552d95440fa (diff) |
Apply suggested changes
Diffstat (limited to 'engine')
-rw-r--r-- | engine/pokedex/pokedex_2.asm | 4 | ||||
-rw-r--r-- | engine/pokegear/pokegear.asm | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/engine/pokedex/pokedex_2.asm b/engine/pokedex/pokedex_2.asm index 0f42aea3a..ac47bd484 100644 --- a/engine/pokedex/pokedex_2.asm +++ b/engine/pokedex/pokedex_2.asm @@ -124,7 +124,7 @@ DisplayDexEntry: jr z, .skip_height push hl push de -; Print the height with two of the four digits will be in front of the decimal point +; Print the height, with two of the four digits in front of the decimal point ld hl, sp+$0 ld d, h ld e, l @@ -150,7 +150,7 @@ DisplayDexEntry: or d jr z, .skip_weight push de -; Print the height with four of the five digits will be in front of the decimal point +; Print the weight, with four of the five digits in front of the decimal point ld hl, sp+$0 ld d, h ld e, l diff --git a/engine/pokegear/pokegear.asm b/engine/pokegear/pokegear.asm index 13b561d4b..d0e7e8ca0 100644 --- a/engine/pokegear/pokegear.asm +++ b/engine/pokegear/pokegear.asm @@ -335,7 +335,7 @@ InitPokegearTilemap: .ok farcall PokegearMap ld a, $07 - ld bc, $12 + ld bc, SCREEN_WIDTH - 2 hlcoord 1, 2 call ByteFill hlcoord 0, 2 @@ -2165,7 +2165,7 @@ TownMapBubble: hlcoord 1, 1 ; Middle row - ld bc, 18 + ld bc, SCREEN_WIDTH - 2 ld a, " " call ByteFill @@ -2481,10 +2481,10 @@ Pokedex_GetArea: ld a, " " call ByteFill hlcoord 0, 1 - ld a, $6 + ld a, $06 ld [hli], a ld bc, SCREEN_WIDTH - 2 - ld a, $7 + ld a, $07 call ByteFill ld [hl], $17 call GetPokemonName |