Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This is a Lua script for BizHawk.
- -- It displays "cool speed" in green on the screen using gui.text whenever the speed address at $007B is over 48.
- -- Otherwise it displays "slow speed :(" in red.
- -- uncomment the line below if you need to set a speed limit
- -- client.SetGameExtraPadding(0, 0, 50, 0)
- local speed_addr = 0x007B
- while true do
- if memory.readbyte(speed_addr) > 48 then
- gui.text(100, 100, "cool speed", "green")
- else
- gui.text(100, 100, "slow speed :(", "red")
- end
- emu.frameadvance()
- end
Add Comment
Please, Sign In to add comment