Gargoyles.lua: fix last frame comparisons

This commit is contained in:
feos 2017-01-19 14:50:15 +03:00
parent 44a1e691f3
commit d2642eaf59
1 changed files with 5 additions and 5 deletions

View File

@ -60,8 +60,6 @@ function main()
backy = camy
Xspd = Xpos-XposLast
Yspd = Ypos-YposLast
XposLast = Xpos
YposLast = Ypos
facing = AND(rb(GolBase+0x48),2) -- object flag 1
Background()
@ -71,9 +69,6 @@ function main()
HUD()
RoomTime()
Input()
rndlast = rnd1
workinglast = working
end
function RoomTime()
@ -440,6 +435,11 @@ event.onframeend(function()
end
emu.setlagcount(lagcount)
rndlast = rnd1
workinglast = working
XposLast = Xpos
YposLast = Ypos
end)
while true do