first line award, then level up when a piece spawns.
This commit is contained in:
parent
3a6de627ee
commit
83006e64eb
|
@ -1738,13 +1738,6 @@ FieldDelay::
|
||||||
; If so, we need to do a line clear delay.
|
; If so, we need to do a line clear delay.
|
||||||
; Otherwise, we skip to ARE delay.
|
; Otherwise, we skip to ARE delay.
|
||||||
.determine
|
.determine
|
||||||
; Add one level if we're not at a breakpoint.
|
|
||||||
ldh a, [hRequiresLineClear]
|
|
||||||
cp a, $FF
|
|
||||||
jr z, .are
|
|
||||||
ld e, 1
|
|
||||||
call LevelUp
|
|
||||||
|
|
||||||
; Increment bravo by 4.
|
; Increment bravo by 4.
|
||||||
ldh a, [hBravo]
|
ldh a, [hBravo]
|
||||||
add a, 4
|
add a, 4
|
||||||
|
@ -1939,6 +1932,13 @@ FieldDelay::
|
||||||
cp a, 0
|
cp a, 0
|
||||||
ret nz
|
ret nz
|
||||||
|
|
||||||
|
; Add one level if we're not at a breakpoint.
|
||||||
|
ldh a, [hRequiresLineClear]
|
||||||
|
cp a, $FF
|
||||||
|
jr z, :+
|
||||||
|
ld e, 1
|
||||||
|
call LevelUp
|
||||||
|
|
||||||
; Cycle the RNG.
|
; Cycle the RNG.
|
||||||
ldh a, [hNextPiece]
|
ldh a, [hNextPiece]
|
||||||
ldh [hCurrentPiece], a
|
ldh [hCurrentPiece], a
|
||||||
|
|
Loading…
Reference in New Issue