diff options
author | PhoenixBound <PhoenixBound@users.noreply.github.com> | 2020-08-16 11:29:37 -0500 |
---|---|---|
committer | PhoenixBound <PhoenixBound@users.noreply.github.com> | 2020-08-16 11:29:37 -0500 |
commit | 60f81546d8b89331b8b98d231c566e8642d4411d (patch) | |
tree | 42ce6862471e7a4c7978c42194a32141a80dee8d | |
parent | 208649b270aae22f723a35b67507453159be0ef3 (diff) |
Fix link, update code to latest commit
-rw-r--r-- | Infinite-TM-usage.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Infinite-TM-usage.md b/Infinite-TM-usage.md index 661dd7a..dc52af1 100644 --- a/Infinite-TM-usage.md +++ b/Infinite-TM-usage.md @@ -28,7 +28,7 @@ static void Task_LearnedMove(u8 taskId) StringCopy(gStringVar2, gMoveNames[move[0]]); StringExpandPlaceholders(gStringVar4, gText_PkmnLearnedMove3); DisplayPartyMenuMessage(gStringVar4, TRUE); - schedule_bg_copy_tilemap_to_vram(2); + ScheduleBgCopyTilemapToVram(2); gTasks[taskId].func = Task_DoLearnedMoveFanfareAfterText; } ``` @@ -83,7 +83,7 @@ We will first need to add a new string. Edit [include/strings.h](../blob/master/ extern const u8 gText_SpaceForVar1Full[]; extern const u8 gText_ThrowInPremierBall[]; ``` -Edit [src/strings.c](..blob/master/src/strings.c): +Edit [src/strings.c](../blob/master/src/strings.c): ```diff const u8 gText_ThanksIllSendItHome[] = _("Thanks!\nI'll send it to your PC at home."); const u8 gText_YouDontHaveMoney[] = _("You don't have enough money.{PAUSE_UNTIL_PRESS}"); |