Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 0
- a = math.random(0,255)
- while true do
- if x > 20 then
- x = 0
- a = math.random(0,255)
- print(a)
- end
- memory.writebyte(0x7000BE, a)
- x = x + 1
- emu.frameadvance()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement