Derive Android collection touch from the committed stage layout

This commit is contained in:
NINI
2026-10-05 11:48:42 +09:00
parent 7641365e37
commit 503c56a19e
+3 -1
View File
@@ -67,7 +67,9 @@ try {
Step 'initial-home' @('shell','am','start','-W','-n',$activity) 6500
Step 'initial-selection' @('shell','input','tap','1200','616'); Step 'initial-locked-two' @('shell','input','tap','1200','691')
$locked=Save 'locked-two'; Check 'new-save-only-one-unlocked' ($locked.puzzleStates.Count -eq 0 -and $locked.completedStageIds.Count -eq 0) 'Stage02 tap creates no puzzle before Stage01 completion'
Step 'one-start' @('shell','input','tap','1200','562'); Step 'one-collect' @('shell','input','swipe','1200','510','1280','510','650')
Step 'one-start' @('shell','input','tap','1200','562'); $oneInitial=Save 'one-initial'
$onePoint=BallPoint $oneInitial.puzzleStates[0] $oneInitial.puzzleStates[0].balls[0].id
Step 'one-collect' @('shell','input','swipe',"$($onePoint[0])","$($onePoint[1])","$($onePoint[0]+80)","$($onePoint[1])",'650')
$one=Save 'one-collected'; TapBall 'one-count-success' $one.puzzleStates[0] $one.puzzleStates[0].balls[0].id
$free=Save 'one-free'; Check 'one-completion-atomic' ($free.completedStageIds.Count -eq 1 -and $free.completedStageIds[0] -eq 1 -and $free.puzzleStates.Count -eq 0 -and $free.latestFreePlay.sourceStageId -eq 1) 'Completed1, removed puzzle1, latestFree1 in one file'
Step 'one-home' @('shell','input','tap','312','108'); SelectStage 'two' 2