• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • 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

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