summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-06-09 14:37:09 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2019-06-09 14:37:09 -0400
commit54f09264bcb50b8c095026f69ac6b775b15c4050 (patch)
treefb45fa2d530edd4661080d84b6e0a669ac279a2f
parent746e917a0074f5b207817cc355f4d55193530625 (diff)
Town map borders
-rw-r--r--Edit-the-Town-Map.md28
-rw-r--r--screenshots/town-map-no-borders.pngbin3487 -> 4251 bytes
2 files changed, 27 insertions, 1 deletions
diff --git a/Edit-the-Town-Map.md b/Edit-the-Town-Map.md
index 4c02bb7..71e4544 100644
--- a/Edit-the-Town-Map.md
+++ b/Edit-the-Town-Map.md
@@ -261,7 +261,33 @@ You can minimize those elements by making them only take up two rows. Edit [engi
ld [hl], $34
ret
```
-TODO - Remove the border when looking at a Pokemon's area
+
+```diff
+ Pokedex_GetArea:
+ ...
+
+ .PlaceString_MonsNest:
+ hlcoord 0, 0
+ ld bc, SCREEN_WIDTH
+ ld a, " "
+ call ByteFill
+- hlcoord 0, 1
+- ld a, $06
+- ld [hli], a
+- ld bc, SCREEN_WIDTH - 2
+- ld a, $07
+- call ByteFill
+- ld [hl], $17
+ call GetPokemonName
+ hlcoord 2, 0
+ call PlaceString
+ ld h, b
+ ld l, c
+ ld de, .String_SNest
+ call PlaceString
+ ret
+```
+
Now you'll have more regional real estate:
![Screenshot](screenshots/town-map-no-borders.png)
diff --git a/screenshots/town-map-no-borders.png b/screenshots/town-map-no-borders.png
index b87f659..db5e683 100644
--- a/screenshots/town-map-no-borders.png
+++ b/screenshots/town-map-no-borders.png
Binary files differ