diff options
-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. |