cleanup some minor fakematches

This commit is contained in:
Retnuhytnuob
2026-08-21 22:45:27 -05:00
parent c1265d72b2
commit 33aaaeb87e
3 changed files with 7 additions and 12 deletions

View File

@@ -183,7 +183,6 @@ void Ereader_AnimateLinkCable(void)
void Ereader_Communicating(void)
{
s32 index;
u16 temp;
UpdateEReaderSpritesViaOam();
if (JOY_NEW(B_BUTTON)) {
@@ -225,8 +224,7 @@ void Ereader_Communicating(void)
}
if (gEReaderStatusAnimSpriteGroup == SG_EREADER_TRANSMITTING) {
gEReaderGeneralTimer++;
temp = gEReaderGeneralTimer; // TODO: FAKEMATCH
if ((gEReaderGeneralTimer & 7) == 0) {
if (gEReaderGeneralTimer % 8 == 0) {
gEReaderHeaderAnimSpriteGroup = SG_21 - gEReaderHeaderAnimSpriteGroup;
}
if (((gLinkStatusResult & 0x7f0000) != 0) &&

View File

@@ -235,7 +235,7 @@ void InitHighScoreData(void)
void HighScore_ShowCompletionBanner(void)
{
u16 temp;
s16 temp;
switch(gCompletionBannerPhase)
{
case 0:
@@ -248,9 +248,7 @@ void HighScore_ShowCompletionBanner(void)
case 1:
gCompletionBannerY--;
// TODO: FAKEMATCH - Seth
temp = gHighScoreScreenState.flashDuration;
if((gHighScoreScreenState.flashDuration & 3) == 0)
if(gHighScoreScreenState.flashDuration % 4 == 0)
{
gCompletionBannerSpriteGroup++;
if(gCompletionBannerSpriteGroup > SG_HIGH_SCORE_COMPLETION_BANNER_LOOP_END)

View File

@@ -595,7 +595,6 @@ void IntroScene1Torchic_RenderAllSprites(void)
struct SpriteGroup *mainSg2;
struct SpriteGroup *otherSg;
int i;
const u16 *p; // TODO Fakematch
gMain.blendControl = 0xF10;
gMain.blendAlpha = gIntroBlendSrc | (gIntroBlendDst << 8);
@@ -615,13 +614,13 @@ void IntroScene1Torchic_RenderAllSprites(void)
if (puVar1->active == TRUE)
{
const struct SpriteSet *introScene1;
puVar1->baseX = gIntroSpriteEntities[1].posX;
puVar1->baseY = gIntroSpriteEntities[1].posY;
p = &gIntroScene1Torchic_SpriteSets[gIntroSpriteEntities[1].animFrame]->count;
for (i = 0;
i < *p;
i++)
introScene1 = gIntroScene1Torchic_SpriteSets[gIntroSpriteEntities[1].animFrame];
for (i = 0; i < introScene1->count; i++)
{
puVar5 = &puVar1->oam[i];
gOamBuffer[puVar5->oamId].objMode = ST_OAM_OBJ_BLEND;