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.
|
||||
; Otherwise, we skip to ARE delay.
|
||||
.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.
|
||||
ldh a, [hBravo]
|
||||
add a, 4
|
||||
|
@ -1939,6 +1932,13 @@ FieldDelay::
|
|||
cp a, 0
|
||||
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.
|
||||
ldh a, [hNextPiece]
|
||||
ldh [hCurrentPiece], a
|
||||
|
|
Loading…
Reference in New Issue