diff options
author | danenders <65201358+danenders@users.noreply.github.com> | 2022-02-09 16:10:18 -0500 |
---|---|---|
committer | danenders <65201358+danenders@users.noreply.github.com> | 2022-02-09 16:10:18 -0500 |
commit | f8644539f294c0d109d6c592f7e9bef3bb623ee8 (patch) | |
tree | e056d8250ae1955ff3cb99b77eaf4f5280c73307 | |
parent | 79ccd5513be2ae5bc14b7da3f901375497c2523f (diff) |
Updated Infinite TM usage (markdown)
-rw-r--r-- | Infinite-TM-usage.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Infinite-TM-usage.md b/Infinite-TM-usage.md index 296a11c..08b702c 100644 --- a/Infinite-TM-usage.md +++ b/Infinite-TM-usage.md @@ -128,17 +128,14 @@ Next, we need to replace all of the checks to see if there is room with checks f compare VAR_TEMP_2, TM13_COINS goto_if_lt MauvilleCity_GameCorner_EventScript_NotEnoughCoinsForTM - checkitemspace ITEM_TM13, 1 -- compare VAR_RESULT, FALSE -- goto_if_eq MauvilleCity_GameCorner_EventScript_NoRoomForTM +- goto_if_eq VAR_RESULT, FALSE, MauvilleCity_GameCorner_EventScript_NoRoomForTM + checkitem ITEM_TM13, 1 -+ compare VAR_RESULT, TRUE -+ goto_if_eq MauvilleCity_GameCorner_EventScript_YouAlreadyHaveThis ++ goto_if_eq VAR_RESULT, TRUE, MauvilleCity_GameCorner_EventScript_YouAlreadyHaveThis removecoins TM13_COINS additem ITEM_TM13 updatecoinsbox 1, 1 ``` - Repeat for each TM. We are almost done, but there is one final issue to deal with: TMs will replenish PP. It is time to address that. |