parent
2ff526a072
commit
2b1140e85f
|
@ -38,7 +38,7 @@ hack_ready = false
|
|||
|
||||
-- Slow down frame rate
|
||||
hack_frame_counter = 0
|
||||
hack_frame_freeze = 10 -- Freeze for n frames
|
||||
hack_frame_freeze = 5 -- Freeze for n frames
|
||||
hack_frame_foward = 3 -- Run this many frames without sending status
|
||||
hack_frame_foward_bonus = 0 -- Set when actions need extra frames (like dashes)
|
||||
|
||||
|
@ -1256,6 +1256,10 @@ function _update()
|
|||
extcmd("screen")
|
||||
end
|
||||
|
||||
if (btn(k_left) or btn(k_right)) and btn(k_jump) then
|
||||
hack_frame_foward_bonus = 10
|
||||
end
|
||||
|
||||
-- Run bonus frames if we earned bonus frames
|
||||
for i=1,hack_frame_foward_bonus do
|
||||
old_update()
|
||||
|
|
Reference in New Issue