spend a local, save a function call
This commit is contained in:
parent
d1bc8cb072
commit
a2fa6c0202
@ -430,8 +430,9 @@ sea = {}
|
|||||||
mknew(sea)
|
mknew(sea)
|
||||||
|
|
||||||
function sea:draw()
|
function sea:draw()
|
||||||
rectfill(0, 72+wave(), 128, 84, 0)
|
local w = wave()
|
||||||
poke2(0x5f78, 0xFF00.00FF <<> wave())
|
rectfill(0, 72+w, 128, 84, 0)
|
||||||
|
poke2(0x5f78, 0xFF00.00FF <<> w)
|
||||||
end
|
end
|
||||||
|
|
||||||
arcade_level = {
|
arcade_level = {
|
||||||
|
Loading…
Reference in New Issue
Block a user