Help:Patching the motorcycle area checks: Difference between revisions

no edit summary
imported>Leoetlino
imported>Leoetlino
No edit summary
Line 26: Line 26:
* 🚫 GerudoDesertClimateLv2
* 🚫 GerudoDesertClimateLv2


''Note: the addresses in this article are only valid for Switch 1.5.0. Other versions (on Switch or Wii U) can be patched in a similar way, though. On Wii U, there are fewer occurrences of the check because the compiler is not as good as GCC/clang at optimisations.''
''Note: the addresses in this article are only valid for Switch 1.5.0. Other versions (on Switch or Wii U) can be patched in a similar way, though.''
 
== Patching ==
* On Switch, read the rest of the article to understand what to patch.
* On Wii U, the checks are implemented in the exact same way (which makes sense since it's the same codebase), but only a single instruction has to be patched because the Wii U compiler is not quite as good at inlining functions. Simply patch the instruction at <code>0x02A32A30</code> to <code>li r3, 1</code>.


== Disappearing when entering a blacklisted climate ==
== Disappearing when entering a blacklisted climate ==
Anonymous user