Streamline pointer notation (#2139)
This commit is contained in:
@@ -420,7 +420,7 @@ static const union AffineAnimCmd sAffineAnim_SliderHeart_SpinAppear[] =
|
||||
AFFINEANIMCMD_END
|
||||
};
|
||||
|
||||
static const union AffineAnimCmd* const sAffineAnims_SliderHeart[] =
|
||||
static const union AffineAnimCmd *const sAffineAnims_SliderHeart[] =
|
||||
{
|
||||
[SLIDER_HEART_ANIM_NORMAL] = sAffineAnim_SliderHeart_Normal,
|
||||
[SLIDER_HEART_ANIM_DISAPPEAR] = sAffineAnim_SliderHeart_SpinDisappear,
|
||||
@@ -2855,7 +2855,7 @@ void SetContestants(u8 contestType, u8 rank)
|
||||
u8 opponentsCount = 0;
|
||||
u8 opponents[100];
|
||||
bool8 allowPostgameContestants = FALSE;
|
||||
const u8 * filter;
|
||||
const u8 *filter;
|
||||
|
||||
TryPutPlayerLast();
|
||||
|
||||
@@ -3011,7 +3011,7 @@ static void DrawContestantWindowText(void)
|
||||
|
||||
static u8 *Contest_CopyStringWithColor(const u8 *string, u8 color)
|
||||
{
|
||||
u8 * ptr = StringCopy(gDisplayedStringBattle, gText_ColorTransparent);
|
||||
u8 *ptr = StringCopy(gDisplayedStringBattle, gText_ColorTransparent);
|
||||
ptr[-1] = color; // Overwrites the "{COLOR TRANSPARENT}" part of the string.
|
||||
ptr = StringCopy(ptr, string);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user