From 1b26744dfee64e298adac8227009ef1fbf12eefd Mon Sep 17 00:00:00 2001 From: theAstrogoth Date: Fri, 30 Oct 2026 15:51:31 -0500 Subject: [PATCH] FRLG Magikarp RNG: add button press for the Japanese version --- .../RngManipulation/PokemonFRLG_BlindNavigation.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_BlindNavigation.cpp b/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_BlindNavigation.cpp index cf7315312d..b49b837766 100644 --- a/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_BlindNavigation.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_BlindNavigation.cpp @@ -61,6 +61,9 @@ static uint64_t magikarp_fixed_duration(Language language){ if (language == Language::French){ duration -= 1500; } + if (language == Language::Japanese){ + duration += 1500; + } return duration; } @@ -184,6 +187,9 @@ void collect_magikarp_after_delay(ProControllerContext& context, uint64_t ingame if (language != Language::French){ pbf_press_button(context, BUTTON_A, 200ms, 1300ms); } + if (language == Language::Japanese){ + pbf_press_button(context, BUTTON_A, 200ms, 1300ms); + } pbf_press_button(context, BUTTON_A, 200ms, std::chrono::milliseconds(ingame_delay - magikarp_fixed_duration(language))); // Finish dialogue (hits the target advance) pbf_press_button(context, BUTTON_A, 200ms, 3800ms);