• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Hopefully easy question

  • 44
    Posts
    5
    Years
    • Seen Mar 13, 2025
    Hello! Can anyone tell me what causes the background flash whenever a Pokemon is released from a ball? I'm trying to remove it.
     
    Hello! Can anyone tell me what causes the background flash whenever a Pokemon is released from a ball? I'm trying to remove it.

    You can remove it by editing src/battle_anim_throw.c like this:
    Code:
    @@ -2041,7 +2041,6 @@ u8 LaunchBallFadeMonTask(bool8 unfadeLater, u8 spritePalNum, u32 selectedPalette
             gTasks[taskId].func = Task_FadeMon_ToNormal;
         }
     
    [COLOR="Red"]-    BeginNormalPaletteFade(selectedPalettes, 0, 0, 16, RGB(31, 31, 31));[/COLOR]
         return taskId;
     }
     
    @@ -2057,8 +2056,6 @@ static void Task_FadeMon_ToBallColor(u8 taskId)
         }
         else if (!gPaletteFade.active)
         {
    [COLOR="Red"]-        u32 selectedPalettes = (u16)gTasks[taskId].tPaletteLo | ((u16)gTasks[taskId].tPaletteHi << 16);
    -        BeginNormalPaletteFade(selectedPalettes, 0, 16, 0, RGB_WHITE);[/COLOR]
             DestroyTask(taskId);
         }
     }
    @@ -2067,8 +2064,6 @@ static void Task_FadeMon_ToNormal(u8 taskId)
     {
         if (!gPaletteFade.active)
         {
    [COLOR="Red"]-        u32 selectedPalettes = (u16)gTasks[taskId].tPaletteLo | ((u16)gTasks[taskId].tPaletteHi << 16);
    -        BeginNormalPaletteFade(selectedPalettes, 0, 16, 0, RGB_WHITE);[/COLOR]
             gTasks[taskId].func = Task_FadeMon_ToNormal_Step;
         }
     }
     
    Back
    Top