TILEMASTER2004 DATA V1
SCRIPT: 75
0 DBG "DBG: Starting turn script"
10 NOOP
0 CheckTriggerDone 1 20
0 WaitTurns 1
0 CheckTriggerDone 3 0
0 GOTO 10
20 NOOP
0 GOTO 31
30 NOOP
0 SetRedraw 1
31 WaitTurns 1
0 SetRedraw 0
0 CheckTile 28 1 1 40 -NOT
0 CheckTile 28 1 2 41 -NOT
0 CheckTile 28 1 3 42 -NOT
0 CheckTile 28 1 4 43 -NOT
0 GOTO 44
40 AlterTiles 28 1 1 9 1
0 AlterTiles 28 1 9 9 9
0 CCheckPos -POS 1-9 1 -TAG 50 -POS 1-9 9 -TAG 51
0 GOTO 30
41 AlterTiles 28 1 2 9 2
0 AlterTiles 28 1 8 9 8
0 CCheckPos -POS 1-9 2 -TAG 50 -POS 1-9 8 -TAG 51
0 GOTO 30
42 AlterTiles 28 1 3 9 3
0 AlterTiles 28 1 7 9 7
0 CCheckPos -POS 1-9 3 -TAG 50 -POS 1-9 7 -TAG 51
0 GOTO 30
43 AlterTiles 28 1 4 9 4
0 AlterTiles 28 1 6 9 6
0 CCheckPos -POS 1-9 4 -TAG 50 -POS 1-9 6 -TAG 51
0 GOTO 30
44 AlterTiles 28 1 5 9 5
0 CCheckPos -POS 1-9 5 -TAG 60
0 DBG "DBG: Walls done moving, script done"
0 BREAK
50 M "The wall pushes you south!"
0 Move S -SIMPLE
0 GOTO 30
51 M "The wall pushes you north!"
0 Move N -SIMPLE
0 GOTO 30
60 M "You have been crushed!"
0 Damage DEATH -DEATHCONT
0 TurnResults -DEATH
0 DBG "DBG: PC killed, walls done moving, script done"
