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.
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user