mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Fix backwards names
This commit is contained in:
parent
44e92ce259
commit
6cb4c677cd
@ -563,7 +563,7 @@ _080170CA:
|
||||
negs r0, r0
|
||||
b _08017110
|
||||
_080170D4:
|
||||
bl DisplayYesNoMenuWithDefault
|
||||
bl DisplayYesNoMenuDefaultYes
|
||||
ldrb r0, [r4]
|
||||
adds r0, 0x1
|
||||
strb r0, [r4]
|
||||
@ -26550,7 +26550,7 @@ _08024246:
|
||||
strb r0, [r5, 0xC]
|
||||
b _080242D8
|
||||
_0802426A:
|
||||
bl DisplayYesNoMenuWithDefault
|
||||
bl DisplayYesNoMenuDefaultYes
|
||||
b _080242D0
|
||||
_08024270:
|
||||
bl Menu_ProcessInputNoWrapClearOnChoose
|
||||
|
@ -32,7 +32,7 @@ void PrintPlayerNameOnWindow(u8, const u8*, u16, u16);
|
||||
void DisplayItemMessageOnField(u8 taskId, const u8 *src, TaskFunc callback);
|
||||
void ClearDialogWindowAndFrame(u8 windowId, bool8 copyToVram);
|
||||
void SetStandardWindowBorderStyle(u8 a0, u8 a1);
|
||||
void DisplayYesNoMenuWithDefault(void);
|
||||
void DisplayYesNoMenuDefaultYes(void);
|
||||
u32 GetPlayerTextSpeed(void);
|
||||
u8 GetPlayerTextSpeedDelay(void);
|
||||
void sub_81978B0(u16 arg0);
|
||||
@ -81,7 +81,7 @@ u8 sub_81983AC(u8 windowId, u8 fontId, u8 left, u8 top, u8 cursorHeight, u8 numC
|
||||
void sub_819786C(u8 windowId, bool8 copyToVram);
|
||||
void AddTextPrinterForMessage_2(bool8 allowSkippingDelayWithButtonPress);
|
||||
void RemoveStartMenuWindow(void);
|
||||
void DisplayYesNoMenuWithDefaultDefaultNo(u8 initialCursorPos);
|
||||
void DisplayYesNoMenuWithDefault(u8 initialCursorPos);
|
||||
void sub_819A344(u8 a0, u8 *dest, u8 color);
|
||||
void RemoveMapNamePopUpWindow(void);
|
||||
u8 GetMapNamePopUpWindowId(void);
|
||||
|
@ -1628,7 +1628,7 @@ void sub_8128950(u8 taskId)
|
||||
|
||||
void sub_81289D0(u8 taskId)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
DoYesNoFuncWithChoice(taskId, &gUnknown_085A72C4);
|
||||
}
|
||||
|
||||
@ -1693,7 +1693,7 @@ void sub_8128AAC(u8 taskId)
|
||||
|
||||
void sub_8128B80(u8 taskId)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
DoYesNoFuncWithChoice(taskId, &gUnknown_085A72CC);
|
||||
}
|
||||
|
||||
@ -2588,7 +2588,7 @@ void sub_812A0E8(u8 taskId)
|
||||
|
||||
void sub_812A1A0(u8 taskId)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
DoYesNoFuncWithChoice(taskId, &gUnknown_085A7348);
|
||||
}
|
||||
|
||||
@ -2601,7 +2601,7 @@ void sub_812A1C0(u8 taskId)
|
||||
|
||||
void sub_812A1F0(u8 taskId)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
DoYesNoFuncWithChoice(taskId, &gUnknown_085A7350);
|
||||
}
|
||||
|
||||
@ -2725,7 +2725,7 @@ void sub_812A3D4(u8 taskId)
|
||||
|
||||
void sub_812A458(u8 taskId)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
DoYesNoFuncWithChoice(taskId, &gUnknown_085A741C);
|
||||
}
|
||||
|
||||
|
@ -458,12 +458,12 @@ void DisplayItemMessageOnField(u8 taskId, const u8 *string, TaskFunc callback)
|
||||
CopyWindowToVram(0, 3);
|
||||
}
|
||||
|
||||
void DisplayYesNoMenuWithDefault(void)
|
||||
void DisplayYesNoMenuDefaultYes(void)
|
||||
{
|
||||
CreateYesNoMenu(&sYesNo_WindowTemplates, STD_WINDOW_BASE_TILE_NUM, STD_WINDOW_PALETTE_NUM, 0);
|
||||
}
|
||||
|
||||
void DisplayYesNoMenuWithDefaultDefaultNo(u8 initialCursorPos)
|
||||
void DisplayYesNoMenuWithDefault(u8 initialCursorPos)
|
||||
{
|
||||
CreateYesNoMenu(&sYesNo_WindowTemplates, STD_WINDOW_BASE_TILE_NUM, STD_WINDOW_PALETTE_NUM, initialCursorPos);
|
||||
}
|
||||
|
@ -761,7 +761,7 @@ static void Mailbox_MoveToBag(u8 taskId)
|
||||
|
||||
static void Mailbox_DrawYesNoBeforeMove(u8 taskId)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
gTasks[taskId].func = Mailbox_MoveToBagYesNoPrompt;
|
||||
}
|
||||
|
||||
|
@ -1043,7 +1043,7 @@ static void sub_81408A8(u8 taskId)
|
||||
|
||||
static void sub_8140914(u8 taskId)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
DrawStdWindowFrame(gUnknown_0203AB8C, 0);
|
||||
AddTextPrinterParameterized(gUnknown_0203AB8C, 1, gUnknown_082A5C13, 0, 1, TEXT_SPEED_FF, 0);
|
||||
CopyWindowToVram(gUnknown_0203AB8C, 3);
|
||||
@ -3256,7 +3256,7 @@ static const struct SpriteTemplate gUnknown_085B7AEC =
|
||||
|
||||
static void sub_81428C4(u8 r0)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
DoYesNoFuncWithChoice(r0, &gUnknown_085B6408);
|
||||
}
|
||||
|
||||
|
@ -1202,7 +1202,7 @@ bool8 ScriptMenu_YesNo(u8 left, u8 top)
|
||||
else
|
||||
{
|
||||
gSpecialVar_Result = 0xFF;
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
taskId = CreateTask(Task_HandleYesNoInput, 0x50);
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -1033,7 +1033,7 @@ void sub_80E9FFC(u8 taskId)
|
||||
|
||||
void sub_80EA06C(u8 taskId)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault();
|
||||
DisplayYesNoMenuDefaultYes();
|
||||
DoYesNoFuncWithChoice(taskId, &gUnknown_0858D058);
|
||||
}
|
||||
|
||||
|
@ -961,7 +961,7 @@ static u8 SaveConfirmSaveCallback(void)
|
||||
|
||||
static u8 SaveYesNoCallback(void)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault(); // Show Yes/No menu
|
||||
DisplayYesNoMenuDefaultYes(); // Show Yes/No menu
|
||||
sSaveDialogCallback = SaveConfirmInputCallback;
|
||||
return SAVE_IN_PROGRESS;
|
||||
}
|
||||
@ -1014,14 +1014,14 @@ static u8 SaveFileExistsCallback(void)
|
||||
|
||||
static u8 SaveConfirmOverwriteDefaultNoCallback(void)
|
||||
{
|
||||
DisplayYesNoMenuWithDefaultDefaultNo(1); // Show Yes/No menu (No selected as default)
|
||||
DisplayYesNoMenuWithDefault(1); // Show Yes/No menu (No selected as default)
|
||||
sSaveDialogCallback = SaveOverwriteInputCallback;
|
||||
return SAVE_IN_PROGRESS;
|
||||
}
|
||||
|
||||
static u8 SaveConfirmOverwriteCallback(void)
|
||||
{
|
||||
DisplayYesNoMenuWithDefault(); // Show Yes/No menu
|
||||
DisplayYesNoMenuDefaultYes(); // Show Yes/No menu
|
||||
sSaveDialogCallback = SaveOverwriteInputCallback;
|
||||
return SAVE_IN_PROGRESS;
|
||||
}
|
||||
@ -1144,7 +1144,7 @@ static u8 BattlePyramidConfirmRetireCallback(void)
|
||||
|
||||
static u8 BattlePyramidRetireYesNoCallback(void)
|
||||
{
|
||||
DisplayYesNoMenuWithDefaultDefaultNo(1); // Show Yes/No menu (No selected as default)
|
||||
DisplayYesNoMenuWithDefault(1); // Show Yes/No menu (No selected as default)
|
||||
sSaveDialogCallback = BattlePyramidRetireInputCallback;
|
||||
|
||||
return SAVE_IN_PROGRESS;
|
||||
|
Loading…
Reference in New Issue
Block a user