Skip to content

Commit

Permalink
Adjust SwSh ball reader sprite threshold.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysticial committed Jan 31, 2025
1 parent a60032b commit e239334
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,13 @@ void TestProgram::program(MultiSwitchProgramEnvironment& env, CancellableScope&



ImageRGB32 image("20250131-170450792229.png");

PokemonSwSh::BattleBallReader reader(console, Language::Korean);
reader.read_ball(image);


#if 0
ImageRGB32 image("20250125-232444699636.png");

// TeraSilhouetteReader reader;
Expand All @@ -277,7 +283,7 @@ void TestProgram::program(MultiSwitchProgramEnvironment& env, CancellableScope&
TeraTypeReader reader;
ImageMatch::ImageMatchResult results = reader.read(image);
results.log(logger, 100);

#endif

#if 0
ImageRGB32 image("20250125-224044294692.png");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace NintendoSwitch{
namespace PokemonSwSh{


const double BattleBallReader::MAX_ALPHA = 0.28;
const double BattleBallReader::MAX_ALPHA = 0.29;
const double BattleBallReader::ALPHA_SPREAD = 0.02;


Expand Down

0 comments on commit e239334

Please sign in to comment.