diff options
author | Idain <luiscarlosholguinperez@outlook.com> | 2021-03-15 05:45:32 -0400 |
---|---|---|
committer | Idain <luiscarlosholguinperez@outlook.com> | 2021-03-15 05:45:32 -0400 |
commit | deeee2bc18a7871679cba2a81b86e699a52ed7f2 (patch) | |
tree | a0c7b94347a6e277a0c196f4f3722d29bb1bc9ae | |
parent | 1a89f67236a5b136286f5378a577ab3eaffa331c (diff) |
Link to engine/debug/debug_room.asm wasn't working properly. Oops.
-rw-r--r-- | Replace-stat-experience-with-EVs.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Replace-stat-experience-with-EVs.md b/Replace-stat-experience-with-EVs.md index fdb4e0a..afa94ad 100644 --- a/Replace-stat-experience-with-EVs.md +++ b/Replace-stat-experience-with-EVs.md @@ -102,7 +102,7 @@ By replacing the 10 stat experience bytes with 6 EV bytes, we've freed up 4 byte ## 2. (OPTIONAL) Replace stat experience with EVs in Debug Room -If you're going to build a debug ROM to test your project, this step is necessary. One of the options in the debug room, "POKÉMON GET!", lets you edit the structure of a Pokémon before creating it, but some pages use Stat Experience instead of EVs, so we'll need to change this; otherwise, our debug ROM won't assemble. Go to [engine/debug/debug_room.asm](.../blob/engine/debug/debug_room.asm) and edit it: +If you're going to build a debug ROM to test your project, this step is necessary. One of the options in the debug room, "POKÉMON GET!", lets you edit the structure of a Pokémon before creating it, but some pages use Stat Experience instead of EVs, so we'll need to change this; otherwise, our debug ROM won't assemble. Go to [engine/debug/debug_room.asm](.../blob/master/engine/debug/debug_room.asm) and edit it: ```diff DebugRoomMenu_PokemonGet_Page2Values: @@ -176,7 +176,7 @@ If you're going to build a debug ROM to test your project, this step is necessar +.SpclAtkEV: db "SP.ATK EV@" +.SpclDefEV: db "SP.DEF EV@" ``` -What we did was to change all references to Stat Experience for EVs and delete all _Stat_Exp1 since they're no longer needed (remember, Stat Exp takes _two bytes_, whereas EV only takes _one_ byte, so having a second byte for stats it's useless). Also, we moved some elements from one page to another, since we've freed up some space and that way it looks more organized. +What we did was to change all references to Stat Experience for EVs and delete all the _StatExp1_ labels since they're no longer needed (remember, Stat Exp takes _two bytes_, whereas EV only takes _one byte_, so having a second byte for stats is useless). Also, we moved some elements from one page to another, since we've freed up some space and that way it looks more organized. ## 3. Replace stat experience with EVs in base data |