mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 16:10:01 +00:00
fixed intro skip
This commit is contained in:
parent
8de701dd70
commit
fc5fc602ba
|
@ -2428,7 +2428,7 @@ int8 CRunningScript::ProcessCommandsFrom200To299(int32 command)
|
||||||
{
|
{
|
||||||
CollectParameters(&m_nIp, 2);
|
CollectParameters(&m_nIp, 2);
|
||||||
bool value = GetPadState(ScriptParams[0], ScriptParams[1]) != 0;
|
bool value = GetPadState(ScriptParams[0], ScriptParams[1]) != 0;
|
||||||
if (CGame::playingIntro && ScriptParams[0] && ScriptParams[1] == 12){ /* pad1, start */
|
if (CGame::playingIntro && ScriptParams[0] == 0 && ScriptParams[1] == 12){ /* pad1, start */
|
||||||
if (CPad::GetPad(0)->GetLeftMouseJustDown() ||
|
if (CPad::GetPad(0)->GetLeftMouseJustDown() ||
|
||||||
CPad::GetPad(0)->GetPadEnterJustDown() ||
|
CPad::GetPad(0)->GetPadEnterJustDown() ||
|
||||||
CPad::GetPad(0)->GetCharJustDown(' '))
|
CPad::GetPad(0)->GetCharJustDown(' '))
|
||||||
|
@ -2893,4 +2893,4 @@ InjectHook(0x439000, &CTheScripts::StartNewScript, PATCH_JUMP);
|
||||||
InjectHook(0x439040, &CTheScripts::Process, PATCH_JUMP);
|
InjectHook(0x439040, &CTheScripts::Process, PATCH_JUMP);
|
||||||
InjectHook(0x439400, &CTheScripts::StartTestScript, PATCH_JUMP);
|
InjectHook(0x439400, &CTheScripts::StartTestScript, PATCH_JUMP);
|
||||||
InjectHook(0x439410, &CTheScripts::IsPlayerOnAMission, PATCH_JUMP);
|
InjectHook(0x439410, &CTheScripts::IsPlayerOnAMission, PATCH_JUMP);
|
||||||
ENDPATCHES
|
ENDPATCHES
|
||||||
|
|
Loading…
Reference in a new issue