2018-06-25 00:10:37 +00:00
|
|
|
Script_ForcedMovement::
|
2015-11-11 21:11:08 +00:00
|
|
|
checkcode VAR_FACING
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal DOWN, .down
|
|
|
|
ifequal UP, .up
|
|
|
|
ifequal LEFT, .left
|
|
|
|
ifequal RIGHT, .right
|
2015-11-11 21:11:08 +00:00
|
|
|
end
|
|
|
|
|
2018-06-25 00:10:37 +00:00
|
|
|
.up
|
2015-11-11 21:11:08 +00:00
|
|
|
applymovement PLAYER, .MovementData_up
|
|
|
|
end
|
|
|
|
|
2018-06-25 00:10:37 +00:00
|
|
|
.down
|
2015-11-11 21:11:08 +00:00
|
|
|
applymovement PLAYER, .MovementData_down
|
|
|
|
end
|
|
|
|
|
2018-06-25 00:10:37 +00:00
|
|
|
.right
|
2015-11-11 21:11:08 +00:00
|
|
|
applymovement PLAYER, .MovementData_right
|
|
|
|
end
|
|
|
|
|
2018-06-25 00:10:37 +00:00
|
|
|
.left
|
2015-11-11 21:11:08 +00:00
|
|
|
applymovement PLAYER, .MovementData_left
|
|
|
|
end
|
|
|
|
|
2018-06-25 00:10:37 +00:00
|
|
|
.MovementData_up:
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_in DOWN
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_head DOWN
|
2015-11-11 21:11:08 +00:00
|
|
|
step_end
|
|
|
|
|
2018-06-25 00:10:37 +00:00
|
|
|
.MovementData_down:
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_in UP
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_head UP
|
2015-11-11 21:11:08 +00:00
|
|
|
step_end
|
|
|
|
|
2018-06-25 00:10:37 +00:00
|
|
|
.MovementData_right:
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_in LEFT
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_head LEFT
|
2015-11-11 21:11:08 +00:00
|
|
|
step_end
|
|
|
|
|
2018-06-25 00:10:37 +00:00
|
|
|
.MovementData_left:
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_in RIGHT
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_head RIGHT
|
2015-11-11 21:11:08 +00:00
|
|
|
step_end
|