// Cloned by Alex Murphy on 22 May 2019 from World "jump/duck/hide (clone by ca400test 1)" by ca400test 1
// Please leave this clone trail here.
// Cloned by ca400test 1 on 19 May 2019 from World "jump/duck/hide " by Alex Murphy
// Please leave this clone trail here.
///////// Tweakers Box ///////////
var your_character = '/uploads/ca400test1/scared.png';
var car_img = '/uploads/alexmurphy1996/car.png';
var bird_img = '/uploads/alexmurphy1996/bird.png';
var thief_img = '/uploads/alexmurphy1996/thief.png';
let speed = 5;
//////////////////////////////////
function action() {
// Place code here
if(runner=='cars') {
jump();
}
if (runner == 'thieves') {
hide();
}
if(runner=='birds') {
duck();
}
}
function setup() {
$.getScript ( "uploads/alexmurphy1996/lesson4_runjumphide_code.js", function() {
preload();
setup();
});
}