Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- state("GettingUp", "jazz")
- {
- int Loading : "GettingUp.exe", 0x6874EC;
- string30 LevelFirst : "GettingUp.exe", 0x263E28;
- string30 LevelSecond : "GettingUp.exe", 0x263E37;
- string15 Cutscene : "GettingUp.exe", 0x26B543;
- }
- state("GettingUp", "robotic")
- {
- int Loading : "GettingUp.exe", 0x6874EC;
- string30 LevelFirst : "GettingUp.exe", 0x263E40;
- string30 LevelSecond : "GettingUp.exe", 0x263E4F;
- string15 Cutscene : "GettingUp.exe", 0x26B55B;
- }
- init
- {
- if (modules.First().ModuleMemorySize == 0x79A726)
- version = "jazz";
- else if (modules.First().ModuleMemorySize == 0x79B000)
- version = "robotic";
- }
- start
- {
- //return (old.Level == "M00_CIV_Intro_1" && current.Level == "M01_HOO_Tranes_Hood_1" && current.Loading != 0);
- return (current.LevelFirst.Equals("M01_HOO_Tranes_Hood_1") && current.Loading != 0 && old.Loading == 0 || current.LevelSecond.Equals("M01_HOO_Tranes_Hood_1") && current.Loading != 0 && old.Loading == 00);
- }
- split
- {
- Func<string,string,bool> eq = (a,b) => a.Equals(b, StringComparison.OrdinalIgnoreCase);
- string menu = "m_rhapsody_shell";
- var skips = new string[]
- {
- "M05_HOO_Battle_3", // Amusement Pier
- "m06_ind_bulletproof_1", // New Radius Freeway
- "m10_civ_bridge_2" // Bridge Docking Station
- };
- var levels = new string[]
- {
- "M01_HOO_Tranes_Hood_1", // Grandma Celia's
- "M01_HOO_Tranes_Hood_1a", // Trane's Hood
- "M01_HOO_Tranes_Hood_2", // The Pool Yard
- "M01_HOO_Tranes_Hood_3", // Storefront Row
- "M01_HOO_Tranes_Hood_4", // Abandoned Art School
- "M02_HOO_Subway_1a", // The Subway Tunnels
- "M02_HOO_Subway_1b", // The LayUp
- "m02_hoo_subway_2", // Subway Ride
- "m02_hoo_subway_3", // Dip's Hideout
- "m03_hoo_whos_got_beef_1", // Gabe's Hood
- "m03_hoo_whos_got_beef_2", // Meat Packing Plant
- "m03_hoo_whos_got_beef_3", // VaNR Chill Space
- "m03_hoo_whos_got_beef_4", // Gabe's Hideout
- "M04_HOO_Subway_layup_1a", // Yard Entrance
- "M04_HOO_Subway_layup_1b", // Interior Ghost Yard
- "M04_HOO_Subway_layup_2", // Lights Out
- "M05_HOO_Battle_1", // New Radius Tunnel
- "m06_ind_bulletproof_2", // Tramnet Safecars Tower
- "M06_IND_Bulletproof_3", // Going For A Tram Ride
- "M07_HOO_Blind_Justice_1", // Exterior CCK HQ
- "M07_HOO_Blind_Justice_2", // Interior CCK HQ
- "M07_HOO_Blind_Justice_3", // Hunt's Helipad
- "m08_hoo_remember_alamo_1", // SFC Hideout
- "m08_hoo_remember_alamo_2", // School Rooftop
- "M09_CIV_Cat_and_Mouse_1a", // Port Authority
- "M09_CIV_Cat_and_Mouse_1b", // Lumen Square Station
- "m09_civ_cat_and_mouse_2", // Subway Platform
- "m10_civ_bridge_1", // New Radius Bridge
- "M11_CIV_Blimp_1" // NNR News Blimp
- };
- if(levels.Any((level) => eq(old.LevelFirst,level) && eq(current.LevelSecond, ":" + level) || eq(old.LevelSecond,level) && eq(current.LevelSecond, ":" + level)))
- return true;
- else if(skips.Any((skip) => eq(old.LevelFirst,skip) && eq(current.LevelFirst,menu) || eq(old.LevelSecond,skip) && eq(current.LevelSecond,menu)))
- return true;
- else return false;
- // NOT SURE IF IT WORKS
- //if (old.LevelSecond.Equals("M11_CIV_Blimp_2", StringComparison.OrdinalIgnoreCase) && current.LevelSecond.Equals(":M11_CIV_Blimp_2", StringComparison.OrdinalIgnoreCase) || old.LevelFirst.Equals("M01_HOO_Tranes_Hood_1", StringComparison.OrdinalIgnoreCase) && current.LevelSecond.Equals(":M01_HOO_Tranes_Hood_1", StringComparison.OrdinalIgnoreCase))
- // return true;
- // Final split
- if (current.Cutscene.Contains("M11_010") && current.Cutscene != old.Cutscene)
- return true;
- }
- isLoading
- {
- return (current.Loading == 0);
- }
- exit
- {
- timer.IsGameTimePaused = false;
- }
Advertisement
Advertisement
Advertisement
RAW Paste Data
Copied
Advertisement