493478e94b
* Original implementation from Phlayne
* Moved Sky Battle Flag / Var into a config
* Optimized existing code and fixed existing bugs
Added error message for when sky battle var and flag are not set
Merged CanDoSkyBattle and PrepareSkyBattle into one special
* Added compatibility for Gen7+
* Commented out Volt Crash from banned moves
* Cleaned up debug scripts from testing
* Fixed bug where player did not white out even if they had no healthy Pokémon and only an egg
Zeroed out both Sky Battle configs
* Removed extra include from src/field_specials.c
Removed extra line break in src/battle_script_commands.c
* Added FLAG_DISABLED_IN_SKY_BATTLE
Added FLAG_DISABLED_IN_SKY_BATTLE to appropriate moves
* Changed DoesSkyBattleCancelCurrentMove to look at move flags
* Fixed alignment and spacing in battle_moves.h
* Added FLAG_DISABLED_IN_SKY_BATTLE to Sticky Web
* Added FLAG_DISABLED_IN_SKY_BATTLE to Steel Roller
* Disabled the ability to change Battle Terrain when Sky Battle is happening
Stopped Ceaseless Edge from spawning Spikes when Sky Battle is happening
Added B_SKY_BATTLE_STRICT_MECHANICS config
* Fixed bug with SKY_BATTLE_STRICT_MECHANICS where conditions were not consistently being applied
* Add rulesVariants to the BattleStruct
Added skyBattle check in AllocateBattleResources
* Replaced B_FLAG_SKY_BATTLE checks with rulesVariants.skyBattle checks
* Fixed debug script
* Reverted include/config/battle.h
* Fixed spacing and placement of functions
* Fixed debug script omission
Fixed bug where Spikes did not set from Ceaseless Edge and Stone Axe
* Added FLAG_DISABLED_IN_SKY_BATTLE to Psychic Terrain
* Addressed DizzyEgg PR feedback
* Forgot a file in last commit
* Addressed feedback from DizzyEggg
* Address Lunos' PR feedback
* Update specials.inc
Added an empty line at the end of data/specials.inc
* Fixed spacing
* Apply suggestions from code review
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
* Updated skyBattleBanned and HandleBattleVariantEndParty to use correct names
* Removed STRICT_MOVES and STRICT_MECHANICS
* Fixed minor spacing issues with merge
* Merged in upcoming
* Implemented feedback from Jasper
5da6117d1b
---------
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
#ifndef GUARD_FIELD_SPECIALS_H
|
|
#define GUARD_FIELD_SPECIALS_H
|
|
|
|
extern bool8 gBikeCyclingChallenge;
|
|
extern u8 gBikeCollisions;
|
|
|
|
u8 GetLeadMonIndex(void);
|
|
u8 IsDestinationBoxFull(void);
|
|
u16 GetPCBoxToSendMon(void);
|
|
bool8 InMultiPartnerRoom(void);
|
|
void UpdateTrainerFansAfterLinkBattle(void);
|
|
void IncrementBirthIslandRockStepCount(void);
|
|
bool8 AbnormalWeatherHasExpired(void);
|
|
bool8 ShouldDoBrailleRegicePuzzle(void);
|
|
bool32 ShouldDoWallyCall(void);
|
|
bool32 ShouldDoScottFortreeCall(void);
|
|
bool32 ShouldDoScottBattleFrontierCall(void);
|
|
bool32 ShouldDoRoxanneCall(void);
|
|
bool32 ShouldDoRivalRayquazaCall(void);
|
|
bool32 CountSSTidalStep(u16 delta);
|
|
u8 GetSSTidalLocation(s8 *mapGroup, s8 *mapNum, s16 *x, s16 *y);
|
|
void ShowScrollableMultichoice(void);
|
|
void FrontierGamblerSetWonOrLost(bool8 won);
|
|
u8 TryGainNewFanFromCounter(u8 incrementId);
|
|
bool8 InPokemonCenter(void);
|
|
void SetShoalItemFlag(u16 unused);
|
|
void UpdateFrontierManiac(u16 daysSince);
|
|
void UpdateFrontierGambler(u16 daysSince);
|
|
void ResetCyclingRoadChallengeData(void);
|
|
bool8 UsedPokemonCenterWarp(void);
|
|
void ResetFanClub(void);
|
|
bool8 ShouldShowBoxWasFullMessage(void);
|
|
void SetPCBoxToSendMon(u8 boxId);
|
|
void PreparePartyForSkyBattle(void);
|
|
|
|
#endif // GUARD_FIELD_SPECIALS_H
|