Shift instructions are shift man...

This commit is contained in:
Randy Thiemann 2023-10-24 23:09:39 +02:00
parent 16e8d6e884
commit ef7b2b2b6d
3 changed files with 30 additions and 30 deletions

Binary file not shown.

View File

@ -224,8 +224,8 @@ SetPieceData:
SetPieceDataOffset:
ldh a, [hCurrentPieceRotationState]
rlc a
rlc a
sla a
sla a
ldh [hPieceDataOffset], a
ret
@ -796,8 +796,8 @@ FieldProcess::
ldh a, [hPieceDataBase+1]
ld h, a
ldh a, [hWantRotation]
rlc a
rlc a
sla a
sla a
push bc
ld c, a
xor a, a
@ -865,8 +865,8 @@ FieldProcess::
ldh a, [hPieceDataBaseFast+1]
ld h, a
ldh a, [hWantRotation]
rlc a
rlc a
sla a
sla a
push bc
ld c, a
xor a, a
@ -903,8 +903,8 @@ FieldProcess::
ldh a, [hPieceDataBaseFast+1]
ld h, a
ldh a, [hWantRotation]
rlc a
rlc a
sla a
sla a
push bc
ld c, a
xor a, a
@ -951,8 +951,8 @@ FieldProcess::
ldh a, [hPieceDataBaseFast+1]
ld h, a
ldh a, [hWantRotation]
rlc a
rlc a
sla a
sla a
push bc
ld c, a
xor a, a
@ -1011,8 +1011,8 @@ FieldProcess::
ldh a, [hPieceDataBaseFast+1]
ld h, a
ldh a, [hWantRotation]
rlc a
rlc a
sla a
sla a
push bc
ld c, a
xor a, a
@ -1055,8 +1055,8 @@ FieldProcess::
ldh a, [hPieceDataBaseFast+1]
ld h, a
ldh a, [hWantRotation]
rlc a
rlc a
sla a
sla a
push bc
ld c, a
xor a, a
@ -1100,8 +1100,8 @@ FieldProcess::
ldh a, [hPieceDataBaseFast+1]
ld h, a
ldh a, [hWantRotation]
rlc a
rlc a
sla a
sla a
push bc
ld c, a
xor a, a
@ -1808,9 +1808,9 @@ FieldDelay::
ld h, a
; Divide by 4.
sra h
srl h
rr l
sra h
srl h
rr l
; Add 1.

View File

@ -575,8 +575,8 @@ TitleVBlankHandler::
xor a, a
ld b, a
ld a, [wSwapABState]
rlc a
rlc a
sla a
sla a
ld c, a
ld hl, sOption0
add hl, bc
@ -590,8 +590,8 @@ TitleVBlankHandler::
xor a, a
ld b, a
ld a, [wRNGModeState]
rlc a
rlc a
sla a
sla a
ld c, a
ld hl, sOption1
add hl, bc
@ -605,8 +605,8 @@ TitleVBlankHandler::
xor a, a
ld b, a
ld a, [rRotModeState]
rlc a
rlc a
sla a
sla a
ld c, a
ld hl, sOption2
add hl, bc
@ -620,8 +620,8 @@ TitleVBlankHandler::
xor a, a
ld b, a
ld a, [rDropModeState]
rlc a
rlc a
sla a
sla a
ld c, a
ld hl, sOption3
add hl, bc
@ -635,8 +635,8 @@ TitleVBlankHandler::
xor a, a
ld b, a
ld a, [wSpeedCurveState]
rlc a
rlc a
sla a
sla a
ld c, a
ld hl, sOption4
add hl, bc
@ -650,8 +650,8 @@ TitleVBlankHandler::
xor a, a
ld b, a
ld a, [wAlways20GState]
rlc a
rlc a
sla a
sla a
ld c, a
ld hl, sOption5
add hl, bc