Repository navigation
CodeBreaker 0.7.4 — OHKO compatibility and cheat fixes
Fixes One Hit KO no longer working with 1025Dex. CodeBreaker now applies after replacement damage calculators regardless of load order, while keeping misses, Protect, immunities, failed moves, and non-damaging moves unchanged. Incoming-move Infinite HP uses the same corrected hook order.
Also fixes Gen 3 double-battle HP/PP refills and Burn Foe, plus Quick Daycare Egg in Ruby/Sapphire. Eggs, existing statuses, and already-pending daycare eggs are preserved.
Validation: 6,216 automated assertions across all eleven games in Lua 5.3 and LuaJIT on Gen1Recomp 0.3.95, including native single/double battle damage and the actual 1025Dex 1.5.2 Gen 1/2 damage formula. The supplied 0.7.3 regression reproduces before the fix. Frontier eligibility and 1,025 base species / 364 form selection regressions also pass. Automated fixtures are used; Android device testing and complete playthroughs were not performed.
Install: replace the old CodeBreaker package and restart G1R. Existing settings carry over. The full current source and regression tools are now included in this repository.