Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //HangTime modified to fit with Heroes mod
- PhysicsArray[Characters_Sonic].HangTime = 60000;
- //HangTime like Heroes
- if (CharObj1Ptrs[0]->Action == 8)
- {
- if (ControllerPointers[0]->HeldButtons & Buttons_A)
- {
- if (++HangTimeLikeHeroes == 60 || EnemyBonus - OldEnemyBonus > 0 || co2->AnimationThing.Index == 40 || co2->AnimationThing.Index == 42)
- {
- WriteData((void*)0x43BFCB, 0x90, 6);
- }
- 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)
- {
- WriteData((void*)0x43BFCB, HangTimeCheckData);
- }
- }
- }
- else HangTimeLikeHeroes = 0;
- OldEnemyBonus = EnemyBonus;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement