More transitions documentation

This commit is contained in:
DizzyEggg 2020-06-01 16:17:25 +02:00
parent ad61cccbd1
commit ab3eb6065b
10 changed files with 302 additions and 295 deletions

View File

Before

Width:  |  Height:  |  Size: 231 B

After

Width:  |  Height:  |  Size: 231 B

View File

@ -7,7 +7,7 @@ void BattleTransition_Start(u8 transitionId);
bool8 IsBattleTransitionDone(void); bool8 IsBattleTransitionDone(void);
bool8 FldEff_Pokeball(void); bool8 FldEff_Pokeball(void);
void TransitionPhase1_Task_RunFuncs(u8 taskId); void TransitionPhase1_Task_RunFuncs(u8 taskId);
void sub_8149F58(u16 **a0, u16 **a1); void GetBg0TilesDst(u16 **tilemap, u16 **tileset);
extern const struct SpritePalette gFieldEffectObjectPaletteInfo10; extern const struct SpritePalette gFieldEffectObjectPaletteInfo10;

File diff suppressed because it is too large Load Diff

View File

@ -185,11 +185,11 @@ static const TransitionStateFunc sPhase2_41_Funcs[] =
// code // code
static void sub_81DA700(void) static void sub_81DA700(void)
{ {
u16 *dst1, *dst2; u16 *tilemap, *tileset;
sub_8149F58(&dst1, &dst2); GetBg0TilesDst(&tilemap, &tileset);
LZ77UnCompVram(gUnknown_0862AD54, dst2); LZ77UnCompVram(gUnknown_0862AD54, tileset);
LZ77UnCompVram(gUnknown_0862AF30, dst1); LZ77UnCompVram(gUnknown_0862AF30, tilemap);
LoadPalette(gUnknown_0862B53C, 0xF0, 0x20); LoadPalette(gUnknown_0862B53C, 0xF0, 0x20);
LoadCompressedSpriteSheet(&sUnknown_0862B724); LoadCompressedSpriteSheet(&sUnknown_0862B724);
LoadSpritePalette(&sUnknown_0862B72C); LoadSpritePalette(&sUnknown_0862B72C);