mirror of
https://github.com/blondie7575/GSCats.git
synced 2024-11-22 06:31:48 +00:00
Improved turn switching behavior
This commit is contained in:
parent
9873d92e0c
commit
cf6b75fe9e
@ -186,7 +186,7 @@ trackActiveShot:
|
||||
|
||||
lda SCRATCHL
|
||||
sec
|
||||
sbc #140 ; Check for moving close to right edge
|
||||
sbc #150 ; Check for moving close to right edge
|
||||
cmp leftScreenEdge
|
||||
bmi trackActiveShotDone
|
||||
|
||||
@ -201,7 +201,7 @@ trackActiveShotNeg:
|
||||
|
||||
lda SCRATCHL
|
||||
clc
|
||||
adc #140 ; Check for moving close to left edge
|
||||
adc #150 ; Check for moving close to left edge
|
||||
cmp rightScreenEdge
|
||||
bpl trackActiveShotDone
|
||||
stz mapScrollRequested ; Move screen left to see shot land
|
||||
@ -224,10 +224,21 @@ endTurn:
|
||||
|
||||
endTurnRefresh:
|
||||
ldy currentPlayer
|
||||
beq endTurnFocusPlayer0
|
||||
|
||||
lda #VISIBLETERRAINWINDOW
|
||||
sta mapScrollRequested
|
||||
|
||||
endTurnHeader:
|
||||
jsr renderPlayerHeader
|
||||
jsr renderInventory
|
||||
stz turnRequested
|
||||
rts
|
||||
|
||||
endTurnFocusPlayer0:
|
||||
stz mapScrollRequested
|
||||
bra endTurnHeader
|
||||
|
||||
endTurnWrap:
|
||||
stz currentPlayer
|
||||
bra endTurnRefresh
|
||||
|
BIN
gscats.2mg
BIN
gscats.2mg
Binary file not shown.
Loading…
Reference in New Issue
Block a user