diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2018-05-06 22:56:10 -0400 |
---|---|---|
committer | Rangi <35663410+Rangi42@users.noreply.github.com> | 2018-05-06 22:56:10 -0400 |
commit | d9938ffc0a726c868a1ab557bcd04815fee18a58 (patch) | |
tree | 2c757bee3eae56ed4a851459f0b5d487c324c5f3 | |
parent | 159102fbc3985a49a7bc6bed504af924f1997879 (diff) |
Updated Add a new TM (markdown)
-rw-r--r-- | Add-a-new-TM.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Add-a-new-TM.md b/Add-a-new-TM.md index 880c826..0e41f46 100644 --- a/Add-a-new-TM.md +++ b/Add-a-new-TM.md @@ -188,7 +188,7 @@ Here's how to add a tenth byte (which also needs a fourth variable), allowing up tms1 = 0 ; TM01-TM24 (24) tms2 = 0 ; TM25-TM48 (24) tms3 = 0 ; TM49-TM50 + HM01-HM07 + MT01-MT03 (12/24) -+tms4 = 0 ; TM73-TM96 (24/24) ++tms4 = 0 ; TM73-TM80 (8/24) rept _NARG if DEF(\1_TMNUM) if \1_TMNUM < 24 + 1 @@ -215,11 +215,11 @@ Here's how to add a tenth byte (which also needs a fourth variable), allowing up tms2 = tms2 >> 8 endr -rept 2 ; TM49-TM50 + HM01-HM07 + MT01-MT03 (12/16) -+rept 3 ++rept 3 ; TM49-TM72 (24/24) db tms3 & $ff tms3 = tms3 >> 8 endr -+rept 1 ++rept 1 ; TM73-TM80 (8/24) + db tms4 & $ff +tms4 = tms4 >> 8 +endr @@ -269,4 +269,4 @@ Then edit [wram.asm](../blob/master/wram.asm): wCurBaseDataEnd:: ``` -That gives you enough free space for seven extra base data bytes per Pokémon. Plus the eight that are already used for learnable moves, that's up to 15 `tmhm` bytes, which would allow 120 learnable moves: easily enough for the 100 TMs of Gen 7, plus HMs and tutors. +That gives you enough free space for seven extra base data bytes per Pokémon. Plus the eight that are already used for learnable moves, that's up to 15 `tmhm` bytes, which would allow 120 learnable moves: easily enough for the 100 TMs of Gen 7, plus HMs and tutors. If you somehow need *even more* than that, you can figure out how to save more bytes by packing the base data more compactly. |