Document walda_phrase
This commit is contained in:
@@ -5512,7 +5512,7 @@ static void InitBoxTitle(u8 boxId)
|
||||
sStorage->boxTitleAltPalOffset = 0x10e + 16 * tagIndex;
|
||||
sStorage->wallpaperPalBits |= 0x10000 << tagIndex;
|
||||
|
||||
StringCopyPadded(sStorage->boxTitleText, GetBoxNamePtr(boxId), 0, 8);
|
||||
StringCopyPadded(sStorage->boxTitleText, GetBoxNamePtr(boxId), 0, BOX_NAME_LENGTH);
|
||||
DrawTextWindowAndBufferTiles(sStorage->boxTitleText, sStorage->boxTitleTiles, 0, 0, 2);
|
||||
LoadSpriteSheet(&spriteSheet);
|
||||
x = GetBoxTitleBaseX(GetBoxNamePtr(boxId));
|
||||
@@ -5557,7 +5557,7 @@ static void CreateIncomingBoxTitle(u8 boxId, s8 direction)
|
||||
template.paletteTag = PALTAG_BOX_TITLE;
|
||||
}
|
||||
|
||||
StringCopyPadded(sStorage->boxTitleText, GetBoxNamePtr(boxId), 0, 8);
|
||||
StringCopyPadded(sStorage->boxTitleText, GetBoxNamePtr(boxId), 0, BOX_NAME_LENGTH);
|
||||
DrawTextWindowAndBufferTiles(sStorage->boxTitleText, sStorage->boxTitleTiles, 0, 0, 2);
|
||||
LoadSpriteSheet(&spriteSheet);
|
||||
LoadPalette(sBoxTitleColors[GetBoxWallpaper(boxId)], palOffset, sizeof(sBoxTitleColors[0]));
|
||||
|
||||
Reference in New Issue
Block a user