@@ -684,39 +684,39 @@ void initAddressOverwrites()
684
684
void *FallThroughMostObjectsBowserAddress = reinterpret_cast <void *>(0x8021DD9C );
685
685
#endif
686
686
687
- patch::writeBranchLR (AllowRunningFromBattlesAddress, reinterpret_cast <void *>(StartAllowRunningFromBattles));
687
+ patch::writeBranchBL (AllowRunningFromBattlesAddress, reinterpret_cast <void *>(StartAllowRunningFromBattles));
688
688
689
- patch::writeBranchLR (ForceNPCItemDropAddress, reinterpret_cast <void *>(StartForceNPCItemDrop));
689
+ patch::writeBranchBL (ForceNPCItemDropAddress, reinterpret_cast <void *>(StartForceNPCItemDrop));
690
690
691
- patch::writeBranchLR (ReplaceJumpAnimAddress, reinterpret_cast <void *>(StartReplaceJumpFallAnim));
691
+ patch::writeBranchBL (ReplaceJumpAnimAddress, reinterpret_cast <void *>(StartReplaceJumpFallAnim));
692
692
693
- patch::writeBranchLR (DisplayBattleMenuJumpAddress, reinterpret_cast <void *>(StartDisplayMegaJumpBadgeBattleMenu));
693
+ patch::writeBranchBL (DisplayBattleMenuJumpAddress, reinterpret_cast <void *>(StartDisplayMegaJumpBadgeBattleMenu));
694
694
695
- patch::writeBranchLR (DisplayBattleMenuHammerAddress, reinterpret_cast <void *>(StartDisplayMegaHammerBadgesBattleMenu));
695
+ patch::writeBranchBL (DisplayBattleMenuHammerAddress, reinterpret_cast <void *>(StartDisplayMegaHammerBadgesBattleMenu));
696
696
697
- patch::writeBranchLR (FixBlooperCrash1Address, reinterpret_cast <void *>(StartFixBlooperCrash1));
697
+ patch::writeBranchBL (FixBlooperCrash1Address, reinterpret_cast <void *>(StartFixBlooperCrash1));
698
698
699
- patch::writeBranchLR (FixBlooperCrash2Address, reinterpret_cast <void *>(StartFixBlooperCrash2));
699
+ patch::writeBranchBL (FixBlooperCrash2Address, reinterpret_cast <void *>(StartFixBlooperCrash2));
700
700
701
- patch::writeBranchLR (PreventTextboxSelectionAddress, reinterpret_cast <void *>(StartPreventTextboxSelection));
701
+ patch::writeBranchBL (PreventTextboxSelectionAddress, reinterpret_cast <void *>(StartPreventTextboxSelection));
702
702
703
- patch::writeBranchLR (FixRoomProblemsAddress, reinterpret_cast <void *>(fixRoomProblems));
703
+ patch::writeBranchBL (FixRoomProblemsAddress, reinterpret_cast <void *>(fixRoomProblems));
704
704
705
- patch::writeBranchLR (DisableDPadOptionsDisplayAddress, reinterpret_cast <void *>(StartDisableDPadOptionsDisplay));
705
+ patch::writeBranchBL (DisableDPadOptionsDisplayAddress, reinterpret_cast <void *>(StartDisableDPadOptionsDisplay));
706
706
707
- patch::writeBranchLR (FixEvtMapBlendSetFlagPartnerCrashAddress, reinterpret_cast <void *>(StartFixEvtMapBlendSetFlagPartnerCrash));
707
+ patch::writeBranchBL (FixEvtMapBlendSetFlagPartnerCrashAddress, reinterpret_cast <void *>(StartFixEvtMapBlendSetFlagPartnerCrash));
708
708
709
- patch::writeBranchLR (FixEvtMapBlendSetFlagFollowerCrashAddress, reinterpret_cast <void *>(StartFixEvtMapBlendSetFlagFollowerCrash));
709
+ patch::writeBranchBL (FixEvtMapBlendSetFlagFollowerCrashAddress, reinterpret_cast <void *>(StartFixEvtMapBlendSetFlagFollowerCrash));
710
710
711
- patch::writeBranchLR (PreventPouchInitMemoryLeakAddress, reinterpret_cast <void *>(preventPouchInitMemoryLeak));
711
+ patch::writeBranchBL (PreventPouchInitMemoryLeakAddress, reinterpret_cast <void *>(preventPouchInitMemoryLeak));
712
712
713
- patch::writeBranchLR (InitStageEventsAddress, reinterpret_cast <void *>(initStageEvents));
713
+ patch::writeBranchBL (InitStageEventsAddress, reinterpret_cast <void *>(initStageEvents));
714
714
715
- patch::writeBranchLR (FallThroughMostObjectsStandAddress, reinterpret_cast <void *>(StartFallThroughMostObjectsStandard));
715
+ patch::writeBranchBL (FallThroughMostObjectsStandAddress, reinterpret_cast <void *>(StartFallThroughMostObjectsStandard));
716
716
717
- patch::writeBranchLR (FallThroughMostObjectsTubeAddress, reinterpret_cast <void *>(StartFallThroughMostObjectsStandard));
717
+ patch::writeBranchBL (FallThroughMostObjectsTubeAddress, reinterpret_cast <void *>(StartFallThroughMostObjectsStandard));
718
718
719
- patch::writeBranchLR (FallThroughMostObjectsBowserAddress, reinterpret_cast <void *>(StartFallThroughMostObjectsBowser));
719
+ patch::writeBranchBL (FallThroughMostObjectsBowserAddress, reinterpret_cast <void *>(StartFallThroughMostObjectsBowser));
720
720
721
721
*reinterpret_cast <uint32_t *>(DebugModeInitialzeAddress) = 0x3800FFFF ; // li r0,-1
722
722
*reinterpret_cast <uint32_t *>(DebugModeShowBuildDateAddress) = 0x60000000 ; // nop
0 commit comments