From 4abfaf96569013dc03f7e6fd6eece3099a64e045 Mon Sep 17 00:00:00 2001 From: ExpoSeed <43502820+ExpoSeed@users.noreply.github.com> Date: Sat, 20 Jun 2020 22:04:54 -0500 Subject: Updated Prompt for reusing Repels (markdown) --- Prompt-for-reusing-Repels.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Prompt-for-reusing-Repels.md b/Prompt-for-reusing-Repels.md index b0fc73e..916e15a 100644 --- a/Prompt-for-reusing-Repels.md +++ b/Prompt-for-reusing-Repels.md @@ -10,7 +10,7 @@ This tutorial will ask the player, upon a Repel running out, if they want to use The tricky part of implementing this is that the game does not actually store which repel is used. It only changes `VAR_REPEL_STEP_COUNT`. In order to remedy this, we must store the repel used. -We can use any of the unused vars to do this. This tutorial will use `VAR_UNUSED_0x404E`. Edit [src/include/constants/vars.h](../blob/master/include/constants/vars.h): +We can use any of the unused vars to do this. This tutorial will use `VAR_UNUSED_0x404E`, but you can use whatever you like. Edit [src/include/constants/vars.h](../blob/master/include/constants/vars.h): ```diff -#define VAR_UNUSED_0x404E 0x404E // Unused Var +#define VAR_REPEL_LAST_USED 0x404E -- cgit v1.2.3