Skip to content

Commit

Permalink
Backport dawn intro outfit fix from move-handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltContainer committed Jan 18, 2024
1 parent c78456d commit 5c3ce11
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/mod/features/gender_neutral_boutique.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ void exl_gender_neutral_boutique_main() {
// Remove bike outfit override for battles on cycling road
using namespace exl::armv8::inst;
using namespace exl::armv8::reg;
exl::patch::CodePatcher p(0x0202f120);
p.WriteInst(Movz(X0, 0));
exl::patch::CodePatcher p(0);
auto inst = nn::vector<exl::patch::Instruction> {
{ 0x0202f120, Movz(X0, 0) }, // Remove bike outfit override for battles on cycling road
{ 0x02cf3d38, Movz(W21, 1) }, // Reindex Dawn default outfit for intro
};
p.WriteInst(inst);
};

0 comments on commit 5c3ce11

Please sign in to comment.