summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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