Add some post-game hinting toward the secret ending

This commit is contained in:
RedEnchilada 2016-05-18 22:36:48 -05:00
parent 753f3b7ec5
commit 5164d7503e
3 changed files with 16 additions and 2 deletions

View file

@ -47,4 +47,16 @@ RescueDatabase["Ending"] = {
lines: [
".....",
]
};
};
RescueDatabase["Post"] = {
sprite: "midget",
post: "yup",
position: {
x: 11744, y: 5774, z: 64
},
lines: [
"These doors are said to be the keys to life.",
"What could they mean by that?",
]
}

View file

@ -157,6 +157,8 @@ Level = function(levelName) {
placeEntityInGrid(r.bubble);
placeEntityInGrid(r.barrier);
}
} else if (levelName == "Intro" && Memory.global.bossClear) {
placeEntityInGrid(Rescuee(level, RescueDatabase.Post, dolphin));
}
// Boss.

View file

@ -6,7 +6,7 @@ Rescuee = function(level, data, dolphin) {
if (data.dead) {
rescuee.activeSprite.rotation = Math.PI;
} else {
} else if (!data.post) {
rescuee.bubble = Entity(level, data.position.x, data.position.y, data.position.z);
rescuee.bubble.addSprite("spr", Renderer.sprite("bubble"));
rescuee.bubble.currentSprite("spr");