summaryrefslogtreecommitdiff
path: root/src/field_player_avatar.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-03 13:17:29 -0400
committerGitHub <noreply@github.com>2021-11-03 13:17:29 -0400
commite14210ce1f9be3ae894490a4e3050832aecbdde7 (patch)
tree6f91b9a6be1ec65ee31fef1883882a0a458236ac /src/field_player_avatar.c
parent0ba22ca1124bf5cf37ba2934fda4ec1a9cca02a6 (diff)
parent929aade0fd0e5ea0fba4e18650bda02e6a943ba5 (diff)
Merge pull request #1536 from GriffinRichards/clean-braille
Add font id constants, better braille support
Diffstat (limited to 'src/field_player_avatar.c')
-rw-r--r--src/field_player_avatar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/field_player_avatar.c b/src/field_player_avatar.c
index 00800636d..06b582756 100644
--- a/src/field_player_avatar.c
+++ b/src/field_player_avatar.c
@@ -1804,7 +1804,7 @@ static bool8 Fishing_ShowDots(struct Task *task)
}
else
{
- AddTextPrinterParameterized(0, 1, dot, task->tNumDots * 8, 1, 0, NULL);
+ AddTextPrinterParameterized(0, FONT_NORMAL, dot, task->tNumDots * 8, 1, 0, NULL);
task->tNumDots++;
}
}
@@ -1853,7 +1853,7 @@ static bool8 Fishing_CheckForBite(struct Task *task)
static bool8 Fishing_GotBite(struct Task *task)
{
AlignFishingAnimationFrames();
- AddTextPrinterParameterized(0, 1, gText_OhABite, 0, 17, 0, NULL);
+ AddTextPrinterParameterized(0, FONT_NORMAL, gText_OhABite, 0, 17, 0, NULL);
task->tStep++;
task->tFrameCounter = 0;
return FALSE;
@@ -1908,7 +1908,7 @@ static bool8 Fishing_MonOnHook(struct Task *task)
{
AlignFishingAnimationFrames();
FillWindowPixelBuffer(0, PIXEL_FILL(1));
- AddTextPrinterParameterized2(0, 1, gText_PokemonOnHook, 1, 0, 2, 1, 3);
+ AddTextPrinterParameterized2(0, FONT_NORMAL, gText_PokemonOnHook, 1, 0, 2, 1, 3);
task->tStep++;
task->tFrameCounter = 0;
return FALSE;
@@ -1955,7 +1955,7 @@ static bool8 Fishing_NotEvenNibble(struct Task *task)
AlignFishingAnimationFrames();
StartSpriteAnim(&gSprites[gPlayerAvatar.spriteId], GetFishingNoCatchDirectionAnimNum(GetPlayerFacingDirection()));
FillWindowPixelBuffer(0, PIXEL_FILL(1));
- AddTextPrinterParameterized2(0, 1, gText_NotEvenANibble, 1, 0, 2, 1, 3);
+ AddTextPrinterParameterized2(0, FONT_NORMAL, gText_NotEvenANibble, 1, 0, 2, 1, 3);
task->tStep = FISHING_SHOW_RESULT;
return TRUE;
}
@@ -1965,7 +1965,7 @@ static bool8 Fishing_GotAway(struct Task *task)
AlignFishingAnimationFrames();
StartSpriteAnim(&gSprites[gPlayerAvatar.spriteId], GetFishingNoCatchDirectionAnimNum(GetPlayerFacingDirection()));
FillWindowPixelBuffer(0, PIXEL_FILL(1));
- AddTextPrinterParameterized2(0, 1, gText_ItGotAway, 1, 0, 2, 1, 3);
+ AddTextPrinterParameterized2(0, FONT_NORMAL, gText_ItGotAway, 1, 0, 2, 1, 3);
task->tStep++;
return TRUE;
}