2015-11-11 21:11:08 +00:00
|
|
|
Script_ForcedMovement:: ; 0x1253d
|
|
|
|
checkcode VAR_FACING
|
|
|
|
if_equal DOWN, .down
|
|
|
|
if_equal UP, .up
|
|
|
|
if_equal LEFT, .left
|
|
|
|
if_equal RIGHT, .right
|
|
|
|
end
|
|
|
|
; 0x12550
|
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.up ; 0x12550
|
2015-11-11 21:11:08 +00:00
|
|
|
applymovement PLAYER, .MovementData_up
|
|
|
|
end
|
|
|
|
; 0x12555
|
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.down ; 0x12555
|
2015-11-11 21:11:08 +00:00
|
|
|
applymovement PLAYER, .MovementData_down
|
|
|
|
end
|
|
|
|
; 0x1255a
|
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.right ; 0x1255a
|
2015-11-11 21:11:08 +00:00
|
|
|
applymovement PLAYER, .MovementData_right
|
|
|
|
end
|
|
|
|
; 0x1255f
|
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.left ; 0x1255f
|
2015-11-11 21:11:08 +00:00
|
|
|
applymovement PLAYER, .MovementData_left
|
|
|
|
end
|
|
|
|
; 0x12564
|
|
|
|
|
|
|
|
.MovementData_up: ; 0x12564
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2015-11-11 21:11:08 +00:00
|
|
|
turn_in_down
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2015-11-11 21:11:08 +00:00
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
; 0x1256b
|
|
|
|
|
|
|
|
.MovementData_down: ; 0x1256b
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2015-11-11 21:11:08 +00:00
|
|
|
turn_in_up
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2015-11-11 21:11:08 +00:00
|
|
|
turn_head_up
|
|
|
|
step_end
|
|
|
|
; 0x12572
|
|
|
|
|
|
|
|
.MovementData_right: ; 0x12572
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2015-11-11 21:11:08 +00:00
|
|
|
turn_in_left
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2015-11-11 21:11:08 +00:00
|
|
|
turn_head_left
|
|
|
|
step_end
|
|
|
|
; 0x12579
|
|
|
|
|
|
|
|
.MovementData_left: ; 0x12579
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2015-11-11 21:11:08 +00:00
|
|
|
turn_in_right
|
2015-11-16 02:28:15 +00:00
|
|
|
step_dig 16
|
2015-11-11 21:11:08 +00:00
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
; 0x12580
|