summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-09-01 13:54:16 -0400
committerGitHub <noreply@github.com>2020-09-01 13:54:16 -0400
commit4412f9f6979fd9fbdcab58b1a96799f2f557b02c (patch)
tree32883aaf23c727f3d27a8960b8a1498d5fb7d1a6 /src/egg_hatch.c
parent69ce45f71f49c859ca7adc07902842503c07d405 (diff)
parent403b8546684d4a8074220d27aa32471ec546abf0 (diff)
Merge pull request #800 from PokeCodec/matchRubyTime
Match more functions
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r--src/egg_hatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c
index 5071d1a75..24c2340ac 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -362,7 +362,7 @@ static u8 EggHatchCreateMonSprite(u8 a0, u8 switchID, u8 pokeID)
case 1:
GetMonSpriteTemplate_803C56C(GetMonSpritePalStruct(mon)->tag, r5);
spriteID = CreateSprite(&gUnknown_02024E8C, 120, 70, 6);
- gSprites[spriteID].invisible = 1;
+ gSprites[spriteID].invisible = TRUE;
gSprites[spriteID].callback = SpriteCallbackDummy;
break;
}
@@ -679,7 +679,7 @@ static void SpriteCB_Egg_4(struct Sprite* sprite)
if (!gPaletteFade.active)
{
PlaySE(SE_EGG_HATCH);
- sprite->invisible = 1;
+ sprite->invisible = TRUE;
sprite->callback = SpriteCB_Egg_5;
sprite->data[0] = 0;
}
@@ -689,7 +689,7 @@ static void SpriteCB_Egg_5(struct Sprite* sprite)
{
if (sprite->data[0] == 0)
{
- gSprites[gEggHatchData->pokeSpriteID].invisible = 0;
+ gSprites[gEggHatchData->pokeSpriteID].invisible = FALSE;
StartSpriteAffineAnim(&gSprites[gEggHatchData->pokeSpriteID], 1);
}
if (sprite->data[0] == 8)