diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-02-17 13:18:38 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-02-17 13:18:38 -0500 |
commit | a999787cb84e8363509ad72d92be8f1fc8b7d321 (patch) | |
tree | e98f358e6a221b74635d8ef859cbdb3060252a5b /engine | |
parent | 1e5c95d8d42d5cf4e13afd204a3d6e18e5c030bb (diff) |
Update documentation:
- Apply more edits from #595
- Move music ID behavior from the wiki to docs
- Move assembly programming links from docs to the wiki
- Describe why the TM item gaps exist
Diffstat (limited to 'engine')
-rw-r--r-- | engine/battle/core.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 3241e5022..72e85f088 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -6164,18 +6164,18 @@ LoadEnemyMon: call Random cp 5 percent jr c, .CheckMagikarpArea -; Try again if length >= 1616 mm (i.e. if LOW(length) >= 3 inches) +; Try again if length >= 1616 mm (i.e. if LOW(length) >= 4 inches) ld a, [wMagikarpLength + 1] - cp LOW(1616) ; should be "cp 3", since 1616 mm = 5'3", but LOW(1616) = 80 + cp LOW(1616) ; should be "cp 4", since 1616 mm = 5'4", but LOW(1616) = 80 jr nc, .GenerateDVs ; 20% chance of skipping this check call Random cp 20 percent - 1 jr c, .CheckMagikarpArea -; Try again if length >= 1600 mm (i.e. if LOW(length) >= 2 inches) +; Try again if length >= 1600 mm (i.e. if LOW(length) >= 3 inches) ld a, [wMagikarpLength + 1] - cp LOW(1600) ; should be "cp 2", since 1600 mm = 5'2", but LOW(1600) = 64 + cp LOW(1600) ; should be "cp 3", since 1600 mm = 5'3", but LOW(1600) = 64 jr nc, .GenerateDVs .CheckMagikarpArea: |