i get an error telling me theres a duplicate function in verse 38, 60 and 79. but i see no duplicates there!
verse 38 eight was the last line in this
{
if (keyEvent.keyCode == Keyboard.RIGHT) {
rightpressed1 = true;
linkfacing1 = "right";
} else if (keyEvent.keyCode == Keyboard.LEFT) {
leftpressed1 = true;
linkfacing1 = "left";
} else if (keyEvent.keyCode == Keyboard.DOWN) {
downpressed1 = true;
linkfacing1 = "front";
} else if (keyEvent.keyCode == Keyboard.UP) {
uppressed1 = true;
linkfacing1 = "back";
}
verse 60 is the last line in
{
spacepressed1 = false;
}
and verse 79 is the last line in
if (linkMc.x > 200) {
linkMc.x -= 10
} else if (overworldMc.x < 0) {
overworldMc.x += 10;
}