2017-10-03 10:11:13 +00:00
|
|
|
#ifndef GUARD_BATTLE_TRANSITION_H
|
|
|
|
#define GUARD_BATTLE_TRANSITION_H
|
|
|
|
|
2018-01-01 16:41:34 +00:00
|
|
|
void TestBattleTransition(u8 transitionId);
|
2018-01-14 21:09:35 +00:00
|
|
|
void BattleTransition_StartOnField(u8 transitionId);
|
|
|
|
void BattleTransition_Start(u8 transitionId);
|
2017-11-28 22:02:09 +00:00
|
|
|
bool8 IsBattleTransitionDone(void);
|
2018-01-14 21:09:35 +00:00
|
|
|
bool8 FldEff_Pokeball(void);
|
|
|
|
void TransitionPhase1_Task_RunFuncs(u8 taskId);
|
2020-06-02 15:28:47 +00:00
|
|
|
void GetBg0TilesDst(u16 **tilemap, u16 **tileset);
|
2018-01-14 21:09:35 +00:00
|
|
|
|
2020-07-02 08:59:52 +00:00
|
|
|
extern const struct SpritePalette gSpritePalette_Pokeball;
|
2017-11-28 22:02:09 +00:00
|
|
|
|
2018-01-02 19:38:33 +00:00
|
|
|
enum // TRANSITION_MUGSHOT
|
|
|
|
{
|
2019-04-16 14:40:32 +00:00
|
|
|
MUGSHOT_SIDNEY,
|
2018-01-02 19:38:33 +00:00
|
|
|
MUGSHOT_PHOEBE,
|
|
|
|
MUGSHOT_GLACIA,
|
|
|
|
MUGSHOT_DRAKE,
|
|
|
|
MUGSHOT_CHAMPION,
|
|
|
|
MUGSHOTS_COUNT
|
|
|
|
};
|
|
|
|
|
2018-01-13 20:03:07 +00:00
|
|
|
// credits for the names go to Dyskinesia, Tetrable and Farore
|
2017-11-28 22:02:09 +00:00
|
|
|
// names are naturally subject to change
|
|
|
|
|
2020-07-02 19:45:37 +00:00
|
|
|
#define B_TRANSITION_BLUR 0
|
|
|
|
#define B_TRANSITION_SWIRL 1
|
|
|
|
#define B_TRANSITION_SHUFFLE 2
|
|
|
|
#define B_TRANSITION_BIG_POKEBALL 3
|
|
|
|
#define B_TRANSITION_POKEBALLS_TRAIL 4
|
|
|
|
#define B_TRANSITION_CLOCKWISE_BLACKFADE 5
|
|
|
|
#define B_TRANSITION_RIPPLE 6
|
|
|
|
#define B_TRANSITION_WAVE 7
|
|
|
|
#define B_TRANSITION_SLICE 8
|
|
|
|
#define B_TRANSITION_WHITEFADE 9
|
|
|
|
#define B_TRANSITION_GRID_SQUARES 10
|
|
|
|
#define B_TRANSITION_SHARDS 11
|
|
|
|
#define B_TRANSITION_SIDNEY 12
|
|
|
|
#define B_TRANSITION_PHOEBE 13
|
|
|
|
#define B_TRANSITION_GLACIA 14
|
|
|
|
#define B_TRANSITION_DRAKE 15
|
|
|
|
#define B_TRANSITION_CHAMPION 16
|
2017-11-28 22:02:09 +00:00
|
|
|
// added in Emerald
|
2020-07-02 19:45:37 +00:00
|
|
|
#define B_TRANSITION_AQUA 17
|
|
|
|
#define B_TRANSITION_MAGMA 18
|
|
|
|
#define B_TRANSITION_REGICE 19
|
|
|
|
#define B_TRANSITION_REGISTEEL 20
|
|
|
|
#define B_TRANSITION_REGIROCK 21
|
|
|
|
#define B_TRANSITION_KYOGRE 22
|
|
|
|
#define B_TRANSITION_GROUDON 23
|
|
|
|
#define B_TRANSITION_RAYQUAZA 24
|
|
|
|
#define B_TRANSITION_SHRED_SPLIT 25
|
|
|
|
#define B_TRANSITION_BLACKHOLE1 26
|
|
|
|
#define B_TRANSITION_BLACKHOLE2 27
|
|
|
|
#define B_TRANSITION_RECTANGULAR_SPIRAL 28
|
|
|
|
#define B_TRANSITION_FRONTIER_LOGO_WIGGLE 29
|
|
|
|
#define B_TRANSITION_FRONTIER_LOGO_WAVE 30
|
|
|
|
#define B_TRANSITION_FRONTIER_SQUARES 31
|
|
|
|
#define B_TRANSITION_FRONTIER_SQUARES_SCROLL 32
|
|
|
|
#define B_TRANSITION_FRONTIER_SQUARES_SPIRAL 33
|
|
|
|
#define B_TRANSITION_FRONTIER_CIRCLES_MEET 34
|
|
|
|
#define B_TRANSITION_FRONTIER_CIRCLES_CROSS 35
|
|
|
|
#define B_TRANSITION_FRONTIER_CIRCLES_ASYMMETRIC_SPIRAL 36
|
|
|
|
#define B_TRANSITION_FRONTIER_CIRCLES_SYMMETRIC_SPIRAL 37
|
|
|
|
#define B_TRANSITION_FRONTIER_CIRCLES_MEET_IN_SEQ 38
|
|
|
|
#define B_TRANSITION_FRONTIER_CIRCLES_CROSS_IN_SEQ 39
|
|
|
|
#define B_TRANSITION_FRONTIER_CIRCLES_ASYMMETRIC_SPIRAL_IN_SEQ 40
|
|
|
|
#define B_TRANSITION_FRONTIER_CIRCLES_SYMMETRIC_SPIRAL_IN_SEQ 41
|
|
|
|
#define B_TRANSITION_COUNT 42
|
2017-10-03 10:11:13 +00:00
|
|
|
|
|
|
|
#endif // GUARD_BATTLE_TRANSITION_H
|