Skip to content

Commit

Permalink
adjust reversal code
Browse files Browse the repository at this point in the history
  • Loading branch information
fangdreth committed May 4, 2024
1 parent 62177fc commit b0cd289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions MBAACC-Extended-Training-Mode/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const DWORD dwP2E = 0x3713C9;
const DWORD dwMagicCircuitSetting = 0x37C1FC;
const DWORD dwBasePointer = 0x34D7FC;
const DWORD dwBurstCooldown = 0x155DBE;
const DWORD dwP2RecievedHitstop = 0x155DD0;

// integer representations of raw float values
// not interested in messing with converting them when a table is good enough
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1699,8 +1699,7 @@ int main(int argc, char* argv[])
// extra check for current pattern == reversal pattern
if (nFrameCounter != 0 && GetPattern(nP2CharacterID, vPatternNames[nReversalIndex]) != 0)
{
//ReadProcessMemory(hMBAAHandle, (LPVOID)(dwBaseAddress + dwP2PatternRead), &nReadResult, 4, 0);/* || nReadResult == GetPattern(nP2CharacterID, vPatternNames[nReversalIndex])*/
ReadProcessMemory(hMBAAHandle, (LPVOID)(dwBaseAddress + 0x155DD0/*recieved hitstop*/), &nReadResult, 4, 0);
ReadProcessMemory(hMBAAHandle, (LPVOID)(dwBaseAddress + dwP2RecievedHitstop), &nReadResult, 4, 0);
if ((!bDelayingReversal && nMot == 0 && nMot != nOldMot && nP2Y == 0 && nBurstCooldown == 0) || nReadResult != 0)
{
if (!bReversaled)
Expand Down

0 comments on commit b0cd289

Please sign in to comment.