To hack the gravity you need to use
this script. Record all the frames prior to the gravity switch, change the gravity via notepad, edit the replay when the gravity switches
You might also find
the second script useful, also made by NutHug. Makes hacking super easy in general.