diff --git a/game.min.js b/game.min.js index 8384e17..ddad2b8 100644 --- a/game.min.js +++ b/game.min.js @@ -34696,12 +34696,51 @@ if (!self.__WB_pmw) { Player.LEVEL_CURVE = [{ lvl: 1, a: 31 + }, { + lvl: 2, + a: 4 + }, { + lvl: 3, + a: 5 + }, { + lvl: 4, + a: 6 }, { lvl: 5, a: 32 + }, { + lvl: 6, + a: 12 + }, { + lvl: 7, + a: 16 + }, { + lvl: 8, + a: 17 + }, { + lvl: 9, + a: 18 + }, { + lvl: 10, + a: 22 + }, { + lvl: 11, + a: 23 }, { lvl: 12, a: 33 + }, { + lvl: 13, + a: 24 + }, { + lvl: 14, + a: 28 + }, { + lvl: 15, + a: 29 + }, { + lvl: 16, + a: 30 }, { lvl: 22, a: 34 @@ -46155,6 +46194,10 @@ if (!self.__WB_pmw) { e.state.add("CharSelect", Prodigy.CharSelect), e.state.add("CharCreate", Prodigy.CharCreate), e.state.add("Arena", Arena), + e.state.add("Forest", Forest), + e.state.add("Mountain", Mountain), + e.state.add("Cloud", Cloud), + e.state.add("Volcano", Volcano), e.state.add("Pirate", Pirate), e.state.add("Tech", Tech), e.state.add("Tower", Tower), @@ -60585,7 +60628,3316 @@ if (!self.__WB_pmw) { }) } }); - var Pirate = function () { +var Cloud = function() { + function e(t) { + WalkableScreen.call(this, t, e.DATA), this.assets = ["npc-sprite-cumulo", "npc-sprite-merchant", "tileset-core"], this.area = [ + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0], + [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0], + [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0] + ], this.playerX = 1065, this.playerY = 277 + } + return e.prototype = Object.create(WalkableScreen.prototype), e.prototype.create = function() { + WalkableScreen.prototype.create.call(this, [], "cloud-0") + }, e.prototype.screenSetup = function() { + WalkableScreen.prototype.screenSetup.call(this), this.startText.bind(this), !0, new Prodigy.Container.QuestNPC(this.game, this.content, 190, 215, e.DATA, { + atlas: "cumulo", + name: "Cumulo" + }), this.createStoreNPC(230, 450, e.STORE); + for (var t = 0; 30 > t; t++) { + var i = this.game.prodigy.create.sprite(1032, 234, "icons", "smoke"); + this.background.add(i), i.anchor.setTo(.5, .5), i.scale.x = i.scale.y = .1, i.x = 1032 + Math.floor(-20 + 40 * Math.random()), i.y = 234, i.alpha = 1, i.angle = Math.floor(360 * Math.random()), this.game.add.tween(i).to({ + y: 0, + alpha: 0 + }, 4e3, Phaser.Easing.Linear.None, !1, 0, 1e3, !1).delay(100 * t).start(), this.game.add.tween(i.scale).to({ + x: .75, + y: .75 + }, 4e3, Phaser.Easing.Linear.None, !1, 0, 1e3, !1).delay(100 * t).start() + } + var t = [{ + pre: "Pilot ", + req: [{ + rtype: "item", + type: "outfit", + ID: 37 + }, { + rtype: "item", + type: "hat", + ID: 41 + }, { + rtype: "item", + type: "weapon", + ID: 67 + }], + fail: "You need to buy the Skywatch set to unlock!" + }, { + post: " the Skyfolk", + req: [{ + rtype: "quest", + zone: 3, + Q: 15 + }], + fail: "You need to complete the Skywatch quests to unlock!" + }, { + pre: "Cloudeater ", + req: [{ + rtype: "pet", + ID: 57 + }], + fail: "You need to catch a Cloud Gobbler to unlock!" + }, { + post: " Stormchaser", + member: !0, + fail: "You need to become a member to unlock!" + }, { + post: ", Puyoy!", + member: !0, + fail: "You need to become a member to unlock!" + }]; + this.addNicknamer(840, 250, t), new HealEvent(this.game, this.content, this.user, this.path, 623, 406) + }, e.prototype.toCloud = function() { + this.game.state.states.Plains.playerX = 880, this.game.state.states.Plains.playerY = 370, this.game.state.start("Plains") + }, e.prototype.startText = function() { + var e = { + text: "Hey there! Want to hitch a ride back down?", + face: 0, + yes: this.toCloud.bind(this) + }; + this.game.prodigy.dialogue.setText(e), this.game.prodigy.dialogue.start("cumulo") + }, e +}(); +Cloud.STORE = { + name: "Sky-high Values", + items: [{ + ID: 41, + type: "hat" + }, { + ID: 67, + type: "weapon" + }, { + ID: 37, + type: "outfit" + }, { + ID: 15, + type: "pet" + }] +}, Cloud.AUDIO = [{ + tag: "voice-6", + s: 0, + d: 1 +}, { + tag: "voice-6", + s: 1, + d: 1 +}, { + tag: "voice-6", + s: 2, + d: 1 +}, { + tag: "voice-6", + s: 3, + d: 1 +}, { + tag: "voice-6", + s: 4, + d: 1 +}, { + tag: "voice-6", + s: 5, + d: 2 +}, { + tag: "voice-6", + s: 7, + d: 2 +}, { + tag: "voice-6", + s: 9, + d: 2 +}], Cloud.DATA = { + ID: 3, + tag: "Cloud", + zoneName: "zone-cloud", + atlas: "zone-cloud", + fullName: "Skywatch", + icon: "zone-air", + battle: { + screen: "bg-battle-cloud", + encounter: [{ + ID: 4 + }, { + ID: 5 + }, { + ID: 6 + }, { + ID: 13 + }, { + ID: 14 + }, { + ID: 15 + }, { + ID: 18 + }, { + ID: 19 + }, { + ID: 20 + }, { + ID: 21 + }, { + ID: 22 + }, { + ID: 41 + }, { + ID: 42 + }, { + ID: 43 + }, { + ID: 44 + }, { + ID: 56 + }, { + ID: 57 + }, { + ID: 72 + }, { + ID: 73 + }, { + ID: 74 + }, { + ID: 84 + }, { + ID: 85 + }, { + ID: 86 + }, { + ID: 90 + }, { + ID: 91 + }] + }, + dialogue: [{ + face: 2, + anim: 2, + text: "WOW! You really are helpful, puyoy!", + audio: Cloud.AUDIO[1] + }, { + face: 0, + anim: 2, + text: "Want to enter the station to help, puyoy?", + audio: Cloud.AUDIO[1] + }, { + face: 4, + anim: 4, + text: "HEY! OVER HERE!", + audio: Cloud.AUDIO[0] + }, { + face: 4, + anim: 0, + text: "You are a wizard, right? Puyoy, just what we need! The station is under attack, and we need your help!", + audio: Cloud.AUDIO[1] + }, { + face: 4, + anim: 1, + text: "Help us defeat these monsters before they bring the station down!", + audio: Cloud.AUDIO[2] + }, { + face: 4, + anim: 1, + text: "OH NO! Those hobs damaged the station! Go collect spare parts from luminites.", + audio: Cloud.AUDIO[4] + }, { + face: 0, + anim: 2, + text: "Phew! That should scare them away, puyoy!", + audio: Cloud.AUDIO[1] + }, { + face: 1, + anim: 0, + text: "...you look confused. Maybe you have never seen a poffin before...?", + audio: Cloud.AUDIO[3] + }, { + face: 2, + anim: 2, + text: "Well, take a look! I am a poffin, and my name is Cumulo! Nice to meet you!", + audio: Cloud.AUDIO[6] + }, { + face: 0, + anim: 0, + text: "We poffins live up in the clouds. We LOVE wizards, but since you cannot fly, we built this station so you could visit!" + }, { + face: 0, + anim: 0, + text: "Since you are a wizard, you want to learn storm spells, right?" + }, { + face: 2, + anim: 4, + text: "Of course! I can teach you spells, but you must first pass the CLOUD TRAILS! ...I mean TRIALS, not TRAILS...", + audio: Cloud.AUDIO[5] + }, { + face: 0, + anim: 0, + text: "TRIAL NUMBER ONE: Defeat cloud gobblers!", + audio: Cloud.AUDIO[7] + }, { + face: 2, + anim: 4, + text: "TRIAL COMPLETE! Let me teach you a new spell!", + audio: Cloud.AUDIO[3] + }, { + face: 1, + anim: 4, + text: "Ok then! Ready for the next trial?", + audio: Cloud.AUDIO[0] + }, { + face: 0, + anim: 0, + text: "TRIAL NUMBER TWO: Repair the station!", + audio: Cloud.AUDIO[7] + }, { + face: 1, + anim: 0, + text: "It looks like those hobs did more damage to the station than I thought. Defeat some more, and bring back the parts they stole." + }, { + face: 0, + anim: 0, + text: "Okay! To fix the ship, I will also need a new wrench. Cloud neeks like to play with tools, so go find some!", + audio: Cloud.AUDIO[0] + }, { + face: 1, + anim: 0, + text: "These parts are all missing something...", + audio: Cloud.AUDIO[4] + }, { + face: 2, + anim: 4, + text: "AHA! The hobs took off the power source! They probably brought it to their captain. Defeat the captain and take back that power source!", + audio: Cloud.AUDIO[2] + }, { + face: 1, + anim: 3, + text: "It is a well-known fact that poffins love all animals...", + audio: Cloud.AUDIO[5] + }, { + face: 3, + anim: 4, + text: "EXCEPT BIRDS! Poffins don't like birds! Always making a mess of our station! For your next trial, defeat pesky birds, puyoy!", + audio: Cloud.AUDIO[2] + }, { + face: 3, + anim: 4, + text: "Good job! But do not stop there! Go defeat lots of squawks...they make their nests in our machinery!", + audio: Cloud.AUDIO[2] + }, { + face: 4, + anim: 2, + text: "Uh oh...I think we made their leader angry! HELP! DEFEAT IT!", + audio: Cloud.AUDIO[2] + }, { + face: 0, + anim: 4, + text: "One trial left, puyoy! This one is a two-parter!", + audio: Cloud.AUDIO[7] + }, { + face: 0, + anim: 0, + text: "First, we need to build a lightning rod. To do so, I need you to collect a green feather from an evolotus." + }, { + face: 1, + anim: 0, + text: "Good! Next...I think we need a steel rod. You might find it on any monster that has hands.", + audio: Cloud.AUDIO[0] + }, { + face: 1, + anim: 0, + text: "OK! Next, we just need someone to build it...", + audio: Cloud.AUDIO[5] + }, { + face: 0, + anim: 4, + text: "I KNOW! Look for Mechanic Lumiot, I bet he would help you if you can find and defeat him!", + audio: Cloud.AUDIO[1] + }, { + face: 2, + anim: 4, + text: "Now that you have the lightning rod, it is time for part two of the trial!", + audio: Cloud.AUDIO[7] + }, { + face: 4, + anim: 1, + text: "We will use this rod to summon King Turtox, the sky turtle. He is the meanest monster in the clouds, and your job is to defeat him!", + audio: Cloud.AUDIO[0] + }, { + face: 0, + anim: 0, + text: "But first, we need to charge the lightning rod! Collect a charge stone from the rare cloaker!" + }, { + face: 1, + anim: 0, + text: "Next, we just need to charge the stone and place it in the rod. Defeat different storm monsters to charge the rod!" + }, { + face: 1, + anim: 1, + text: "Ok...here we go! First, I just need to place the charged stone into the lightning rod...", + audio: Cloud.AUDIO[5] + }, { + face: 1, + anim: 0, + text: "..." + }, { + face: 4, + anim: 2, + text: "AND HERE COMES KING TORTOX!", + audio: Cloud.AUDIO[2] + }, { + face: 2, + anim: 2, + text: "HOORAY! YOU DID IT!", + audio: Cloud.AUDIO[3] + }, { + face: 2, + anim: 4, + text: "You completed the four Cloud Trials, and I now declare you an honorary poffin, puyoy!", + audio: Cloud.AUDIO[1] + }, { + face: 0, + anim: 0, + text: "Feel free to visit anytime! You will always be welcome in the clouds!" + }], + quests: [{ + coords: [110, 0], + name: "They Are Coming", + desc: "The Skywatch is under attack! Defeat the incoming hobs!", + start: [2, 3, 4], + during: [], + complete: [0], + encounter: [{ + ID: 84 + }], + req: [{ + type: "pet", + ID: 84, + N: 2 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [0, 75], + name: "The Sky is Falling!", + desc: "Look for spare parts to repair the station. Luminites should carry them.", + start: [5], + during: [], + complete: [0], + encounter: [{ + ID: 20, + drops: [{ + ID: 49, + type: "item", + R: 1 + }] + }], + req: [{ + type: "item", + ID: 49, + N: 3 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [110, 110], + name: "Cloud TRIALS", + desc: "Defeat cloud nibblers for Cumulo to pass the first trial.", + start: [6, 7, 8, 9, 10, 11, 12], + during: [], + complete: [13], + encounter: [{ + ID: 56, + R: 1 + }, { + ID: 13, + R: 1 + }, { + ID: 84, + R: 1 + }], + req: [{ + type: "pet", + ID: 56, + N: 3 + }], + reward: [{ + type: "spell", + ID: 25 + }] + }, { + coords: [225, 60], + name: "Vandals and Thieves", + desc: "Cumulo needs you to track down the hobs that stole the parts to the station.", + start: [14, 15, 16], + during: [], + complete: [0], + encounter: [{ + ID: 84, + nickname: "Part-carrying hob", + R: 1, + drops: [{ + ID: 47, + type: "item", + R: 1 + }] + }, { + ID: 84 + }, { + ID: 20 + }], + req: [{ + type: "item", + ID: 47, + N: 3 + }], + reward: [{ + type: "boots", + N: 1, + ID: 25 + }] + }, { + coords: [335, 0], + name: "Wrench in the Gears", + desc: "You'll need a wrench to fix the station. Defeat cloud neeks and take their tools.", + start: [17], + during: [], + complete: [0], + encounter: [{ + ID: 72, + R: .75, + drops: [{ + ID: 53, + type: "item", + R: .25 + }] + }, { + ID: 84, + R: .25 + }], + req: [{ + type: "item", + ID: 53, + N: 1 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [450, 75], + name: "Head Hob", + desc: "Defeat the leader of the hobs and take back the power source.", + start: [18, 19], + during: [], + complete: [13], + pets: [{ + ID: 85, + nickname: "Hob Leader" + }, { + ID: 84, + nickname: "Grunt Hob" + }, { + ID: 84, + nickname: "Grunt Hob" + }], + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "spell", + ID: 26 + }] + }, { + coords: [335, 110], + name: "The Birds", + desc: "Cumulo needs you to go defeat birds, 'cause they're messin' up the place!", + start: [14, 20, 21], + during: [], + complete: [0], + encounter: [{ + ID: 13, + R: 5 + }, { + ID: 4, + R: 1 + }], + req: [{ + type: "pet", + ID: 13, + N: 5 + }, { + type: "pet", + ID: 4, + N: 2 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [335, 190], + name: "Bird is the Word", + desc: "According to Cumulo, squawks are the worst. Go defeat them!", + start: [22], + during: [], + complete: [0], + encounter: [{ + ID: 18, + R: 4 + }, { + ID: 72, + R: 2 + }, { + ID: 85, + R: 1 + }], + req: [{ + type: "pet", + ID: 18, + N: 6 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [450, 225], + name: "Big Bird", + desc: "All your bird-challenging has caught the attention of the bird leader!", + start: [23], + during: [], + complete: [13], + encounter: [{ + ID: 42, + R: 1, + nickname: "Big Bird" + }, { + ID: 41, + R: 9 + }], + req: [{ + type: "pet", + ID: 42, + N: 1 + }], + reward: [{ + type: "spell", + ID: 27 + }] + }, { + coords: [335, 300], + name: "I Have the Power!", + desc: "To build a lightning rod, first you need to collect a green feather from an evolotus.", + start: [24, 25], + during: [], + complete: [0], + encounter: [{ + ID: 43, + R: 2, + drops: [{ + ID: 10, + type: "item", + R: .15 + }] + }, { + ID: 72, + R: 1 + }, { + ID: 84, + R: 1 + }], + req: [{ + type: "item", + ID: 10, + N: 1 + }], + reward: [{ + type: "hat", + N: 1, + ID: 8 + }] + }, { + coords: [225, 240], + name: "Rod! Rod! Rod!", + desc: "Defeat monsters that have hands in order to collect a steel rod.", + start: [26], + during: [], + complete: [0], + encounter: [{ + ID: 84, + R: 1, + drops: [{ + ID: 52, + type: "item", + R: .2 + }] + }, { + ID: 85, + R: 1, + drops: [{ + ID: 52, + type: "item", + R: .25 + }] + }, { + ID: 72, + R: 1, + drops: [{ + ID: 52, + type: "item", + R: .2 + }] + }, { + ID: 14, + R: 1 + }, { + ID: 41, + R: 1 + }], + req: [{ + type: "item", + ID: 52, + N: 1 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [110, 300], + name: "Popular Mechanic", + desc: "Look for Mechanic Lumiot and defeat him.", + start: [27, 28], + during: [], + complete: [13], + encounter: [{ + ID: 21, + nickname: "Mechanic Lumiot", + R: 1 + }, { + ID: 20, + R: 3 + }, { + ID: 13, + R: 3 + }, { + ID: 56, + R: 3 + }, { + ID: 41, + R: 3 + }], + req: [{ + type: "pet", + ID: 21, + N: 1 + }], + reward: [{ + type: "spell", + ID: 28 + }] + }, { + coords: [0, 225], + name: "Who's in Charge?", + desc: "Find and defeat a cloaker, and collect its charge stone.", + start: [29, 30, 31], + during: [], + complete: [0], + encounter: [{ + ID: 90, + R: 1, + drops: [{ + ID: 54, + type: "item", + R: 1 + }] + }, { + ID: 56, + R: 3 + }, { + ID: 5, + R: 1 + }, { + ID: 85, + R: 3 + }, { + ID: 4, + R: 3 + }], + req: [{ + type: "item", + ID: 54, + N: 1 + }], + reward: [{ + type: "outfit", + N: 1, + ID: 5 + }] + }, { + coords: [110, 190], + name: "Stormy Weather", + desc: "Defeat different storm monsters to charge the stone.", + start: [32], + during: [], + complete: [0], + encounter: [{ + ID: 15, + R: 1 + }, { + ID: 21, + R: 2 + }, { + ID: 57, + R: 3 + }, { + ID: 5, + R: 2 + }, { + ID: 41, + R: 2 + }], + req: [{ + type: "pet", + ID: 15, + N: 1 + }, { + type: "pet", + ID: 21, + N: 3 + }, { + type: "pet", + ID: 57, + N: 5 + }], + reward: [{ + type: "weapon", + N: 1, + ID: 23 + }] + }, { + coords: [225, 150], + name: "King of the Hill", + desc: "Defeat King Tortox and complete the last trial!", + start: [33, 34], + during: [35], + complete: [13, 36, 37, 38], + boss: { + ID: 5, + element: "storm", + attacks: [4, 10, 16, 25, 26, 27, 28, 29, 30], + name: "King Tortox" + }, + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "spell", + ID: 29 + }] + }] +}; +var Volcano = function () { + function e(t) { + WalkableScreen.call(this, t, e.DATA), this.assets = ["npc-sprite-mugs", "npc-sprite-merchant", "tileset-core"], this.area = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4, 0], [3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0], [3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 0], [3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4]], this.playerX = 540, this.playerY = 460 + } + return e.prototype = Object.create(WalkableScreen.prototype), e.prototype.create = function () { + WalkableScreen.prototype.create.call(this, [], "volcano-0") + }, e.prototype.screenSetup = function () { + WalkableScreen.prototype.screenSetup.call(this), new Prodigy.Container.QuestNPC(this.game, this.content, 800, 500, e.DATA, { + name: "Chef Mugs", + atlas: "mugs" + }), this.createStoreNPC(630, 280, e.STORE); + for (var t = 0; 30 > t; t++) { + var i = this.game.prodigy.create.sprite(1032, 234, "icons", "smoke"); + this.background.add(i), i.anchor.setTo(.5, .5), i.scale.x = i.scale.y = .1, i.x = 1032 + Math.floor(-20 + 40 * Math.random()), i.y = 234, i.alpha = 1, i.angle = Math.floor(360 * Math.random()), this.game.add.tween(i).to({ + y: 0, + alpha: 0 + }, 4e3, Phaser.Easing.Linear.None, !1, 0, 1e3, !1).delay(100 * t).start(), this.game.add.tween(i.scale).to({ + x: .75, + y: .75 + }, 4e3, Phaser.Easing.Linear.None, !1, 0, 1e3, !1).delay(100 * t).start() + } + var a = [{ + pre: "Firelord ", + req: [{ + rtype: "item", + type: "outfit", + ID: 34 + }, { + rtype: "item", + type: "hat", + ID: 38 + }, { + rtype: "item", + type: "weapon", + ID: 64 + }], + fail: "You need to buy the Bonfire Spire set to unlock!" + }, { + pre: "Flamewielder ", + req: [{ + rtype: "quest", + zone: 5, + Q: 15 + }], + fail: "You need to complete the Bonfire Spire quests to unlock!" + }, { + pre: "Pyromancer ", + req: [{ + rtype: "pet", + ID: 97 + }], + fail: "You need to catch an Embershed to unlock!" + }, { + pre: "Coalwalker ", + member: !0, + fail: "You need to become a member to unlock!" + }, { + post: " the Hottie", + member: !0, + fail: "You need to become a member to unlock!" + }, { + post: " the Firedancer", + member: !0, + fail: "You need to become a member to unlock!" + }]; + this.addNicknamer(340, 540, a), new HealEvent(this.game, this.content, this.user, this.path, 253, 434) + }, e.prototype.toCloud = function () {}, e.prototype.toDino = function () { + this.game.state.states.Dino.playerX = 1195, this.game.state.states.Dino.playerY = 560, this.game.state.start("Dino") + }, e.prototype.toPlains = function () { + this.game.state.states.Plains.playerX = 150, this.game.state.states.Plains.playerY = 115, this.game.state.start("Plains") + }, e +}(); +Volcano.STORE = { + name: "Hot Hot Threads", + items: [{ + ID: 38, + type: "hat" + }, { + ID: 64, + type: "weapon" + }, { + ID: 34, + type: "outfit" + }, { + ID: 48, + type: "pet" + }] +}, Volcano.AUDIO = [{ + tag: "voice-7", + s: 0, + d: 1 + }, { + tag: "voice-7", + s: 1, + d: 1 + }, { + tag: "voice-7", + s: 2, + d: 2 + }, { + tag: "voice-7", + s: 4, + d: 2 + }, { + tag: "voice-7", + s: 6, + d: 2 + }, { + tag: "voice-7", + s: 8, + d: 2 + }], Volcano.DATA = { + ID: 5, + tag: "Volcano", + zoneName: "zone-volcano", + atlas: "zone-volcano", + fullName: "Bonfire Spire", + icon: "zone-fire", + battle: { + screen: "bg-battle-volcano", + encounter: [{ + ID: 7 + }, { + ID: 23 + }, { + ID: 27 + }, { + ID: 34 + }, { + ID: 37 + }, { + ID: 38 + }, { + ID: 45 + }, { + ID: 48 + }, { + ID: 63 + }, { + ID: 75 + }, { + ID: 94 + }, { + ID: 97 + }] + }, + dialogue: [{ + face: 1, + anim: 2, + text: "Well lookit that! You're some assistant!", + audio: Volcano.AUDIO[3] + }, { + face: 0, + anim: 2, + text: "Think ye can help me out, shortstuff?", + audio: Volcano.AUDIO[2] + }, { + face: 3, + anim: 4, + text: "HO THERE! WHAT ARE YE DOIN'?!", + audio: Volcano.AUDIO[1] + }, { + face: 6, + anim: 0, + text: "Ye can't just walk away without tastin' me favorite recipe: \n\nSauteed Octupus Stew!", + audio: Volcano.AUDIO[0] + }, { + face: 5, + anim: 1, + text: "...Well? What do ye think?" + }, { + face: 5, + anim: 0, + text: "..." + }, { + face: 6, + anim: 0, + text: "...It's terrible, isn't it?" + }, { + face: 7, + anim: 3, + text: "ARGH! I KNEW IT! \nI may be a dwarf, but I can't cook a carrot's worth!", + audio: Volcano.AUDIO[1] + }, { + face: 3, + anim: 0, + text: "Me name is Chef Mugs, I own that restaurant you see over there, and I could really use a new assistant wizard.", + audio: Volcano.AUDIO[5] + }, { + face: 0, + anim: 0, + text: "If ye want to help, first go defeat some Tinygers for me. Those blasted monsters keep stealin' my ingredients!" + }, { + face: 0, + anim: 0, + text: "Bonfire Spire is home to the dwarves, and it makes a PERFECT oven for fine cookin'!", + audio: Volcano.AUDIO[4] + }, { + face: 6, + anim: 4, + text: "Sure it's dangerous, but we're DWARVES! We ain't scared o' nothin'!", + audio: Volcano.AUDIO[0] + }, { + face: 2, + anim: 0, + text: "But monsters live here too and cause problems. Go defeat some sprites and take back my ingredients!" + }, { + face: 3, + anim: 1, + text: "A good start, but even with these ingredients, I still can't cook! I need an UNBEATABLE recipe!", + audio: Volcano.AUDIO[1] + }, { + face: 2, + anim: 0, + text: "I have an idea, but first you'll need to clear out the entrance to the volcano for me." + }, { + face: 6, + anim: 4, + text: "BWAHAHA! You're good enough for a new spell, I think!", + audio: Volcano.AUDIO[0] + }, { + face: 5, + anim: 4, + text: "There's an old legend that says an AMAZING recipe is hidden inside the volcano.", + audio: Volcano.AUDIO[1] + }, { + face: 6, + anim: 0, + text: "Its ingredients are the rarest, and the recipe itself is guarded by the scariest monsters around!" + }, { + face: 4, + anim: 2, + text: "With this recipe, I'd become the GREATEST DWARF CHEF EVER!", + audio: Volcano.AUDIO[4] + }, { + face: 2, + anim: 0, + text: "... But first, I need to find the darn thing. The volcano is dark, so we need a light! Go gather me some fire flowers from Pucks." + }, { + face: 2, + anim: 0, + text: "We should be able to find the recipe behind the Door of the Secret Recipe. \nThe door is locked, of course.", + audio: Volcano.AUDIO[1] + }, { + face: 6, + anim: 0, + text: "I've heard that the Volcano Lord gave the key to an Emburn. I guess you should just defeat some until they drop it?" + }, { + face: 2, + anim: 4, + text: "You got the key! Now, to find the door...", + audio: Volcano.AUDIO[3] + }, { + face: 1, + anim: 0, + text: "The volcano is a tricky maze, but with a map, it should be easy as pie! I'll bet we can find one on a monster inside!" + }, { + face: 5, + anim: 4, + text: "You found it! With the key and the location, I'll find the recipe in no time!", + audio: Volcano.AUDIO[3] + }, { + face: 2, + anim: 0, + text: "...it looks like it's in the lowest cavern of the volcano. Lots of monsters down there...clear the way for me, assistant!", + audio: Volcano.AUDIO[1] + }, { + face: 5, + anim: 2, + text: "AHA! I've got it! The legendary recipe for BONFIRE MEATBALL SANDWICHES!", + audio: Volcano.AUDIO[4] + }, { + face: 6, + anim: 0, + text: "My beard is twitching with excitement! Let's read it!", + audio: Volcano.AUDIO[1] + }, { + face: 2, + anim: 0, + text: "The first ingredient is chicken. Easy...I think. Just go defeat some dragic, they love chicken!" + }, { + face: 7, + anim: 0, + text: "I guess they didn't have it. Maybe some draglings will?", + audio: Volcano.AUDIO[1] + }, { + face: 3, + anim: 0, + text: "These next few ingredients I already have...or at least I HAD them before they were stolen." + }, { + face: 7, + anim: 3, + text: "I used to have another assistant named Alfredo, but when he left, he stole them from me." + }, { + face: 6, + anim: 0, + text: "Do me a favor: find Alfredo and GET MY INGREDIENTS BACK!", + audio: Volcano.AUDIO[1] + }, { + face: 7, + anim: 4, + text: "This is only ONE of the ingredients! I need MORE for this recipe!", + audio: Volcano.AUDIO[1] + }, { + face: 2, + anim: 0, + text: "I suppose he must have given them to HIS assistant Pesto, and Pesto's assistants! Track them down, and get them for me!" + }, { + face: 1, + anim: 4, + text: "Now that we have all the ingredients, we need to cook it in an oven!" + }, { + face: 3, + anim: 1, + text: "...Which would be easy, except mine is broken. That's okay, go defeat some hotpots, they're basically ovens anyways!", + audio: Volcano.AUDIO[0] + }, { + face: 5, + anim: 4, + text: "The recipe is completed! It looks even better than it sounds! I MUST HAVE A BITE!", + audio: Volcano.AUDIO[4] + }, { + face: 2, + anim: 1, + text: "...But I won't! I must save it for the food critics, and I'll need their help to save my reputation!" + }, { + face: 3, + anim: 0, + text: "Unfortunately, this recipe is useless to me unless we get rid of the Spice Guys!" + }, { + face: 6, + anim: 0, + text: "They're the meanest food critics around, and they really hate my restaurant! Challenge them and maybe you'll change their minds!" + }, { + face: 3, + anim: 4, + text: "OH NO! While you were battling the Spice Guys, their 5th member came and stole my recipe!" + }, { + face: 2, + anim: 0, + text: "I didn't even KNOW there were 5 of them anymore! Go get it back, assistant!", + audio: Volcano.AUDIO[0] + }, { + face: 3, + anim: 0, + text: "Uh oh...I was afraid of this..." + }, { + face: 6, + anim: 4, + text: "The Volcano Lord - Slow-Cooker - heard about our recipe, and he's come to gobble it up for himself!" + }, { + face: 5, + anim: 2, + text: "You must defeat him, assistant! For me! For the dwarves! FOR BONFIRE SPIRE!", + audio: Volcano.AUDIO[1] + }, { + face: 6, + anim: 4, + text: "Slow-Cooker is here, and he's HUNGRY!" + }, { + face: 5, + anim: 2, + text: "BWAHAHA! Ya beat Slow-Cooker! And he's supposed to be the VOLCANO LORD!", + audio: Volcano.AUDIO[0] + }, { + face: 0, + anim: 0, + text: "With him gone and this new recipe, my restaurant will be the most popular on the island!" + }, { + face: 6, + anim: 4, + text: "You're the best assistant I ever had! Feel free to visit my restaurant anytime!" + }], + quests: [{ + coords: [110, 300], + name: "Chef's Assistant", + desc: "Mugs needs your help! Defeat the Tinygers that stole his ingredients", + start: [2, 3, 4, 5, 6, 7, 8, 9], + during: [], + complete: [0], + encounter: [{ + ID: 23 + }], + req: [{ + type: "pet", + ID: 23, + N: 2 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [0, 225], + name: "Three Bags o' Problems", + desc: "Defeat sprites and take back Mugs's ingredients.", + start: [10, 11, 12], + during: [], + complete: [0], + encounter: [{ + ID: 63, + drops: [{ + ID: 44, + type: "item", + R: 1 + }] + }], + req: [{ + type: "item", + ID: 44, + N: 3 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [0, 75], + name: "Out Of My Way!", + desc: "Defeat the monsters blocking the way into the volcano", + start: [13, 14], + during: [], + complete: [15], + encounter: [{ + ID: 27, + R: 1 + }, { + ID: 63, + R: 1 + }], + req: [{ + type: "pet", + ID: 27, + N: 2 + }, { + type: "pet", + ID: 63, + N: 3 + }], + reward: [{ + type: "spell", + ID: 1 + }] + }, { + coords: [110, 0], + name: "To Light the Way", + desc: "Gather fire flowers from monsters to light the way inside", + start: [16, 17, 18, 19], + during: [], + complete: [0], + encounter: [{ + ID: 75, + R: 2, + drops: [{ + ID: 33, + type: "item", + R: .5 + }] + }, { + ID: 27, + R: 1, + drops: [{ + ID: 33, + type: "item", + R: .75 + }] + }], + req: [{ + type: "item", + ID: 33, + N: 3 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [110, 110], + name: "Needle in a Haystack", + desc: "Defeat Emburns until one of them drops the key", + start: [20, 21], + during: [], + complete: [0], + encounter: [{ + ID: 38, + R: .75, + drops: [{ + ID: 59, + type: "item", + R: .25 + }] + }, { + ID: 23, + R: .25 + }], + req: [{ + type: "item", + ID: 59, + N: 1 + }], + reward: [{ + type: "boots", + N: 1, + ID: 28 + }] + }, { + coords: [225, 60], + name: "Who, What, WHERE?", + desc: "One of these monsters is carrying a map...check it out!", + start: [22, 23], + during: [], + complete: [15], + encounter: [{ + ID: 63, + nickname: "Map-Carrying Neek", + R: .2, + drops: [{ + ID: 56, + type: "item", + R: 1 + }] + }, { + ID: 63, + R: .8 + }], + req: [{ + type: "item", + N: 1, + ID: 56 + }], + reward: [{ + type: "spell", + ID: 2 + }] + }, { + coords: [335, 110], + name: "Too Many Monsters", + desc: "Mugs needs you to clear out the lower caverns. Defeat some monsters for him", + start: [24, 25], + during: [], + complete: [0], + encounter: [{ + ID: 94, + R: 5 + }, { + ID: 37, + R: 1 + }], + req: [{ + type: "pet", + ID: 94, + N: 5 + }, { + type: "pet", + ID: 37, + N: 2 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [335, 0], + name: "The Legendary Shopping List", + desc: "You've got a list of ingredients, and the first is chicken! Gather it from the dragic", + start: [26, 27, 5, 28], + during: [], + complete: [0], + encounter: [{ + ID: 7, + R: 1 + }, { + ID: 27, + R: 4 + }], + req: [{ + type: "pet", + ID: 7, + N: 3 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [450, 75], + name: "I Feel Like Chicken Tonight!", + desc: "It looks like the dragling are the ones with the chicken! Defeat them!", + start: [29], + during: [], + complete: [15], + encounter: [{ + ID: 8, + R: 3, + nickname: "Chicken-loving Dragling", + drops: [{ + ID: 22, + type: "item", + R: .5 + }] + }, { + ID: 7, + R: 1 + }, { + ID: 23, + R: 1 + }], + req: [{ + type: "item", + ID: 22, + N: 4 + }], + reward: [{ + type: "spell", + ID: 3 + }] + }, { + coords: [450, 225], + name: "Main Dish Alfredo", + desc: "Mugs' assistant Alfredo has stolen the spices! Find him and take it back.", + start: [30, 31, 32], + during: [], + complete: [0], + encounter: [{ + ID: 23, + nickname: "Assistant Alfredo", + R: 1, + drops: [{ + ID: 45, + type: "item", + R: 1 + }] + }, { + ID: 27, + R: 4 + }, { + ID: 64, + R: 4 + }, { + ID: 94, + R: 4 + }], + req: [{ + type: "item", + ID: 45, + N: 1 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [335, 300], + name: "Pesto On the Side", + desc: "Find the remaining assistants and get those ingredients!", + start: [33, 34], + during: [], + complete: [0], + encounter: [{ + ID: 76, + nickname: "Assistant Pesto", + R: 1, + drops: [{ + ID: 13, + type: "item", + R: 1 + }] + }, { + ID: 63, + nickname: "Pesto's Assistant", + R: 7, + drops: [{ + ID: 1, + type: "item", + R: .5 + }] + }, { + ID: 75, + nickname: "Pesto's Assistant", + R: 3, + drops: [{ + ID: 4, + type: "item", + R: .75 + }] + }], + req: [{ + type: "item", + ID: 13, + N: 1 + }, { + type: "item", + ID: 1, + N: 4 + }, { + type: "item", + ID: 4, + N: 2 + }], + reward: [{ + type: "hat", + N: 1, + ID: 11 + }] + }, { + coords: [335, 190], + name: "Shake and Bake", + desc: "Defeat some hotpots to cook the sandwich", + start: [35, 36], + during: [], + complete: [15], + encounter: [{ + ID: 34, + R: .25 + }, { + ID: 27, + R: .25 + }, { + ID: 37, + R: .25 + }, { + ID: 63, + R: .25 + }], + req: [{ + type: "pet", + ID: 34, + N: 3 + }], + reward: [{ + type: "spell", + ID: 4 + }] + }, { + coords: [225, 240], + name: "Spice Up Your Life", + desc: "Defeat the Spice Guys for Mugs to save his reputation", + start: [37, 38, 39, 40], + during: [], + complete: [0], + pets: [{ + ID: 27, + nickname: "Tasty Spice" + }, { + ID: 8, + nickname: "Bitter Spice" + }, { + ID: 64, + nickname: "Flavor Spice" + }, { + ID: 45, + nickname: "Much Spice" + }], + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "weapon", + N: 1, + ID: 18 + }] + }, { + coords: [110, 190], + name: "Too Much Spice", + desc: "The fifth Spice Guy stole the sandwich! Find him and get it back!", + start: [41, 42], + during: [], + complete: [0], + encounter: [{ + ID: 97, + nickname: "Super Spice", + R: 1 + }, { + ID: 63, + R: 4 + }, { + ID: 34, + R: 3 + }, { + ID: 27, + R: 4 + }, { + ID: 37, + R: 1 + }], + req: [{ + type: "pet", + ID: 97, + N: 1 + }], + reward: [{ + type: "outfit", + N: 1, + ID: 8 + }] + }, { + coords: [225, 150], + name: "Turn Up the Heat", + desc: "The Volcano Lord is coming for your sandwich! Defeat him!", + start: [43, 44, 45], + during: [46], + complete: [47, 48, 49], + boss: { + ID: 7, + element: "fire", + attacks: [1, 2, 3, 4, 5, 6, 10, 16, 22, 29], + name: "Slow-Cooker" + }, + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "spell", + ID: 5 + }] + }] +}; +var Forest = function () { + function e(t) { + WalkableScreen.call(this, t, e.DATA), this.assets = ["tileset-core", "npc-sprite-flora", "npc-sprite-noot", "npc-face-noot", "npc-sprite-merchant"], this.area = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3]], this.playerX = 646, this.playerY = 380 + } + return e.prototype = Object.create(WalkableScreen.prototype), e.prototype.create = function () { + WalkableScreen.prototype.create.call(this, [], "Forest") + }, e.prototype.screenSetup = function () { + WalkableScreen.prototype.screenSetup.call(this), new Prodigy.Container.QuestNPC(this.game, this.content, 345, 530, e.DATA, { + name: "Flora", + atlas: "flora" + }); + for (var t = [[438, 240], [144, 317], [935, 610]], a = 0; a < t.length; a++); + for (var i = 140, r = [[438, 240 - i], [144, 317 - i], [935, 610 - i], [870, 104], [1077, 180]], a = 0; a < r.length; a++); + this.createStoreNPC(970, 270, [e.STORE]); + var o = [{ + post: " of the Forest", + req: [{ + rtype: "item", + type: "outfit", + ID: 29 + }, { + rtype: "item", + type: "hat", + ID: 33 + }, { + rtype: "item", + type: "weapon", + ID: 24 + }], + fail: "You need to buy the Firefly Forest set to unlock!" + }, { + pre: "Botanist ", + req: [{ + rtype: "quest", + zone: 1, + Q: 15 + }], + fail: "You need to complete the Firefly Forest quests to unlock!" + }, { + post: " the Green", + req: [{ + rtype: "pet", + ID: 54 + }], + fail: "You need to catch Vinequeen to unlock!" + }, { + pre: "Forestwalker ", + member: !0, + fail: "You need to become a member to unlock!" + }, { + pre: "Wild ", + member: !0, + fail: "You need to become a member to unlock!" + }, { + post: " the tree", + member: !0, + fail: "You need to become a member to unlock!" + }]; + this.addNicknamer(560, 280, o); + }, e.prototype.createHealerNPC = function (e, t, a) { + var s = new Prodigy.Container.QuestNPC(this.game, this.content, e, t, null, { + atlas: "noot", + name: "Healer" + }, this.tryHeal.bind(this), a); + return s.setIndicator("heal"), s + }, e.prototype.tryHeal = function () { + var e = function (e) { + e.prodigy.player.getGold() < 0 ? e.prodigy.dialogue.setText({ + text: "Uh oh! You don't have enough gold!", + face: 4 + }) : (e.prodigy.player.heal(), e.prodigy.dialogue.setText({ + text: "You're all healed! Come visit me again if you run low on hearts!", + face: 2, + anim: 4 + })), e.prodigy.dialogue.start("noot") + }; + this.game.prodigy.dialogue.setText({ + text: "Hey there! Want me to heal you and your pets?", + face: 3, + yes: e.bind(this, this.game) + }), this.game.prodigy.dialogue.start("noot") + }, e.prototype.toTown = function () { + this.game.state.states.TownSquare.playerX = 210, this.game.state.states.TownSquare.playerY = 220, this.game.state.start("TownSquare") + }, e.prototype.toCave = function () { + this.game.prodigy.world.teleport("tutorial-D8", 160, 590) + }, e +}(); +Forest.STORE = { + name: "Firefly Outfitters", + atlas: "store-forest", + pages: [{ + maleTag: "male", + femaleTag: "female", + items: [{ + ID: 33, + type: "hat" + }, { + ID: 24, + type: "weapon" + }, { + ID: 29, + type: "outfit" + }] + }, { + tag: "pet", + items: [{ + ID: 36, + type: "pet" + }] + }] +}, Forest.AUDIO = [{ + tag: "voice-8", + s: 0, + d: 1 +}, { + tag: "voice-8", + s: 1, + d: 1 +}, { + tag: "voice-8", + s: 2, + d: 2 +}, { + tag: "voice-8", + s: 4, + d: 1 +}, { + tag: "voice-8", + s: 5, + d: 2 +}, { + tag: "voice-8", + s: 7, + d: 2 +}, { + tag: "voice-8", + s: 9, + d: 2 +}], Forest.DATA = { + ID: 1, + tag: "Forest", + zoneName: "zone-forest-2", + atlas: "zone-forest-2", + fullName: "Firefly Forest", + icon: "zone-earth", + battle: { + screen: "bg-battle-forest", + encounter: [{ + ID: 1 + }, { + ID: 16 + }, { + ID: 20 + }, { + ID: 23 + }, { + ID: 29 + }, { + ID: 31 + }, { + ID: 32 + }, { + ID: 35 + }, { + ID: 52 + }, { + ID: 55 + }, { + ID: 58 + }, { + ID: 59 + }, { + ID: 62 + }, { + ID: 69 + }, { + ID: 81 + }] + }, + dialogue: [{ + face: 1, + anim: 2, + text: "Wow! The forest thanks you for your help!", + audio: Forest.AUDIO[3] + }, { + face: 0, + anim: 2, + text: "Want to give me a hand?", + audio: Forest.AUDIO[1] + }, { + face: 5, + anim: 4, + text: "OH! What's this? A VISITOR?", + audio: Forest.AUDIO[0] + }, { + face: 4, + anim: 2, + text: "And a WIZARD, too? OH. MY. GOSH!", + audio: Forest.AUDIO[4] + }, { + face: 1, + anim: 0, + text: "I'm Flora, and I LOVE wizards! So helpful! And I sure need help...oh yes I do!", + audio: Forest.AUDIO[5] + }, { + face: 3, + anim: 0, + text: "But don't worry! If you help me out, I'll teach you the ways of the forest...EARTH SPELLS!" + }, { + face: 0, + anim: 0, + text: "Deal? DEAL! First, defeat some trip trops! ...Why? \nCAUSE THEY'RE TRAMPLING MY GARDEN!", + audio: Forest.AUDIO[2] + }, { + face: 1, + anim: 4, + text: "You really are a wizard! See, this is Firefly Forest, and this forest has PROBLEMS." + }, { + face: 6, + anim: 0, + text: "The monsters are going crazy, there's junk everywhere, our guardian is missing, and my garden is RUINED!", + audio: Forest.AUDIO[2] + }, { + face: 7, + anim: 0, + text: "So maybe you can keep helping me...? I sure could use some seeds to fix my garden." + }, { + face: 2, + anim: 3, + text: "Ok, so it's time to teach those trespassing monsters a lesson! \nFaeries are VERY territorial!", + audio: Forest.AUDIO[1] + }, { + face: 4, + anim: 4, + text: "HEY! You deserve to learn a new spell!", + audio: Forest.AUDIO[1] + }, { + face: 6, + anim: 1, + text: "That should take care of my garden, but we still have a big problem... \nGARBAGE!", + audio: Forest.AUDIO[2] + }, { + face: 7, + anim: 0, + text: "There's garbage EVERYWHERE! Monsters sometimes like to litter, so go defeat some and bring back their junk!", + audio: Forest.AUDIO[6] + }, { + face: 1, + anim: 0, + text: "I'll just throw this away for you!" + }, { + face: 3, + anim: 1, + text: "Garbage...GROSS! \nI don't even like touching it...", + audio: Forest.AUDIO[6] + }, { + face: 5, + anim: 0, + text: "HEY! That gives me an idea! Go defeat a forest neek and bring back a mandrake!", + audio: Forest.AUDIO[0] + }, { + face: 0, + anim: 0, + text: "Most people don't know this, but mandrakes are actually ALIVE AND ADORABLE!", + audio: Forest.AUDIO[4] + }, { + face: 2, + anim: 4, + text: "Well, this one will be when it touches water, but we need some water first... \nI know! Go defeat the 'Pondfathers'!", + audio: Forest.AUDIO[3] + }, { + face: 6, + anim: 0, + text: "They're a bunch of hooligans who love a good challenge, and they also love water spells!" + }, { + face: 4, + anim: 2, + text: "YAY! IT'S...ALIVE! AND ADORABLE!", + audio: Forest.AUDIO[4] + }, { + face: 0, + anim: 0, + text: "Now the mandrake can help pick up the garbage, so we can focus on bigger things!" + }, { + face: 6, + anim: 0, + text: "First, we should find out who is making the monsters all crazy. We'll have to go deeper into the forest, so you'll have to clear the way.", + audio: Forest.AUDIO[3] + }, { + face: 2, + anim: 3, + text: "Hmmm...one of those was a shade, wasn't it? Those guys creep me out!", + audio: Forest.AUDIO[2] + }, { + face: 7, + anim: 0, + text: "...I wonder if 'The Polluter' is back? He's a shade, and he's MEAN! But how do we know for sure that he's back?" + }, { + face: 5, + anim: 4, + text: "I know! Defeat some more of them and bring back any gems they might have!", + audio: Forest.AUDIO[3] + }, { + face: 6, + anim: 1, + text: "OH NO! These are the gems carried by the Polluter's henchmen! He must be back somehow!", + audio: Forest.AUDIO[2] + }, { + face: 6, + anim: 0, + text: "Go look for him, and defeat him for me! Careful, he's REEEEALLY spooky!", + audio: Forest.AUDIO[3] + }, { + face: 7, + anim: 0, + text: "DARN! He got away before I could question him! He's just... \n\nTOO SPOOKY!", + audio: Forest.AUDIO[2] + }, { + face: 6, + anim: 4, + text: "We need to catch him again! He might know where the forest guardian is!" + }, { + face: 2, + anim: 4, + text: "I wonder if we can ask...CAPTAIN FIREFLY! He's the Polluter's nemesis, everyone knows that!", + audio: Forest.AUDIO[1] + }, { + face: 0, + anim: 0, + text: "To summon him, we'll need five special rings. Unfortunately, monsters stole them, so you'll have to get them back!" + }, { + face: 5, + anim: 4, + text: "You got the rings! It's time to summon CAPTAIN FIREFLY!", + audio: Forest.AUDIO[3] + }, { + face: 2, + anim: 0, + text: "Uhhh...you MAY have to defeat him...he gets grumpy when he wakes up.", + audio: Forest.AUDIO[1] + }, { + face: 2, + anim: 0, + text: "Huh...I guess Captain Firefly IS a firefly. Or a firefly dragon. NEAT!" + }, { + face: 0, + anim: 0, + text: "I had a talk with him before he left. He said that the Polluter was the one who captured the forest guardian, and locked him in the big tree!", + audio: Forest.AUDIO[2] + }, { + face: 3, + anim: 0, + text: "To get him back, we'll have to defeat the Polluter. First, we'll lure him in by building a SMOG MACHINE!", + audio: Forest.AUDIO[6] + }, { + face: 1, + anim: 0, + text: "Collect some machine parts from various monsters so we can build it!" + }, { + face: 0, + anim: 4, + text: "Good! The machine is powered by fire monsters, so you'll have to defeat a few to get them to help us.", + audio: Forest.AUDIO[0] + }, { + face: 1, + anim: 4, + text: "The smog machine is working! All we have to do now is find the Polluter again and defeat him!", + audio: Forest.AUDIO[3] + }, { + face: 6, + anim: 0, + text: "He'll probably be hiding with other shades...but the real one will have a key drop when defeated!" + }, { + face: 1, + anim: 4, + text: "This must be the key to the big tree! I'll bet the guardian is inside!", + audio: Forest.AUDIO[3] + }, { + face: 2, + anim: 0, + text: "I`ll open the door for you, but be prepared! The guardian is probably gonna be REAL mad!" + }, { + face: 3, + anim: 1, + text: "LOOK OUT! Here comes the forest guardian!", + audio: Forest.AUDIO[2] + }, { + face: 5, + anim: 4, + text: "WOW! You`re really good! The BEST, I think!", + audio: Forest.AUDIO[1] + }, { + face: 4, + anim: 2, + text: "The forest guardian thanks you too! Now that he`s back, the Polluter should stay away. For GOOD!" + }, { + face: 1, + anim: 0, + text: "Maybe when you train more, you could come back and become the NEW forest guardian?" + }, { + face: 7, + anim: 1, + text: "The current one is getting kinda old...and GRUMPY!", + audio: Forest.AUDIO[1] + }], + quests: [{ + coords: [110, 0], + name: "Get Off My Lawn!", + desc: "Flora wants you to defeat the trip trops in her garden", + start: [2, 3, 4, 5, 6], + during: [], + complete: [0], + encounter: [{ + ID: 59 + }], + req: [{ + type: "pet", + ID: 59, + N: 2 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [0, 75], + name: "The Seed is Planted", + desc: "Defeat saplettes and bring back the seeds they carry", + start: [7, 8, 9], + during: [], + complete: [0], + encounter: [{ + ID: 52, + drops: [{ + ID: 58, + type: "item", + R: 1 + }] + }], + req: [{ + type: "item", + ID: 58, + N: 3 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [0, 225], + name: "Unwelcome Visitors", + desc: "Defeat the monsters trespassing on Flora's property", + start: [10], + during: [], + complete: [11], + encounter: [{ + ID: 59, + R: 1 + }, { + ID: 55, + R: 1 + }], + req: [{ + type: "pet", + ID: 59, + N: 2 + }, { + type: "pet", + ID: 55, + N: 1 + }], + reward: [{ + type: "spell", + ID: 13 + }] + }, { + coords: [110, 190], + name: "Litter Miss Perfect", + desc: "Flora needs you to defeat monsters and bring back their garbage", + start: [12, 13], + during: [], + complete: [14, 0], + encounter: [{ + ID: 52, + R: 2, + drops: [{ + ID: 2, + type: "item", + R: .5 + }] + }, { + ID: 81, + R: 1, + drops: [{ + ID: 2, + type: "item", + R: .75 + }] + }], + req: [{ + type: "item", + ID: 2, + N: 3 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [110, 110], + name: "Budding Gardener", + desc: "Flora wants you to collect a mandrake from a forest neek for... reasons?", + start: [15, 16], + during: [], + complete: [0], + encounter: [{ + ID: 69, + R: .75, + drops: [{ + ID: 24, + type: "item", + R: .25 + }] + }, { + ID: 55, + R: .25 + }], + req: [{ + type: "item", + ID: 24, + N: 1 + }], + reward: [{ + type: "boots", + N: 1, + ID: 24 + }] + }, { + coords: [225, 60], + name: "The Pondfather", + desc: "Defeat the Pondfathers and water the mandrake", + start: [17, 18, 19], + during: [], + complete: [11], + pets: [{ + ID: 66, + nickname: "The Pondfather" + }, { + ID: 66, + nickname: "The Pondfather II" + }, { + ID: 66, + nickname: "The Pondfather III" + }], + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "spell", + ID: 14 + }] + }, { + coords: [335, 0], + name: "Get, Move, Scoot!", + desc: "Flora needs you to defeat the monsters standing in the way of the forest path", + start: [20, 21, 22], + during: [], + complete: [0], + encounter: [{ + ID: 81, + R: 5 + }, { + ID: 92, + R: 1 + }], + req: [{ + type: "pet", + ID: 81, + N: 5 + }, { + type: "pet", + ID: 92, + N: 2 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [335, 110], + name: "Suspicious Minds", + desc: "Defeat more shades and bring back any gems they are carrying", + start: [23, 24, 25], + during: [], + complete: [0], + encounter: [{ + ID: 92, + R: 2, + drops: [{ + ID: 21, + type: "item", + R: 1 + }] + }, { + ID: 1, + R: 2 + }, { + ID: 52, + R: 2 + }], + req: [{ + type: "item", + ID: 21, + N: 4 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [335, 190], + name: "Spookulous", + desc: "Look for the Polluter, and defeat him", + start: [26, 27], + during: [], + complete: [11], + encounter: [{ + ID: 92, + R: 1, + nickname: "The Polluter" + }, { + ID: 59, + R: 3 + }, { + ID: 29, + R: 3 + }, { + ID: 55, + R: 3 + }], + req: [{ + type: "pet", + ID: 92, + N: 1 + }], + reward: [{ + type: "spell", + ID: 15 + }] + }, { + coords: [450, 75], + name: "The Power is Yours!", + desc: "Collect the five special rings used to summon Captain Firefly.", + start: [28, 29, 30, 31], + during: [], + complete: [0], + encounter: [{ + ID: 52, + R: 2, + drops: [{ + ID: 20, + type: "item", + R: .4 + }] + }, { + ID: 69, + R: 2, + drops: [{ + ID: 20, + type: "item", + R: .4 + }] + }, { + ID: 1, + R: 1, + drops: [{ + ID: 20, + type: "item", + R: .75 + }] + }], + req: [{ + type: "item", + ID: 20, + N: 5 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [450, 225], + name: "Captain Firefly", + desc: "Defeat Captain Firefly... he will probably be a bit cranky!", + start: [32, 33], + during: [], + complete: [0], + pets: [{ + ID: 61, + nickname: "Captain Firefly" + }, { + ID: 52, + nickname: "Firefly Teamster" + }, { + ID: 53, + nickname: "Firefly Teamster" + }, { + ID: 54, + nickname: "Firefly Teamster" + }], + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "hat", + N: 1, + ID: 7 + }] + }, { + coords: [335, 300], + name: "Smog is in the Air", + desc: "Collect machine parts to build a smog machine for Flora", + start: [34, 35, 36, 37], + during: [], + complete: [11], + encounter: [{ + ID: 29, + R: 1, + drops: [{ + ID: 49, + type: "item", + R: .25 + }, { + ID: 47, + type: "item", + R: .25 + }, { + ID: 51, + type: "item", + R: .25 + }] + }, { + ID: 52, + R: 1 + }, { + ID: 59, + R: 1 + }], + req: [{ + type: "item", + ID: 49, + N: 2 + }, { + type: "item", + ID: 47, + N: 2 + }, { + type: "item", + ID: 51, + N: 2 + }], + reward: [{ + type: "spell", + ID: 16 + }] + }, { + coords: [110, 300], + name: "Firepower", + desc: "Defeat some fire monsters to power the smog machine", + start: [38], + during: [], + complete: [0], + encounter: [{ + ID: 49, + nickname: "Lost Smoldash", + R: .2 + }, { + ID: 1, + R: .25 + }, { + ID: 31, + R: .25 + }, { + ID: 92, + R: .25 + }], + req: [{ + type: "pet", + ID: 49, + N: 3 + }], + reward: [{ + type: "weapon", + N: 1, + ID: 17 + }] + }, { + coords: [225, 240], + name: "No More Pollution!", + desc: "Defeat shades until you find one that has a key...that's the Polluter", + start: [39, 40], + during: [], + complete: [0], + encounter: [{ + ID: 92, + nickname: "Spooky Shade", + R: 1, + drops: [{ + ID: 59, + type: "item", + R: 1 + }] + }, { + ID: 92, + nickname: "Creepy Shade", + R: 7 + }, { + ID: 92, + nickname: "Scary Shade", + R: 7 + }], + req: [{ + type: "item", + ID: 59, + N: 1 + }], + reward: [{ + type: "outfit", + N: 1, + ID: 3 + }] + }, { + coords: [225, 150], + name: "Guardian Signature", + desc: "The forest guardian has been released, and he is ANGRY! Defeat him!", + start: [41, 42], + during: [43], + complete: [44, 45, 46, 47], + boss: { + ID: 6, + element: "earth", + attacks: [10, 21, 13, 14, 15, 16, 17, 18], + name: "Forest Guardian" + }, + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "spell", + ID: 17 + }] + }] +}; +var Mountain = function() { + function e(t) { + WalkableScreen.call(this, t, e.DATA), this.assets = ["npc-sprite-bok", "npc-sprite-merchant", "tileset-core"], this.area = [ + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + [0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0] + ], this.noSnow = !0, this.playerX = 602, this.playerY = 315 + } + return e.prototype = Object.create(WalkableScreen.prototype), e.prototype.create = function() { + WalkableScreen.prototype.create.call(this, [], "mountain-0") + }, e.prototype.screenSetup = function() { + WalkableScreen.prototype.screenSetup.call(this), this.path.addCallback(3, this.toForest.bind(this)), new Prodigy.Container.QuestNPC(this.game, this.content, 1120, 530, e.DATA, { + name: "Bok and Slip", + atlas: "bok" + }), this.createStoreNPC(1409999999, 300999999999, e.STORE); + for (var t = 0; 30 > t; t++) { + var i = this.game.prodigy.create.sprite(99999999, 999999999, "icons", "sparkle"); + this.background.add(i), i.anchor.setTo(.5, .5), i.scale.x = i.scale.y = .1, i.x = 1032 + Math.floor(-20 + 40 * Math.random()), i.y = 234, i.alpha = 1, i.angle = Math.floor(360 * Math.random()), this.game.add.tween(i).to({ + y: 0, + alpha: 0 + }, 4e3, Phaser.Easing.Linear.None, !1, 0, 1e3, !1).delay(100 * t).start(), this.game.add.tween(i.scale).to({ + x: .75, + y: .75 + }, 4e3, Phaser.Easing.Linear.None, !1, 0, 1e3, !1).delay(100 * t).start() + } + var s = [{ + pre: "Ice Carver ", + req: [{ + rtype: "item", + type: "outfit", + ID: 33 + }, { + rtype: "item", + type: "hat", + ID: 37 + }, { + rtype: "item", + type: "weapon", + ID: 63 + }], + fail: "You need to buy the Shiverchill set to unlock!" + }, { + pre: "Frozen ", + req: [{ + rtype: "quest", + zone: 2, + Q: 15 + }], + fail: "You need to complete the Shivercill Mountain quests to unlock!" + }, { + post: " the Snowman", + req: [{ + rtype: "pet", + ID: 89 + }], + fail: "You need to catch a Flurrious to unlock!" + }, { + pre: "Mountain Climber ", + member: !0, + fail: "You need to become a member to unlock!" + }, { + post: " the Cool", + member: !0, + fail: "You need to become a member to unlock!" + }]; + this.addNicknamer(560, 170, s), new HealEvent(this.game, this.content, this.user, this.path, 796, 388) + }, e.prototype.blinkComplete = function(e) { + e.x = Math.floor(1280 * Math.random()), e.y = Math.floor(720 * Math.random()); + var t = this.game.add.tween(e.scale).to({ + x: 1.2, + y: 1.2 + }, 500, Phaser.Easing.Quadratic.InOut, !0, Math.floor(500 * Math.random()), 0, !0); + t.onComplete.add(this.blinkComplete.bind(this, e), this) + }, e.prototype.toForest = function() { + this.game.prodigy.world.teleport("forest-A3", 640, 380) + }, e.prototype.toDino = function() { + this.game.state.states.Dino.playerX = 210, this.game.state.states.Dino.playerY = 522, this.game.state.start("Dino") + }, e +}(); +Mountain.STORE = { + name: "Snowday Sales", + atlas: "store-mountain", + pages: [{ + maleTag: "male", + femaleTag: "female", + items: [{ + ID: 37, + type: "hat" + }, { + ID: 63, + type: "weapon" + }, { + ID: 33, + type: "outfit" + }] + }, { + tag: "pet", + items: [{ + ID: 50, + type: "pet" + }] + }] +}, Mountain.AUDIO = [{ + tag: "voice-1", + s: 0, + d: 3 +}, { + tag: "voice-1", + s: 3, + d: 3 +}, { + tag: "voice-1", + s: 6, + d: 2 +}, { + tag: "voice-1", + s: 8, + d: 2 +}, { + tag: "voice-1", + s: 10, + d: 2 +}, { + tag: "voice-1", + s: 12, + d: 3 +}, { + tag: "voice-1", + s: 15, + d: 1 +}], Mountain.DATA = { + ID: 2, + tag: "Mountain", + zoneName: "zone-icecave", + atlas: "zone-icecave", + fullName: "Shiverchill Mountain", + icon: "zone-ice", + battle: { + screen: "bg-battle-mountain", + encounter: [{ + ID: 16 + }, { + ID: 50 + }, { + ID: 62 + }, { + ID: 78 + }, { + ID: 87 + }] + }, + dialogue: [{ + text: "Ho! You good at helping, friend!", + face: 5, + audio: Mountain.AUDIO[2], + anim: 2 + }, { + text: "Ready to help Bok?", + face: 5, + audio: Mountain.AUDIO[4] + }, { + text: "Ho there, what this? A new friend for Bok? Oh! Where are manners? I be Bok! This my mountain.", + face: 0, + audio: Mountain.AUDIO[0], + anim: 4 + }, { + text: "Hoot Hoot!", + face: 2, + audio: Mountain.AUDIO[6] + }, { + text: "OH! Right. Slip live here too.", + face: 1, + audio: Mountain.AUDIO[1] + }, { + text: "Did wizard come to help Bok find his pet Muffins? Muffins run away, now Bok sad...", + face: 7, + audio: Mountain.AUDIO[4], + anim: 3 + }, { + text: "Oh! You come here to learn new spells! SNOW spells! Best spell is snow spell, always forever!", + face: 0, + audio: Mountain.AUDIO[5], + anim: 4 + }, { + text: "Bok teach you all snow spells he know, but first you help Bok!", + face: 0 + }, { + text: "Since Muffins run away, many problems in ice cave. Monsters come and steal Bok's food!", + face: 0, + audio: Mountain.AUDIO[3] + }, { + text: "First, go get rascals...they steal food, make Bok angry! Go scare them away!", + face: 6, + anim: 1 + }, { + text: "Those rascals didn't have Bok's food! I bet food stolen by battarams instead. Go find out!", + face: 3, + audio: Mountain.AUDIO[3], + anim: 4 + }, { + text: "Battarams not have food either! Okay, one more idea...go see if snow mans have food!", + face: 7, + audio: Mountain.AUDIO[0], + anim: 4 + }, { + text: "You do good work for Bok...so Bok teach you snow spell!", + face: 4, + audio: Mountain.AUDIO[5], + anim: 2 + }, { + text: "Now Bok have lots of food! But fire monsters from volcano melt Bok's home...you teach them lesson!", + face: 6, + audio: Mountain.AUDIO[3], + anim: 4 + }, { + text: "Now cave is safe, time for Bok to make cave pretty. Go collect flowers from monsters for Bok home.", + face: 0, + anim: 4 + }, { + text: "Look! Bok have visitors! But house not ready...defeat them and make them leave!", + face: 5, + audio: Mountain.AUDIO[1], + anim: 4 + }, { + text: "Snowmen got angry at Bok for taking back food...now they growing bigger! Go defeat snowmen!", + face: 3, + anim: 4 + }, { + text: "I no like snowmen! My pet Muffins no like them too. Go track down their leader 'Frosty' and defeat him! FOR MUFFINS!", + face: 3, + audio: Mountain.AUDIO[1], + anim: 3 + }, { + text: "I'm starting to miss Muffins...I wonder if he'll ever come back?", + face: 3, + audio: Mountain.AUDIO[3] + }, { + text: "I think I have a plan to get Muffins back!", + face: 3, + anim: 4 + }, { + text: "Ok FINE! It was Slip's idea. Anyway, to do it, you'll need to collect some Glacier Diamonds from shardics.", + face: 3, + audio: Mountain.AUDIO[1], + anim: 1 + }, { + text: "Next, I need you to collect some chillymoths from monsters...most monsters seem to like them, especially articlaws.", + face: 3, + anim: 4 + }, { + text: "OK, last step! We need to turn these diamonds into a shiny new ring...to do so, we need burnewts!", + face: 1, + anim: 4 + }, { + text: "We'll use these chillymoths to lure some from the volcano. Defeat them, and maybe they make ring from diamonds!", + face: 1, + audio: Mountain.AUDIO[2], + anim: 4 + }, { + text: "Muffins LOVES jewelry, so this ring should attract him home!", + face: 4 + }, { + text: "When he comes home, he'll have lots of energy, so you should battle him to make tired.", + face: 3 + }, { + text: "HERE COMES MUFFINS!", + face: 3, + audio: Mountain.AUDIO[3], + anim: 1 + }, { + text: "OH NO! Muffins run away again! I think he was just playing with you, anyway. Muffins look mean, but he just playful.", + face: 7, + audio: Mountain.AUDIO[1], + anim: 3 + }, { + text: "I have new plan, now! Muffins not far away, we lure him back with food and music!", + face: 5 + }, { + text: "First, defeat rare clipclops! They play flute when they battle...should lure Muffins back home.", + face: 0 + }, { + text: "Next, I need you to collect items to help me make Muffins' favorite food...muffins!" + }, { + text: "This will lure Muffins back home for sure! Now, try again to defeat him...this time, give it all you got!", + face: 5, + audio: Mountain.AUDIO[1], + anim: 4 + }, { + text: "YOU DID IT! Muffins has calmed down, and I don't think he'll be running away anytime soon!", + face: 5, + audio: Mountain.AUDIO[1], + anim: 0 + }, { + text: "It looks like he's been spending a lot of time in the volcano...not a good place for an ice pet...", + face: 0, + audio: Mountain.AUDIO[5] + }, { + text: "Well, you've really helped me out, friend! Me and Slip owe you, forever!", + face: 5, + audio: Mountain.AUDIO[1], + anim: 2 + }], + quests: [{ + coords: [110, 0], + name: "Bok Hungry!", + desc: "Monsters are stealing Bok's food! Defeat rascals for Bok.", + start: [2, 3, 4, 5, 6, 7, 8, 9], + during: [], + complete: [0, 3], + encounter: [{ + ID: 78 + }], + req: [{ + type: "pet", + ID: 78, + N: 2 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [225, 60], + name: "Bok Still Hungry!", + desc: "Bok has asked you to defeat battarams to look for his food.", + start: [10], + during: [], + complete: [0, 3], + encounter: [{ + ID: 16 + }], + req: [{ + type: "pet", + ID: 16, + N: 2 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [335, 0], + name: "Bok Hungry and Angry!", + desc: "Defeat squallys and take Bok's food back from them.", + start: [11], + during: [], + complete: [0, 12], + encounter: [{ + ID: 87, + drops: [{ + ID: 31, + type: "item", + R: .75 + }] + }], + req: [{ + type: "item", + ID: 31, + N: 3 + }], + reward: [{ + type: "spell", + ID: 19 + }] + }, { + coords: [335, 110], + name: "Hot Hot Hot!", + desc: "With Muffins gone, fire monsters are melting Bok's home. Help him defeat them.", + start: [13], + during: [], + complete: [0, 3], + encounter: [{ + ID: 7, + R: .5 + }, { + ID: 23, + R: .5 + }], + req: [{ + type: "pet", + ID: 7, + N: 2 + }, { + type: "pet", + ID: 23, + N: 2 + }], + reward: [{ + type: "boots", + N: 1, + ID: 27 + }] + }, { + coords: [450, 75], + name: "Flowers For Bok", + desc: "Bok needs flowers to make his cave look pretty.", + start: [14], + during: [], + complete: [0, 3], + encounter: [{ + ID: 78, + R: .75, + drops: [{ + ID: 27, + type: "item", + R: 1 + }] + }, { + ID: 87, + R: .25 + }], + req: [{ + type: "item", + ID: 27, + N: 5 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [450, 225], + name: "Bok to Bok Battle", + desc: "Defeat Bok's visitors...he's not ready for visitors!", + start: [15], + during: [], + complete: [0, 12], + pets: [{ + ID: 78, + nickname: "Carry" + }, { + ID: 79, + nickname: "Murly" + }, { + ID: 90, + nickname: "Loe" + }], + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "spell", + ID: 20 + }] + }, { + coords: [335, 190], + name: "Snowed In", + desc: "Squallys and tempests are coming after Bok! Defeat them to drive them away.", + start: [16], + during: [], + complete: [0, 3], + encounter: [{ + ID: 88, + R: .4 + }, { + ID: 87, + R: .6 + }], + req: [{ + type: "pet", + ID: 88, + N: 3 + }, { + type: "pet", + ID: 87, + N: 2 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [335, 300], + name: "For MUFFINS!", + desc: "Find and defeat the tempest named Frosty.", + start: [17], + during: [], + complete: [0, 3, 18], + encounter: [{ + ID: 88, + R: .1, + nickname: "Frosty the Tempest" + }, { + ID: 87, + R: .9 + }], + req: [{ + type: "pet", + ID: 88, + N: 1 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [225, 240], + name: "Diamond in the Rough", + desc: "Bok has a plan, but he needs you to get glacier diamonds from shardics.", + start: [19, 3, 20], + during: [], + complete: [0, 12], + encounter: [{ + ID: 79, + R: .5, + nickname: "Diamond-carrying Shardic", + drops: [{ + ID: 28, + type: "item", + R: 1 + }] + }, { + ID: 79, + R: .5 + }], + req: [{ + type: "item", + ID: 28, + N: 6 + }], + reward: [{ + type: "spell", + ID: 21 + }] + }, { + coords: [110, 300], + name: "Moth Munchies", + desc: "Next, Bok needs you to find chillymoths from defeated monsters.", + start: [21], + during: [], + complete: [0, 3], + encounter: [{ + ID: 78, + R: .5, + drops: [{ + ID: 30, + type: "item", + R: .5 + }] + }, { + ID: 16, + R: .5, + drops: [{ + ID: 30, + type: "item", + R: .5 + }] + }, { + ID: 50, + R: .25, + drops: [{ + ID: 30, + type: "item", + R: 1 + }] + }], + req: [{ + type: "item", + ID: 30, + N: 5 + }], + reward: [{ + type: "hat", + N: 1, + ID: 10 + }] + }, { + coords: [110, 190], + name: "One Ring to Cool Them All", + desc: "Defeat burnewts in order to create a ring from the diamonds you found.", + start: [22, 23], + during: [], + complete: [0, 3], + encounter: [{ + ID: 94, + R: .25, + drops: [{ + ID: 29, + type: "item", + R: .2 + }] + }, { + ID: 16, + R: .25 + }, { + ID: 78, + R: .25 + }, { + ID: 87, + R: .25 + }], + req: [{ + type: "item", + ID: 29, + N: 1 + }], + reward: [{ + type: "gold", + N: 250 + }] + }, { + coords: [0, 225], + name: "Come Home, Muffins!", + desc: "Use the ring to lure Muffins in for a challenge!", + start: [24, 25], + during: [26], + complete: [0, 12], + boss: { + ID: 3, + level: 50, + element: "ice", + attacks: [19, 20, 21, 22, 23, 24], + maxHP: 60, + name: "Muffins" + }, + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "spell", + ID: 22 + }] + }, { + coords: [0, 75], + name: "Cool Pipers", + desc: "Attract Muffins home by looking for and defeating ivory clipclops.", + start: [27, 28, 29], + during: [], + complete: [0, 3], + encounter: [{ + ID: 62, + R: .2 + }, { + ID: 16, + R: .25 + }, { + ID: 78, + R: .25 + }, { + ID: 87, + R: .25 + }], + req: [{ + type: "pet", + ID: 62, + N: 3 + }], + reward: [{ + type: "outfit", + N: 1, + ID: 6 + }] + }, { + coords: [110, 110], + name: "Muffins for Muffins", + desc: "Gather enough ingredients from defeated monsters to make food for Muffins.", + start: [30], + during: [], + complete: [0, 3], + encounter: [{ + ID: 87, + R: .2, + drops: [{ + ID: 1, + type: "item", + R: .5 + }] + }, { + ID: 88, + R: .2, + drops: [{ + ID: 1, + type: "item", + R: .75 + }] + }, { + ID: 78, + R: .2, + drops: [{ + ID: 44, + type: "item", + R: 1 + }] + }, { + ID: 79, + R: .2, + drops: [{ + ID: 44, + type: "item", + R: 1 + }] + }, { + ID: 50, + R: .2, + drops: [{ + ID: 45, + type: "item", + R: .25 + }] + }, { + ID: 16, + R: .2, + drops: [{ + ID: 45, + type: "item", + R: .5 + }] + }], + req: [{ + type: "item", + ID: 1, + N: 2 + }, { + type: "item", + ID: 44, + N: 4 + }, { + type: "item", + ID: 45, + N: 1 + }], + reward: [{ + type: "weapon", + N: 1, + ID: 13 + }] + }, { + coords: [225, 150], + name: "One More Try", + desc: "Looks like Muffins is coming home - help Bok and defeat him!", + start: [31], + during: [26], + complete: [0, 3, 32, 33, 34, 3], + boss: { + ID: 3, + element: "ice", + attacks: [1, 2, 3, 4, 19, 20, 21, 22, 23, 24], + name: "Muffins" + }, + req: [{ + type: "boss", + N: 1 + }], + reward: [{ + type: "spell", + ID: 23 + }] + }] +}; +var Pirate = function () { function e(t) { WalkableScreen.call(this, t, e.DATA, ["zone-pirate", "npc-sprite-eve", "npc-sprite-merchant", "tileset-core"]), this.area = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], @@ -67816,17 +71168,6 @@ e.prototype.screenSetup = function () { ranks: [1, 2, 3, 4] } ] - }, { - tag: "Lamplight Town", - data: [{ - ID: 14, - name: "Tourist", - desc: "Complete the tour of Lamplight Town", - icon: "boots/7", - fct: this.getZero.bind(this), - ranks: [5] - } - ] }, { tag: "Firefly Forest", data: [{