diff options
-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 bac7a65..74fe987 100644 --- a/Replace-stat-experience-with-EVs.md +++ b/Replace-stat-experience-with-EVs.md @@ -567,7 +567,7 @@ Next, edit [data/battle_tower/parties.asm](../blob/master/data/battle_tower/part db "SANDA-SU@@@" ``` -Numerically speaking, you just have to take the square root of each stat experience value and round down to an integer EV; but you also have to insert padding bytes, and don't corrupt the stat values (they also use `bigdw`), and do this for six stats 210 times. +Numerically speaking, you just have to take the square root of each stat experience value and round up to an integer EV; but you have to do this for 210 × 5 values, and insert padding bytes. You can do this automatically with a Python script. Save this as **bt-evs.py** in the same directory as main.asm: @@ -603,7 +603,7 @@ with open(filename, 'w', encoding='utf8') as file: print('Done!') ``` -Then run `python3 bt-evs.py`, just like running `make`. It should output: +Then run `python3 bt-evs.py`. It should output: ``` $ python3 battle-tower-evs.py |