sovereignx/include/constants/wild_encounter.h

15 lines
365 B
C
Raw Normal View History

#ifndef GUARD_CONSTANTS_WILD_ENCOUNTER_H
#define GUARD_CONSTANTS_WILD_ENCOUNTER_H
#define LAND_WILD_COUNT 12
#define WATER_WILD_COUNT 5
#define ROCK_WILD_COUNT 5
#define FISH_WILD_COUNT 10
#define NUM_ALTERING_CAVE_TABLES 9
#define FISHING_CHAIN_LENGTH_MAX 200
#define FISHING_CHAIN_SHINY_STREAK_MAX 20
Fishing Enhancements (#4343) * Implemented chain fishing * Added configs * I_FISHING_MINIGAME implemented * Refactored Check For Bite * CLeaned up version of metatile checks * Removed debug script * Added helper functinons * Cleaned up CalculateFishingProximityOdds * Added new constatnts for cardinal direction and axis * Updated with constants * Reordered functions * Cleaned up some functions * Moved constants * Created UpdateChainFishingSpeciesAndStreak When 3 sides are blocked, every cast will get a mon * Created DoesFishingMinigameAllowCancel * Removed fishing chain check * Fixed bug where streak was not incremented correctly Fixed bug where Land was not properly counted Fixed bug where streak was always being read as maxed * Updated variable and function names * Updated variable and function names * Moved UpdateChainFishingSpeciesAndStreak to happen before shiny rolls occur * Removed debug statements * Applied feedback from https://github.com/rh-hideout/pokeemerald-expansion/pull/4343\#discussion_r1551278416 * Fixed default item config and changed gChainFishingDexNavStreak and sLastFishingSpecies to only use EWRAM when features are enabled * Update include/config/item.h Include feedback from https://github.com/rh-hideout/pokeemerald-expansion/pull/4343#discussion_r1567145660 Co-authored-by: Bassoonian <iasperbassoonian@gmail.com> * Changed Dexnav to DexNav per https://github.com/rh-hideout/pokeemerald-expansion/pull/4343\#discussion_r1567145660 --------- Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-04-16 21:53:50 +01:00
#endif // GUARD_CONSTANTS_WILD_ENCOUNTER_H