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