pret / pokeemerald

Decompilation of Pokémon Emerald
2.2k stars 2.36k forks source link

Simplify weirdly matching division/substraction code #1982

Closed DizzyEggg closed 5 months ago

DizzyEggg commented 6 months ago

There were some cases, where instead of a simple division by 8, the code was needlessly confusing to match compiler generated code.