ddr5thmix-solo/src/autoplay.asm

35 lines
755 B
NASM

.org 0x80012860
CheckAutoplayDipswitch:
lb v0, 0x1f400004
nop
andi v0, 1
beq v0, 0, _CheckAutoplayDipswitchEnd
nop
lb v0, 0x20(s3)
nop
_CheckAutoplayDipswitchEnd:
j CheckAutoplayDipswitchEnd
nop
.org 0x8007f7f8
; Enable autoplay
j CheckAutoplayDipswitch
nop
CheckAutoplayDipswitchEnd:
.org 0x8007f914
; Disable random drops
nop
.org 0x8007f8a8
; Disable randomness of timing
li v0, 0
nop
nop
.org 0x8007f8f4
; Change allowable timing window of autoplay
; Default is 16 which will result in a mix of perfect and marvelous judgements
; 2 may possibly be a bit tight on real hardware, but MAX 300 is a pain and you get 1 or 2 goods at the end with a value of 4
slti v0, s2, AUTOPLAY_TIMING