Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Name "essposition.lua" (with quotes)
- --For use in MM (U) on BizHawk 1.9.1
- --'z' to ESS downleft, 'x' to ESS downright, 'c' to end
- local result = input.get()
- while true do
- result = input.get()
- if result.Z == true then
- joypad.setanalog({["X Axis"]=-15, ["Y Axis"]=-15}, 1)
- elseif result.X == true then
- joypad.setanalog({["X Axis"]=15, ["Y Axis"]=-15}, 1)
- elseif result.C == true then
- joypad.setanalog({["X Axis"]=0, ["Y Axis"]=0}, 1)
- end
- emu.frameadvance()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement