diff options
-rw-r--r-- | Make-wild-Pokémon-encounter-levels-vary.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Make-wild-Pokémon-encounter-levels-vary.md b/Make-wild-Pokémon-encounter-levels-vary.md index ebf57be..35dbbe8 100644 --- a/Make-wild-Pokémon-encounter-levels-vary.md +++ b/Make-wild-Pokémon-encounter-levels-vary.md @@ -12,7 +12,7 @@ If you add [wild Pokémon slots](Add-a-new-wild-Pokémon-slot) to accommodate al ## 1. Understanding Bug Catching Contest Encounter Code -First, we look at a snippet used in (events.asm)[https://github.com/pret/pokecrystal/blob/master/engine/overworld/events.asm] because we will use a portion of the code to replace a portion of wild encounter code. +First, we look at a snippet used in [events.asm](https://github.com/pret/pokecrystal/blob/master/engine/overworld/events.asm) because we will use a portion of the code to replace a portion of wild encounter code. ``` ChooseWildEncounter_BugContest:: @@ -69,7 +69,7 @@ ChooseWildEncounter_BugContest:: ret ``` -This code is used to randomize wild encounters in the Bug Catching Contest. We then look at (bug_contest_mons.asm)[https://github.com/pret/pokecrystal/blob/master/data/wild/bug_contest_mons.asm]. +This code is used to randomize wild encounters in the Bug Catching Contest. We then look at [bug_contest_mons.asm](https://github.com/pret/pokecrystal/blob/master/data/wild/bug_contest_mons.asm). ``` ContestMons: @@ -91,7 +91,7 @@ We can see that there's a minimum and maximum level for every wild Pokémon. The ## 2. Add max levels in probabilities -Edit (data/wild/probabilities.asm)[https://github.com/pret/pokecrystal/blob/master/data/wild/probabilities.asm]. +Edit [data/wild/probabilities.asm](https://github.com/pret/pokecrystal/blob/master/data/wild/probabilities.asm). ```diff mon_prob 100, 2 ; 10% chance @@ -115,7 +115,7 @@ The `MaxLevelGrass` and `MaxLevelWater` contain the level buffs to obtain the hi ## 3. Change wild encounter algorithm -Finally, we change the wild encounter algorithm in (engine/overworld/wildmons.asm)[https://github.com/pret/pokecrystal/blob/master/engine/overworld.wildmons.asm]: +Finally, we change the wild encounter algorithm in [engine/overworld/wildmons.asm](https://github.com/pret/pokecrystal/blob/master/engine/overworld.wildmons.asm): ```diff |