Small screen slam fix.
This commit is contained in:
parent
dd61282ebd
commit
91d1504e27
BIN
bin/DMGTRIS.GBC
BIN
bin/DMGTRIS.GBC
Binary file not shown.
2916
bin/DMGTRIS.map
2916
bin/DMGTRIS.map
File diff suppressed because it is too large
Load Diff
Binary file not shown.
2648
bin/DMGTRIS.sym
2648
bin/DMGTRIS.sym
File diff suppressed because it is too large
Load Diff
|
@ -1402,7 +1402,7 @@ FieldProcess::
|
|||
.wantleft
|
||||
ldh a, [hCurrentPieceX]
|
||||
cp a, 0
|
||||
jr z, .wantright
|
||||
jr z, .precheckright
|
||||
ldh a, [hLeftState] ; Check if held for 1 frame. If so we move.
|
||||
cp a, 1
|
||||
jr z, .doleft
|
||||
|
@ -1421,6 +1421,11 @@ FieldProcess::
|
|||
ldh [hWantX], a
|
||||
jr .trymove
|
||||
|
||||
.precheckright
|
||||
ldh a, [hRightState]
|
||||
cp a, 0
|
||||
jr z, .nomove
|
||||
|
||||
; Do we want to move right?
|
||||
.wantright
|
||||
ldh a, [hRightState] ; Check if held for 1 frame. If so we move.
|
||||
|
@ -3700,7 +3705,7 @@ BigFieldProcess::
|
|||
.wantleft
|
||||
ldh a, [hCurrentPieceX]
|
||||
cp a, 0
|
||||
jr z, .wantright
|
||||
jr z, .precheckright
|
||||
ldh a, [hLeftState] ; Check if held for 1 frame. If so we move.
|
||||
cp a, 1
|
||||
jr z, .doleft
|
||||
|
@ -3719,6 +3724,11 @@ BigFieldProcess::
|
|||
ldh [hWantX], a
|
||||
jr .trymove
|
||||
|
||||
.precheckright
|
||||
ldh a, [hRightState]
|
||||
cp a, 0
|
||||
jr z, .nomove
|
||||
|
||||
; Do we want to move right?
|
||||
.wantright
|
||||
ldh a, [hRightState] ; Check if held for 1 frame. If so we move.
|
||||
|
|
Loading…
Reference in New Issue