File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,11 @@ lazy_static::lazy_static! {
3535 ) ;
3636}
3737
38- static mut FIGHTER_SELECTED_OFFSET : usize = 0x66d500 ;
38+ // Default 13.0.1 offset
39+ static mut FIGHTER_SELECTED_OFFSET : usize = 0x66e120 ;
3940
4041static FIGHTER_SELECTED_SEARCH_CODE : & [ u8 ] = & [
41- 0xfc , 0xdb , 0x45 , 0x94 ,
42+ 0x04 , 0xdc , 0x45 , 0x94 ,
4243 0xe0 , 0x03 , 0x1c , 0x32 ,
4344 0xe1 , 0x03 , 0x1a , 0x32 ,
4445] ;
@@ -350,7 +351,7 @@ fn search_offsets() {
350351 if let Some ( offset) = find_subsequence ( text, FIGHTER_SELECTED_SEARCH_CODE ) {
351352 FIGHTER_SELECTED_OFFSET = offset;
352353 } else {
353- println ! ( "Error: no offset found for 'css_fighter_selected'. Defaulting to 13.0.0 offset. This likely won't work." ) ;
354+ println ! ( "Error: no offset found for 'css_fighter_selected'. Defaulting to 13.0.1 offset. This likely won't work." ) ;
354355 }
355356 }
356357}
You can’t perform that action at this time.
0 commit comments