Skip to content

Commit af599d9

Browse files
committed
0.1.2
1 parent 343c196 commit af599d9

File tree

18 files changed

+4485
-264
lines changed

18 files changed

+4485
-264
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/Build
33
*.3gx
44
3gxtool
5-
*.txt
65
*.DS_Store
76
/luma
87
/luma.zip

Includes/Codes.hpp

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace CTRPluginFramework {
88
void UpdateIcon(MenuEntry *entry);
9+
void IgnoreUnclickableIcons(MenuEntry *entry);
910
void UpdateNices(MenuEntry *entry);
1011
void UpdateWishes(MenuEntry *entry);
1112
void UpdateProfileMessage(MenuEntry *entry);
@@ -14,6 +15,12 @@ namespace CTRPluginFramework {
1415
void UpdateMiniSurvey(MenuEntry *entry);
1516
void UpdateGreets(MenuEntry *entry);
1617
void PlayerSearchSystem(MenuEntry *entry);
18+
void ShoutOut(MenuEntry *entry);
19+
void UpdateGauge(MenuEntry *entry);
20+
void Gauge(MenuEntry *entry);
21+
void UnlockEveryOPower(MenuEntry *entry);
22+
void UpdateUsers(MenuEntry *entry);
23+
void ClearUsersList(MenuEntry *entry);
1724

1825
vector<string> GetBattleParty(vector<string> party);
1926
void PartyPosition(MenuEntry *entry);
@@ -26,29 +33,46 @@ namespace CTRPluginFramework {
2633
void Moves(MenuEntry *entry);
2734
void ExpMultiplier(MenuEntry *entry);
2835
void UpdateExpMultiplier(MenuEntry *entry);
36+
void AccessBag(MenuEntry *entry);
2937
void AllowMultipleMegas(MenuEntry *entry);
3038
bool IsValid(u32 pointer, PK6 *pkmn);
3139
bool ViewInfoCallback(const Screen &screen);
3240
void TogglePokemonInfo(MenuEntry *entry);
3341
void ViewPokemonInfo(MenuEntry *entry);
42+
void RespawnLegendary(MenuEntry *entry);
3443
void NoWildPokemon(MenuEntry *entry);
3544
void UpdateWildSpawner(MenuEntry *entry);
3645
void WildSpawner(MenuEntry *entry);
3746
void AlwaysShiny(MenuEntry *entry);
47+
void DisableShinyLock(MenuEntry *entry);
3848
void CaptureRate(MenuEntry *entry);
3949
void CatchTrainerPokemon(MenuEntry *entry);
50+
void ApplyBattleMusic(MenuEntry *entry);
51+
void SetBattleMusic(MenuEntry *entry);
4052

53+
void SetModelSwap(void);
54+
void ModelSwap(MenuEntry *entry);
4155
void FastWalkRun(MenuEntry *entry);
4256
void WalkThroughWalls(MenuEntry *entry);
4357
void StayInAction(MenuEntry *entry);
58+
void ActionMusic(MenuEntry *entry);
59+
void ApplyMusic(MenuEntry *entry);
60+
void Teleportation(MenuEntry *entry);
61+
void FlyMapInSummary(MenuEntry *entry);
4462
void UnlockFullFlyMap(MenuEntry *entry);
4563
void RenameAnyPokemon(MenuEntry *entry);
4664
void LearnAnyTeachable(MenuEntry *entry);
4765
void InstantEgg(MenuEntry *entry);
4866
void InstantEggHatch(MenuEntry *entry);
4967
void ViewValuesInSummary(MenuEntry *entry);
68+
void GetWeather(MenuEntry *entry);
69+
void Weather(MenuEntry *entry);
5070
void NoOutlines(MenuEntry *entry);
5171
void FastDialogs(MenuEntry *entry);
72+
void BypassTextRestrictions(MenuEntry *entry);
73+
void CustomKeyboardConfig(MenuEntry *entry);
74+
void CustomKeys(MenuEntry *entry);
75+
void PatchColorCrash(MenuEntry *entry);
5276
}
5377

5478
#endif

Includes/Helpers.hpp

Lines changed: 412 additions & 0 deletions
Large diffs are not rendered by default.

Includes/PKHeX.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
void UnlockTMsAndHMs(MenuEntry *entry);
2525
void UnlockKeyItems(MenuEntry *entry);
2626
void KeyItems(MenuEntry *entry);
27+
void UnlockFullDex(MenuEntry *entry);
2728

2829
struct PK6 {
2930
u32 encryptionConstant;
@@ -168,6 +169,10 @@
168169
}
169170

170171
void ExportImport(MenuEntry *entry);
172+
void Cloning(MenuEntry *entry);
173+
void CopyPokemonInTrade(MenuEntry *entry);
174+
void SetKeepOriginalPokemon(MenuEntry *entry);
175+
void KeepOriginalPokemon(MenuEntry *entry);
171176
void PCAnywhere(MenuEntry *entry);
172177
void BoxesUnlocked(MenuEntry *entry);
173178
}

Includes/Parser.hpp

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
#ifndef PARSER_HPP
2+
#define PARSER_HPP
3+
4+
/*
5+
All credit for those functions goes to PabloMK7
6+
*/
7+
8+
#pragma once
9+
10+
#include <CTRPluginFramework.hpp>
11+
#include <functional>
12+
#include <map>
13+
#include <string>
14+
#include <tuple>
15+
#include <vector>
16+
17+
#define PATH_LANGUAGE_SETTINGS "E:/Gen6CTRPluginFramework/Language/Settings.txt"
18+
#define PATH_ENGLISH_TEXT "E:/Gen6CTRPluginFramework/Language/English.txt"
19+
#define PATH_FRENCH_TEXT "E:/Gen6CTRPluginFramework/Language/French.txt"
20+
#define PATH_ITALIAN_TEXT "E:/Gen6CTRPluginFramework/Language/Italian.txt"
21+
#define PATH_SPANISH_TEXT "E:/Gen6CTRPluginFramework/Language/Spanish.txt"
22+
#define PATH_GERMAN_TEXT "E:/Gen6CTRPluginFramework/Language/German.txt"
23+
#define PATH_JAPANESE_TEXT "E:/Gen6CTRPluginFramework/Language/Japanese.txt"
24+
#define GITHUB "github.com/biometrix76/Gen6CTRPluginFramework"
25+
26+
namespace CTRPluginFramework {
27+
class TextFileParser {
28+
public:
29+
using TextMap = map<string, vector<string>>;
30+
using TextMapIter = TextMap::iterator;
31+
using TextMapConstIter = TextMap::const_iterator;
32+
33+
TextFileParser();
34+
bool Parse(string filename);
35+
const string &Get(const string &key, u32 element = 0);
36+
TextMapIter begin();
37+
TextMapIter end();
38+
TextMapConstIter cbegin();
39+
TextMapConstIter cend();
40+
TextMapConstIter erase(TextMapIter first, TextMapIter last);
41+
42+
~TextFileParser();
43+
static bool IsNumerical(const string &str, bool isHex);
44+
45+
private:
46+
TextMap dataMap;
47+
vector<string> vecData;
48+
const vector<string> &_FindKey(const string &key);
49+
};
50+
51+
string &Trim(string &str);
52+
extern TextFileParser *getLanguage;
53+
54+
enum f_Language {
55+
l_None = 0, // If no language was chosen yet
56+
l_English,
57+
l_French,
58+
l_Italian,
59+
l_Spanish,
60+
l_German,
61+
l_Japanese,
62+
l_Undefined
63+
};
64+
}
65+
66+
#endif

0 commit comments

Comments
 (0)