Skip to content

Commit cc9d61b

Browse files
committed
Language is not needed.
1 parent 72ec523 commit cc9d61b

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

SerialPrograms/Source/PokemonLZA/Programs/Trading/PokemonLZA_SelfBoxTrade.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ std::unique_ptr<StatsTracker> SelfBoxTrade_Descriptor::make_stats() const{
4141

4242

4343
SelfBoxTrade::SelfBoxTrade()
44+
#if 0
4445
: LANGUAGE_LEFT(
4546
"<b>Game Language of Left Switch:</b>",
4647
Pokemon::PokemonNameReader::instance().languages(),
@@ -52,8 +53,8 @@ SelfBoxTrade::SelfBoxTrade()
5253
Pokemon::PokemonNameReader::instance().languages(),
5354
LockMode::LOCK_WHILE_RUNNING,
5455
true
55-
)
56-
, BOXES_TO_TRADE(
56+
#endif
57+
: BOXES_TO_TRADE(
5758
"<b>Number of Boxes to Trade:</b>",
5859
LockMode::UNLOCK_WHILE_RUNNING,
5960
2, 0, 32
@@ -81,8 +82,8 @@ SelfBoxTrade::SelfBoxTrade()
8182
&NOTIFICATION_ERROR_FATAL,
8283
})
8384
{
84-
PA_ADD_OPTION(LANGUAGE_LEFT);
85-
PA_ADD_OPTION(LANGUAGE_RIGHT);
85+
// PA_ADD_OPTION(LANGUAGE_LEFT);
86+
// PA_ADD_OPTION(LANGUAGE_RIGHT);
8687
PA_ADD_OPTION(BOXES_TO_TRADE);
8788
PA_ADD_OPTION(START_ROW);
8889
PA_ADD_OPTION(START_COL);

SerialPrograms/Source/PokemonLZA/Programs/Trading/PokemonLZA_SelfBoxTrade.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
#ifndef PokemonAutomation_PokemonLZA_SelfBoxTrade_H
88
#define PokemonAutomation_PokemonLZA_SelfBoxTrade_H
99

10-
#include "Common/Cpp/Options/BooleanCheckBoxOption.h"
10+
//#include "Common/Cpp/Options/BooleanCheckBoxOption.h"
1111
#include "Common/Cpp/Options/SimpleIntegerOption.h"
1212
#include "CommonFramework/Notifications/EventNotificationsTable.h"
13-
#include "CommonTools/Options/LanguageOCROption.h"
13+
//#include "CommonTools/Options/LanguageOCROption.h"
1414
#include "NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h"
1515

1616
namespace PokemonAutomation{
@@ -45,8 +45,8 @@ class SelfBoxTrade : public MultiSwitchProgramInstance{
4545
);
4646

4747
private:
48-
OCR::LanguageOCROption LANGUAGE_LEFT;
49-
OCR::LanguageOCROption LANGUAGE_RIGHT;
48+
// OCR::LanguageOCROption LANGUAGE_LEFT;
49+
// OCR::LanguageOCROption LANGUAGE_RIGHT;
5050

5151
SimpleIntegerOption<uint8_t> BOXES_TO_TRADE;
5252

0 commit comments

Comments
 (0)