summaryrefslogtreecommitdiff
path: root/src/item_use.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-11 00:05:20 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-11 00:34:50 -0500
commitd979ac3bf3924051de8bb4154e8398083535eabb (patch)
tree9fbdace0b39e7ce58289720ea556817d7479a204 /src/item_use.c
parent6f1d2b870c1426e7f405f3b3bc4ff2b9edb380e1 (diff)
Document main_menu state machine, name window constants
The new names for the constants (and newly named functions) give a much better understanding of what the window system is trying to do.
Diffstat (limited to 'src/item_use.c')
-rwxr-xr-xsrc/item_use.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item_use.c b/src/item_use.c
index 97d6292c4..81f4b7b54 100755
--- a/src/item_use.c
+++ b/src/item_use.c
@@ -188,7 +188,7 @@ void DisplayCannotDismountBikeMessage(u8 taskId, bool8 isUsingRegisteredKeyItemO
void CleanUpAfterFailingToUseRegisteredKeyItemOnField(u8 taskId)
{
- sub_8197434(0, 1);
+ ClearWindowAndWideBorder(0, 1);
DestroyTask(taskId);
ScriptUnfreezeEventObjects();
ScriptContext2_Disable();
@@ -350,7 +350,7 @@ void sub_80FD504(u8 taskId)
void sub_80FD5CC(u8 taskId)
{
- sub_8197434(0, 1);
+ ClearWindowAndWideBorder(0, 1);
ScriptUnfreezeEventObjects();
ScriptContext2_Disable();
DestroyTask(taskId);