Continue decompiling field_specials
This commit is contained in:
1061
src/field_specials.c
1061
src/field_specials.c
File diff suppressed because it is too large
Load Diff
@@ -1965,7 +1965,7 @@ void sub_80323CC(u8 a, u8 b, u16 c, u16 d, u8 e, u8 f)
|
||||
{
|
||||
struct WindowTemplate sp;
|
||||
|
||||
sp = sub_8198A50(0, a + 1, b + 1, 5, 4, f, d);
|
||||
sp = CreateWindowTemplate(0, a + 1, b + 1, 5, 4, f, d);
|
||||
CreateYesNoMenu(&sp, c, e, 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -1143,7 +1143,7 @@ void SetWindowTemplateFields(struct WindowTemplate *template, u8 bg, u8 left, u8
|
||||
template->baseBlock = baseBlock;
|
||||
}
|
||||
|
||||
struct WindowTemplate sub_8198A50(u8 bg, u8 left, u8 top, u8 width, u8 height, u8 paletteNum, u16 baseBlock)
|
||||
struct WindowTemplate CreateWindowTemplate(u8 bg, u8 left, u8 top, u8 width, u8 height, u8 paletteNum, u16 baseBlock)
|
||||
{
|
||||
struct WindowTemplate template;
|
||||
SetWindowTemplateFields(&template, bg, left, top, width, height, paletteNum, baseBlock);
|
||||
|
||||
@@ -1515,7 +1515,7 @@ bool8 ScrCmd_braillemessage(struct ScriptContext *ctx)
|
||||
xText = (xWindow - xText - 1) * 8 + 3;
|
||||
yText = (yText - yWindow - 1) * 8;
|
||||
|
||||
winTemplate = sub_8198A50(0, xWindow, yWindow + 1, width, height, 0xF, 0x1);
|
||||
winTemplate = CreateWindowTemplate(0, xWindow, yWindow + 1, width, height, 0xF, 0x1);
|
||||
gUnknown_03000F30 = AddWindow(&winTemplate);
|
||||
LoadUserWindowBorderGfx(gUnknown_03000F30, 0x214, 0xE0);
|
||||
NewMenuHelpers_DrawStdWindowFrame(gUnknown_03000F30, 0);
|
||||
|
||||
Reference in New Issue
Block a user