summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLOuroboros <lunosouroboros@gmail.com>2022-02-16 09:15:07 -0300
committerLOuroboros <lunosouroboros@gmail.com>2022-02-16 09:15:07 -0300
commitebff64497a2ee0846f852ddf20e29c00a51a6c2a (patch)
tree6cb6ed90a99517a95458b6639386a916e8c182a4
parentd234b0d34147bd24114e0b3328311a0236201016 (diff)
Roxanne's dialogue wasn't the only one that referenced the old TM behavior.
-rw-r--r--Infinite-TM-usage.md57
1 files changed, 55 insertions, 2 deletions
diff --git a/Infinite-TM-usage.md b/Infinite-TM-usage.md
index 08b702c..f23aa7f 100644
--- a/Infinite-TM-usage.md
+++ b/Infinite-TM-usage.md
@@ -164,17 +164,70 @@ To replicate this, open up `Task_PartyMenuReplaceMove` of [src/party_menu.c](../
}
}
```
-We remember the PP before replacing the move, and if it's lower than the new PP, we put the old PP back in the move slot. But one more change can be made: the text in-game still references old mechanics! Here's how to fix that:
-In `data/maps/RustboroCity_Gym/scripts.inc.`
+We remember the PP before replacing the move, and if it's lower than the new PP, we put the old PP back in the move slot.
+
+## 5. Correct the In Game references to the old TM behavior
+
+One more change can be made; the text in-game still references the way in which TMs used to work!
+
+Let's fix that:
+
+In `data/maps/Route104/scripts.inc`:
```diff
+Route104_EventScript_ReceivedBulletSeed::
+- msgbox Route104_Text_TMsAreOneTimeUse, MSGBOX_DEFAULT
++ msgbox Route104_Text_TMsCanBeReused, MSGBOX_DEFAULT
+ release
+ end
+```
+
+```diff
+-Route104_Text_TMsAreOneTimeUse:
+- .string "A word of advice!\p"
+- .string "A TM, TECHNICAL MACHINE, is good only\n"
+- .string "for one-time use.\p"
+- .string "Once you use it, it's gone.\n"
+- .string "Think twice before using it!$"
++Route104_Text_TMsCanBeReused:
++ .string "By the way, a TM, TECHNICAL MACHINE,\n"
++ .string "can be used as many times as you want!$"
+```
+
+In `data/maps/RustboroCity_Gym/scripts.inc`:
+
+```diff
+RustboroCity_Gym_Text_ExplainRockTomb:
+ .string "That TECHNICAL MACHINE, TM39,\n"
+ .string "contains ROCK TOMB.\p"
+ .string "It not only inflicts damage by dropping\n"
+ .string "rocks, it also lowers SPEED.\p"
+ .string "If you use a TM, it instantly teaches\n"
+ .string "the move to a POKéMON.\p"
- .string "Remember, a TM can be used only once,\n"
- .string "so think before you use it.$"
+ .string "A TM can be used as many times as you'd\n"
+ .string "like, so please enjoy it.$"
```
+In `data/maps/RustboroCity_CuttersHouse/scripts.inc`:
+
+```diff
+RustboroCity_CuttersHouse_Text_ExplainCut:
+ .string "That HIDDEN MACHINE, or HM for\n"
+ .string "short, is CUT.\p"
+ .string "An HM move is one that can be used\n"
+ .string "by POKéMON outside of battle.\p"
+ .string "Any POKéMON that's learned CUT can\n"
+ .string "chop down thin trees if the TRAINER\l"
+ .string "has earned the STONE BADGE.\p"
+- .string "And, unlike a TM, an HM can be used\n"
+- .string "more than once.$"
++ .string "And, like a TM, an HM can be used\n"
++ .string "more than once.$"
+```
+
And that's it! TMs are now reusable just like in Gen 5!
![](https://i.imgur.com/KwzzUSm.png)