diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-09 15:13:18 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-09 15:13:18 -0400 |
commit | ee4c1fd3bcc1f3dca3c65804d295098a7171ebe0 (patch) | |
tree | 2c93752aee410ad224b58e5bb541e8d3b2d3992f | |
parent | d9e161843ff75de3c1240c790e0d13aea9eec3a5 (diff) |
const_skip
-rw-r--r-- | Add-a-new-Pokémon.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Add-a-new-Pokémon.md b/Add-a-new-Pokémon.md index c1d2f76..85945c8 100644 --- a/Add-a-new-Pokémon.md +++ b/Add-a-new-Pokémon.md @@ -52,9 +52,8 @@ Edit [constants/pokemon_constants.asm](../blob/master/constants/pokemon_constant const CELEBI ; fb + const MUNCHLAX ; fc NUM_POKEMON EQU const_value + -1 -- const MON_FC ; fc +- const_skip ; fc const EGG ; fd - const MON_FE ; fe ``` Some things to notice here: @@ -649,7 +648,7 @@ That's it—we're done! Munchlax works just like every other Pokémon. ## 12. Adding up to 253 Pokémon -We just added Pokémon #252; adding #253 is basically the same. However, instead of just replacing `MON_FE` the way we replaced `MON_FC`, I would recommend swapping `MON_FE` and `EGG`. That way `MON_FE` is $FD and `EGG` is $FE. +We just added Pokémon #252; adding #253 is basically the same. Note that by adding it before `EGG` (and of course before `NUM_POKEMON`), the constant for #253 is $FD and `EGG` shifts up to $FE. This has multiple benefits: |