Give window drawing functions better names
This commit is contained in:
@@ -1687,8 +1687,8 @@ static void sub_8124904(void)
|
||||
{
|
||||
StringLength(gUnknown_085A1EDC[i].name[sFlyMap->regionMap.posWithinMapSec]);
|
||||
flag = TRUE;
|
||||
sub_8198070(0, FALSE);
|
||||
SetWindowBorderStyle(1, FALSE, 0x65, 0x0d);
|
||||
ClearStdWindowAndFrameToTransparent(0, FALSE);
|
||||
DrawStdFrameWithCustomTileAndPalette(1, FALSE, 0x65, 0x0d);
|
||||
AddTextPrinterParameterized(1, 1, sFlyMap->regionMap.mapSecName, 0, 1, 0, NULL);
|
||||
name = gUnknown_085A1EDC[i].name[sFlyMap->regionMap.posWithinMapSec];
|
||||
AddTextPrinterParameterized(1, 1, name, GetStringRightAlignXOffset(1, name, 0x60), 0x11, 0, NULL);
|
||||
@@ -1702,8 +1702,8 @@ static void sub_8124904(void)
|
||||
{
|
||||
if (gUnknown_03001180 == TRUE)
|
||||
{
|
||||
sub_8198070(1, FALSE);
|
||||
SetWindowBorderStyle(0, FALSE, 0x65, 0x0d);
|
||||
ClearStdWindowAndFrameToTransparent(1, FALSE);
|
||||
DrawStdFrameWithCustomTileAndPalette(0, FALSE, 0x65, 0x0d);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1718,8 +1718,8 @@ static void sub_8124904(void)
|
||||
{
|
||||
if (gUnknown_03001180 == TRUE)
|
||||
{
|
||||
sub_8198070(1, FALSE);
|
||||
SetWindowBorderStyle(0, FALSE, 0x65, 0x0d);
|
||||
ClearStdWindowAndFrameToTransparent(1, FALSE);
|
||||
DrawStdFrameWithCustomTileAndPalette(0, FALSE, 0x65, 0x0d);
|
||||
}
|
||||
FillWindowPixelBuffer(0, PALETTE_NUM_TO_FILL_VALUE(1));
|
||||
CopyWindowToVram(0, 2);
|
||||
|
||||
Reference in New Issue
Block a user