Shorter A/B holds.
This commit is contained in:
parent
29ffa55a95
commit
5dd4a1de69
BIN
bin/DMGTRIS.GBC
BIN
bin/DMGTRIS.GBC
Binary file not shown.
Binary file not shown.
|
@ -636,7 +636,7 @@ GamePlayEventLoopHandlerB::
|
||||||
; Retry?
|
; Retry?
|
||||||
.checkretry
|
.checkretry
|
||||||
ldh a, [hAState]
|
ldh a, [hAState]
|
||||||
cp a, 20
|
cp a, 10
|
||||||
jr nz, .noretry
|
jr nz, .noretry
|
||||||
call CheckAndAddHiscore
|
call CheckAndAddHiscore
|
||||||
call RNGInit
|
call RNGInit
|
||||||
|
@ -656,7 +656,7 @@ GamePlayEventLoopHandlerB::
|
||||||
; Quit
|
; Quit
|
||||||
.noretry
|
.noretry
|
||||||
ldh a, [hBState]
|
ldh a, [hBState]
|
||||||
cp a, 20
|
cp a, 10
|
||||||
jp nz, .drawStaticInfo
|
jp nz, .drawStaticInfo
|
||||||
call CheckAndAddHiscore
|
call CheckAndAddHiscore
|
||||||
jp SwitchToTitle
|
jp SwitchToTitle
|
||||||
|
@ -1432,7 +1432,7 @@ GamePlayBigEventLoopHandlerB:
|
||||||
; Retry?
|
; Retry?
|
||||||
.checkretry
|
.checkretry
|
||||||
ldh a, [hAState]
|
ldh a, [hAState]
|
||||||
cp a, 20
|
cp a, 10
|
||||||
jr nz, .noretry
|
jr nz, .noretry
|
||||||
ld a, [wReturnToSmall]
|
ld a, [wReturnToSmall]
|
||||||
cp a, $FF
|
cp a, $FF
|
||||||
|
@ -1472,7 +1472,7 @@ GamePlayBigEventLoopHandlerB:
|
||||||
; Quit
|
; Quit
|
||||||
.noretry
|
.noretry
|
||||||
ldh a, [hBState]
|
ldh a, [hBState]
|
||||||
cp a, 20
|
cp a, 10
|
||||||
jp nz, .drawStaticInfo
|
jp nz, .drawStaticInfo
|
||||||
call CheckAndAddHiscore
|
call CheckAndAddHiscore
|
||||||
jp SwitchToTitle
|
jp SwitchToTitle
|
||||||
|
|
Loading…
Reference in New Issue