summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoann Fievez <yoann.fievez@gmail.com>2021-10-23 00:27:20 +0200
committerYoann Fievez <yoann.fievez@gmail.com>2021-10-23 00:27:20 +0200
commitd0e2a285f169ba8d49f805c84ab59b63269e2d63 (patch)
tree4e9dad1da3ccae29a2b0aadcaddc0cf7ca96d720
parenta8207c1035bf39dd9c78385fd968b35560dbbd29 (diff)
Updated Edit the wild encounters (markdown)
-rw-r--r--Edit-the-wild-encounters.md21
1 files changed, 12 insertions, 9 deletions
diff --git a/Edit-the-wild-encounters.md b/Edit-the-wild-encounters.md
index f5f5604..0785b51 100644
--- a/Edit-the-wild-encounters.md
+++ b/Edit-the-wild-encounters.md
@@ -20,8 +20,8 @@ Each slot in a wild encounter list has a set percentage, as shown below:
```
As such, when modifying a list of encounters for a map, these are the percentages each slot will have. For example, I´ll put the percentages in the comments of the Route 1 encounter list:
```diff
- Route1Mons:
- db $19
+ Route1WildMons:
+ def_grass_wildmons 25 ; encounter rate
db 3,PIDGEY ; 20%
db 3,RATTATA ; 20%
db 3,RATTATA ; 15%
@@ -32,22 +32,25 @@ As such, when modifying a list of encounters for a map, these are the percentage
db 4,RATTATA ; 5%
db 4,PIDGEY ; 4%
db 5,PIDGEY ; 1%
- db $00
+ end_grass_wildmons
+
+ def_water_wildmons 0 ; encounter rate
+ end_water_wildmons
```
Also, **you may only have 10 wild encounters listed in a vanilla Pokered disassembly.** Methods exist to increase the number of slots, but those methods are outside the purpose of this tutorial.
## 1. Picking the map to edit
-All wild encounter lists are located in [data/wild/maps](../blob/master/data/wild/maps). They are named based on the maps they are for. So, route1.asm is for Route 1, route2.asm is for Route 2, etc.
+All wild encounter lists are located in [data/wild/maps](../blob/master/data/wild/maps). They are named based on the maps they are for. So, route1.asm is for Route 1, Route2.asm is for Route 2, etc.
## 2. Modifying the list
The list entries are formatted in this order: db LEVEL, POKEMON
As such, modifying the level and Pokemon fields will make different Pokemon show up on that map.
For example, say we wanted Route 1 to have some Spearow spawn.
-Edit [data/wild/maps/route1.asm](../blob/master/data/wild/maps/route1.asm)
+Edit [data/wild/maps/Route1.asm](../blob/master/data/wild/maps/route1.asm)
```diff
- Route1Mons:
- db $19
+ Route1WildMons:
+ def_grass_wildmons 25
db 3,PIDGEY
db 3,RATTATA
db 3,RATTATA
@@ -60,6 +63,6 @@ Edit [data/wild/maps/route1.asm](../blob/master/data/wild/maps/route1.asm)
db 4,PIDGEY
- db 5,PIDGEY
+ db 10,SPEAROW
- db $00
+ end_grass_wildmons
```
-You should now have a grasp on how to edit wild encounter lists. \ No newline at end of file
+You should now have a grasp on how to edit wild encounter lists.