Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- recording = false
- while 1 do
- gameState = memory.readbyte(0x3000032)
- if gameState == 0 or gameState == 4 or gameState == 6 then
- avi.resume()
- if recording == true then
- vba.print(string.format("Recording"))
- recording = false
- end
- else
- avi.pause()
- if recording ~= true then
- vba.print(string.format("Stopped"))
- recording = true
- end
- end
- prevframes = frames
- emu.frameadvance()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement