2017-10-03 12:11:13 +02:00
|
|
|
#ifndef GUARD_BATTLE_TRANSITION_H
|
|
|
|
#define GUARD_BATTLE_TRANSITION_H
|
|
|
|
|
2018-01-01 17:41:34 +01:00
|
|
|
void TestBattleTransition(u8 transitionId);
|
2018-01-14 22:09:35 +01:00
|
|
|
void BattleTransition_StartOnField(u8 transitionId);
|
|
|
|
void BattleTransition_Start(u8 transitionId);
|
2017-11-28 23:02:09 +01:00
|
|
|
bool8 IsBattleTransitionDone(void);
|
2018-01-14 22:09:35 +01:00
|
|
|
bool8 FldEff_Pokeball(void);
|
|
|
|
void TransitionPhase1_Task_RunFuncs(u8 taskId);
|
2020-06-02 17:28:47 +02:00
|
|
|
void GetBg0TilesDst(u16 **tilemap, u16 **tileset);
|
2018-01-14 22:09:35 +01:00
|
|
|
|
|
|
|
extern const struct SpritePalette gFieldEffectObjectPaletteInfo10;
|
2017-11-28 23:02:09 +01:00
|
|
|
|
2018-01-02 20:38:33 +01:00
|
|
|
enum // TRANSITION_MUGSHOT
|
|
|
|
{
|
2019-04-16 16:40:32 +02:00
|
|
|
MUGSHOT_SIDNEY,
|
2018-01-02 20:38:33 +01:00
|
|
|
MUGSHOT_PHOEBE,
|
|
|
|
MUGSHOT_GLACIA,
|
|
|
|
MUGSHOT_DRAKE,
|
|
|
|
MUGSHOT_CHAMPION,
|
|
|
|
MUGSHOTS_COUNT
|
|
|
|
};
|
|
|
|
|
2018-01-13 21:03:07 +01:00
|
|
|
// credits for the names go to Dyskinesia, Tetrable and Farore
|
2017-11-28 23:02:09 +01:00
|
|
|
// names are naturally subject to change
|
|
|
|
|
|
|
|
#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
|
2019-04-16 16:40:32 +02:00
|
|
|
#define B_TRANSITION_SIDNEY 12
|
2017-11-28 23:02:09 +01:00
|
|
|
#define B_TRANSITION_PHOEBE 13
|
|
|
|
#define B_TRANSITION_GLACIA 14
|
|
|
|
#define B_TRANSITION_DRAKE 15
|
2017-12-01 21:25:13 +01:00
|
|
|
#define B_TRANSITION_CHAMPION 16
|
2017-11-28 23:02:09 +01:00
|
|
|
// added in Emerald
|
|
|
|
#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
|
2017-12-16 01:15:19 +01:00
|
|
|
#define B_TRANSITION_KYOGRE 22
|
2017-11-28 23:02:09 +01:00
|
|
|
#define B_TRANSITION_GROUDON 23
|
|
|
|
#define B_TRANSITION_RAYQUAZA 24
|
2018-01-14 20:45:44 +01:00
|
|
|
#define B_TRANSITION_SHRED_SPLIT 25
|
2018-01-13 21:03:07 +01:00
|
|
|
#define B_TRANSITION_BLACKHOLE1 26
|
|
|
|
#define B_TRANSITION_BLACKHOLE2 27
|
|
|
|
#define B_TRANSITION_RECTANGULAR_SPIRAL 28
|
2017-12-01 21:25:13 +01:00
|
|
|
#define B_TRANSITION_29 29
|
|
|
|
#define B_TRANSITION_30 30
|
|
|
|
#define B_TRANSITION_31 31
|
|
|
|
#define B_TRANSITION_32 32
|
|
|
|
#define B_TRANSITION_33 33
|
|
|
|
#define B_TRANSITION_34 34
|
|
|
|
#define B_TRANSITION_35 35
|
|
|
|
#define B_TRANSITION_36 36
|
|
|
|
#define B_TRANSITION_37 37
|
|
|
|
#define B_TRANSITION_38 38
|
|
|
|
#define B_TRANSITION_39 39
|
|
|
|
#define B_TRANSITION_40 40
|
|
|
|
#define B_TRANSITION_41 41
|
2018-01-01 17:41:34 +01:00
|
|
|
#define B_TRANSITION_COUNT 42
|
2017-10-03 12:11:13 +02:00
|
|
|
|
|
|
|
#endif // GUARD_BATTLE_TRANSITION_H
|