mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-13 12:26:05 -05:00
allow saving new encounter groups to maps
This commit is contained in:
@@ -12,7 +12,7 @@ struct WildPokemon {
|
||||
struct WildMonInfo {
|
||||
//
|
||||
bool active = false;
|
||||
int encounterRate;
|
||||
int encounterRate = 0;
|
||||
QVector<WildPokemon> wildPokemon;
|
||||
};
|
||||
|
||||
|
||||
@@ -89,6 +89,7 @@ public:
|
||||
void readWildMonData();
|
||||
QMap<QString, QMap<QString, WildPokemonHeader>> wildMonData;// "MAP_CONSTANT": {base_label: wild_encounter_json
|
||||
QMap<QString, QString> encounterMapToBaseLabel;// delete this?
|
||||
QVector<QString> encounterGroupLabels;
|
||||
// when saving, preserve the extra fields for gBattlePyramidWildMonHeaders, gBattlePikeWildMonHeaders
|
||||
void readSpeciesIconPaths();
|
||||
QMap<QString, QString> speciesToIconPath;
|
||||
|
||||
Reference in New Issue
Block a user