Add some post-game hinting toward the secret ending
This commit is contained in:
parent
753f3b7ec5
commit
5164d7503e
3 changed files with 16 additions and 2 deletions
|
@ -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?",
|
||||
]
|
||||
}
|
|
@ -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.
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue