Skip to content

Commit

Permalink
lab: hold shield during delay frames
Browse files Browse the repository at this point in the history
make cpu hold shield during counter delay frames instead of inputting nothing
  • Loading branch information
UnclePunch committed Dec 2, 2020
1 parent d58115e commit 7f2fcfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified patch/events/lab/output/EvLab.dat
Binary file not shown.
3 changes: 2 additions & 1 deletion patch/events/lab/source/lab.c
Original file line number Diff line number Diff line change
Expand Up @@ -2986,9 +2986,10 @@ void LCancel_CPUThink(GOBJ *event, GOBJ *hmn, GOBJ *cpu)
break;
}

// if this isnt the frame to counter, do nothing
// if this isnt the frame to counter, keep holding shield
if (eventData->cpu_sincehit < LabOptions_CPU[OPTCPU_CTRFRAMES].option_val)
{
cpu_data->cpu.held = PAD_TRIGGER_R;
break;
}

Expand Down

0 comments on commit 7f2fcfa

Please sign in to comment.