2017-10-06 17:06:45 +02:00
|
|
|
#ifndef GUARD_BATTLE_2_H
|
|
|
|
#define GUARD_BATTLE_2_H
|
|
|
|
|
|
|
|
void CB2_InitBattle(void);
|
|
|
|
void BattleMainCB2(void);
|
2017-10-22 18:43:15 +02:00
|
|
|
void CB2_QuitRecordedBattle(void);
|
|
|
|
void sub_8038528(struct Sprite* sprite);
|
|
|
|
void sub_8038A04(void); // unused
|
2017-10-06 17:06:45 +02:00
|
|
|
void VBlankCB_Battle(void);
|
2017-10-22 18:43:15 +02:00
|
|
|
void nullsub_17(void);
|
|
|
|
void sub_8038B74(struct Sprite *sprite);
|
2017-10-21 17:32:35 +02:00
|
|
|
void sub_8038D64(void);
|
2017-10-22 18:43:15 +02:00
|
|
|
u32 sub_80391E0(u8 arrayId, u8 caseId);
|
2017-10-08 14:54:51 +02:00
|
|
|
u32 sub_80397C4(u32 setId, u32 tableId);
|
2017-10-22 18:43:15 +02:00
|
|
|
void oac_poke_opponent(struct Sprite *sprite);
|
|
|
|
void SpriteCallbackDummy_2(struct Sprite *sprite);
|
|
|
|
void sub_8039934(struct Sprite *sprite);
|
2017-10-21 17:32:35 +02:00
|
|
|
void sub_8039AD8(struct Sprite *sprite);
|
2017-10-22 18:43:15 +02:00
|
|
|
void sub_8039B2C(struct Sprite *sprite);
|
|
|
|
void sub_8039B58(struct Sprite *sprite);
|
|
|
|
void sub_8039BB4(struct Sprite *sprite);
|
|
|
|
void sub_80105DC(struct Sprite *sprite);
|
|
|
|
void sub_8039C00(struct Sprite *sprite);
|
|
|
|
void dp11b_obj_instanciate(u8 bank, u8 b, s8 c, s8 d);
|
|
|
|
void dp11b_obj_free(u8 bank, bool8 b);
|
|
|
|
void sub_8039E44(struct Sprite *sprite);
|
|
|
|
void sub_8039E60(struct Sprite *sprite);
|
|
|
|
void sub_8039E84(struct Sprite *sprite);
|
|
|
|
void sub_8039E9C(struct Sprite *sprite);
|
2017-10-13 17:22:50 +02:00
|
|
|
void nullsub_20(void);
|
|
|
|
void BeginBattleIntro(void);
|
2017-10-22 18:43:15 +02:00
|
|
|
void SwitchInClearSetData(void);
|
|
|
|
void FaintClearSetData(void);
|
|
|
|
void sub_803B3AC(void); // unused
|
|
|
|
void sub_803B598(void); // unused
|
|
|
|
void BattleTurnPassed(void);
|
|
|
|
u8 IsRunningFromBattleImpossible(void);
|
|
|
|
void sub_803BDA0(u8 bank);
|
|
|
|
void SwapTurnOrder(u8 id1, u8 id2);
|
|
|
|
u8 GetWhoStrikesFirst(u8 bank1, u8 bank2, bool8 ignoreChosenMoves);
|
|
|
|
void RunBattleScriptCommands_PopCallbacksStack(void);
|
|
|
|
void RunBattleScriptCommands(void);
|
|
|
|
bool8 TryRunFromBattle(u8 bank);
|
2017-10-06 19:09:37 +02:00
|
|
|
|
|
|
|
extern const u8 gStatusConditionString_PoisonJpn[8];
|
|
|
|
extern const u8 gStatusConditionString_SleepJpn[8];
|
|
|
|
extern const u8 gStatusConditionString_ParalysisJpn[8];
|
|
|
|
extern const u8 gStatusConditionString_BurnJpn[8];
|
|
|
|
extern const u8 gStatusConditionString_IceJpn[8];
|
|
|
|
extern const u8 gStatusConditionString_ConfusionJpn[8];
|
|
|
|
extern const u8 gStatusConditionString_LoveJpn[8];
|
|
|
|
|
2017-10-07 19:59:41 +02:00
|
|
|
extern const u8 * const gStatusConditionStringsTable[7][2];
|
2017-10-06 17:06:45 +02:00
|
|
|
|
|
|
|
#endif // GUARD_BATTLE_2_H
|