Noah Petherbridge
4d08bf1d85
* Switch from otto to goja for JavaScript engine. * goja supports many ES6 syntax features like arrow functions, const/let, for-of with more coming soon. * Same great features as otto, more modern environment for doodads!
11 lines
258 B
JavaScript
11 lines
258 B
JavaScript
// Start Flag.
|
|
function main() {
|
|
Self.SetHitbox(22 + 16, 16, 75 - 16, 86);
|
|
|
|
// Linking a doodad to the Start Flag sets the
|
|
// player character. Destroy the original doodads.
|
|
for (var link of Self.GetLinks()) {
|
|
link.Destroy();
|
|
}
|
|
}
|