doodle/dev-assets/doodads/objects/start-flag.js

12 lines
300 B
JavaScript
Raw Normal View History

// 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.
var links = Self.GetLinks();
for (var i = 0; i < links.length; i++) {
links[i].Destroy();
}
}