Resized gimmick indicators to reduce VRAM usage (#6319)
Co-authored-by: Hedara <hedara90@gmail.com>
|
Before Width: | Height: | Size: 211 B After Width: | Height: | Size: 178 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 568 B |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 560 B |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 567 B |
|
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 184 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 555 B |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 570 B |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 563 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 568 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 557 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 551 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 558 B |
|
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 218 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 559 B |
|
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 177 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 563 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 563 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 555 B |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 560 B |
@ -371,10 +371,10 @@ void UpdateIndicatorLevelData(u32 healthboxId, u32 level)
|
||||
|
||||
static const s8 sIndicatorPositions[][2] =
|
||||
{
|
||||
[B_POSITION_PLAYER_LEFT] = {53, -9},
|
||||
[B_POSITION_OPPONENT_LEFT] = {44, -9},
|
||||
[B_POSITION_PLAYER_RIGHT] = {52, -9},
|
||||
[B_POSITION_OPPONENT_RIGHT] = {44, -9},
|
||||
[B_POSITION_PLAYER_LEFT] = {49, -9},
|
||||
[B_POSITION_OPPONENT_LEFT] = {40, -9},
|
||||
[B_POSITION_PLAYER_RIGHT] = {48, -9},
|
||||
[B_POSITION_OPPONENT_RIGHT] = {40, -9},
|
||||
};
|
||||
|
||||
void CreateIndicatorSprite(u32 battler)
|
||||
|
||||
@ -135,8 +135,8 @@ static const struct SpritePalette sSpritePalette_TeraIndicator = {sTeraIndicator
|
||||
|
||||
static const struct OamData sOamData_GimmickIndicator =
|
||||
{
|
||||
.shape = SPRITE_SHAPE(16x16),
|
||||
.size = SPRITE_SIZE(16x16),
|
||||
.shape = SPRITE_SHAPE(8x16),
|
||||
.size = SPRITE_SIZE(8x16),
|
||||
.priority = 1,
|
||||
};
|
||||
|
||||
|
||||