-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy pathPokemonSwSh_MaxLairDatabase.h
More file actions
71 lines (52 loc) · 1.47 KB
/
PokemonSwSh_MaxLairDatabase.h
File metadata and controls
71 lines (52 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/* Pokemon Sword/Shield Max Lair Rentals
*
* From: https://github.com/PokemonAutomation/
*
*/
#ifndef PokemonAutomation_PokemonSwSh_MaxLairRentals_H
#define PokemonAutomation_PokemonSwSh_MaxLairRentals_H
#include <string>
#include <set>
#include <map>
#include "Pokemon/Pokemon_Types.h"
namespace PokemonAutomation{
namespace NintendoSwitch{
namespace PokemonSwSh{
namespace MaxLairInternal{
using namespace Pokemon;
// Max Lair slug mappings with respect to name and sprite slugs.
struct MaxLairSlugs{
std::string name_slug;
std::set<std::string> sprite_slugs;
};
const std::map<std::string, MaxLairSlugs>& maxlair_slugs();
const MaxLairSlugs& get_maxlair_slugs(const std::string& slug);
struct MaxLairMove{
std::string slug;
MoveCategory category;
PokemonType type;
uint8_t base_power;
double accuracy;
uint8_t PP;
bool spread;
double correction_factor;
double effective_power;
};
struct MaxLairMon{
std::string species;
PokemonType type[2];
std::string ability;
uint8_t base_stats[6];
MaxLairMove moves[5];
MaxLairMove max_moves[5];
};
const std::map<size_t, std::string>& all_bosses_by_dex();
const std::multimap<size_t, std::string>& all_rentals_by_dex();
bool is_boss(const std::string& slug);
const MaxLairMon& get_maxlair_mon(const std::string& slug);
const MaxLairMon* get_maxlair_mon_nothrow(const std::string& slug);
}
}
}
}
#endif