Advertisement
Benji23245

Untitled

Jun 10th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. //HangTime modified to fit with Heroes mod
  2. PhysicsArray[Characters_Sonic].HangTime = 60000;
  3.  
  4.  
  5.  
  6. //HangTime like Heroes
  7. if (CharObj1Ptrs[0]->Action == 8)
  8. {
  9. if (ControllerPointers[0]->HeldButtons & Buttons_A)
  10. {
  11. if (++HangTimeLikeHeroes == 60 || EnemyBonus - OldEnemyBonus > 0 || co2->AnimationThing.Index == 40 || co2->AnimationThing.Index == 42)
  12. {
  13. WriteData((void*)0x43BFCB, 0x90, 6);
  14. }
  15. else if ((co1->Status & Status_Ground) == Status_Ground || co2->AnimationThing.Index == 0 || co2->AnimationThing.Index == 1 || co2->AnimationThing.Index == 2 || co2->AnimationThing.Index == 9 || co2->AnimationThing.Index == 10 || co2->AnimationThing.Index == 11 || co2->AnimationThing.Index == 12 || co2->AnimationThing.Index == 13 || co2->AnimationThing.Index == 31)
  16. {
  17. WriteData((void*)0x43BFCB, HangTimeCheckData);
  18. }
  19. }
  20. }
  21. else HangTimeLikeHeroes = 0;
  22. OldEnemyBonus = EnemyBonus;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement