Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (auraobj && CharObj1Ptrs[0]->Action != 6 && ControllerPointers[0]->HeldButtons & Buttons_Z)
- {
- is_boosting = true;
- }
- else is_boosting = false;
- //On Water, not boosting => invisible aura ****************************************** it crashes
- if (co2->gap5C[0] & 2 && !is_boosting)
- {
- if (!NoBoost_OnWater)
- {
- WriteJump((void*)0x55E6F5, (void*)0x55E78A);
- auraobj = LoadObject(LoadObj_Data1, 2, Sonic_SuperAura_Load);
- NoBoost_OnWater = true;
- }
- }
- else if (NoBoost_OnWater)
- {
- DeleteObject_(auraobj);
- auraobj = nullptr;
- NoBoost_OnWater = false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement