diff --git a/system/client-functions/BugFixes/BugFixes.3___.patch.s b/system/client-functions/BugFixes/BugFixes.3___.patch.s index f674c987..62747066 100644 --- a/system/client-functions/BugFixes/BugFixes.3___.patch.s +++ b/system/client-functions/BugFixes/BugFixes.3___.patch.s @@ -878,8 +878,7 @@ g12_hook_end: - # Tsumikiri J-Sword special attack + rapid weapon switch bug fix (this part - # by fuzziqersoftware) + # Tsumikiri J-Sword special attack + rapid weapon switch bug fix (this part by fuzziqersoftware) .label tjs_switch_fix_hook_call, .label tjs_switch_fix_hook_loc, 0x8000B050 @@ -904,5 +903,34 @@ tjs_switch_fix_hook_end: + # Battle param reload bug fix (this part by fuzziqersoftware) + + .only_versions 3OJ2 3OE0 3OE1 + .label end_loading_screen, + .label load_battle_params, + .label bp_reload_hook_loc, 0x8000E1BC + .label bp_reload_hook_call, + .data bp_reload_hook_loc + .deltaof bp_reload_hook_start, bp_reload_hook_end + .address bp_reload_hook_loc +bp_reload_hook_start: + mflr r0 + stwu [r1 - 0x20], r1 + stw [r1 + 0x24], r0 + bl end_loading_screen + bl load_battle_params + lwz r0, [r1 + 0x24] + addi r1, r1, 0x20 + mtlr r0 + blr +bp_reload_hook_end: + .data bp_reload_hook_call + .data 4 + .address bp_reload_hook_call + bl bp_reload_hook_start + .all_versions + + + .data 0 .data 0 diff --git a/system/client-functions/notes.txt b/system/client-functions/notes.txt index 3e55c1e8..b3c0cf4a 100644 --- a/system/client-functions/notes.txt +++ b/system/client-functions/notes.txt @@ -27,6 +27,7 @@ Used regions in PSO GC: 8000D980-8000D994 (0014) BugFixes 8000D9A0-8000D9B8 (0018) BugFixes 8000DFA0-8000DFE0 (0040) DrawDistance +8000E1BC-8000E1E0 (0024) BugFixes 8000E1E0-8000E1FC (001C) BugFixes Used regions in PSO XB (40EU):