2019-04-24 19:42:13 +00:00
|
|
|
Loader.addSounds([
|
2019-04-25 18:07:41 +00:00
|
|
|
{ id:"music_battle", src:"sounds/music/battle.mp3" },
|
2019-05-05 19:56:00 +00:00
|
|
|
{ id:"music_pokemon", src:"sounds/music/pokemon.mp3" },
|
|
|
|
{ id:"fart", src:"sounds/sfx/fart.mp3" }
|
2019-04-24 19:42:13 +00:00
|
|
|
]);
|
|
|
|
|
2019-02-22 23:48:24 +00:00
|
|
|
SceneSetup.act1 = function(){
|
2019-02-18 20:59:10 +00:00
|
|
|
|
|
|
|
Game.resetScene();
|
|
|
|
|
2019-05-07 19:40:03 +00:00
|
|
|
// RESET HP
|
|
|
|
HP.reset();
|
|
|
|
|
2019-04-29 15:35:25 +00:00
|
|
|
// ATTACKS
|
2019-06-26 15:03:27 +00:00
|
|
|
_.CHAPTER = 1;
|
|
|
|
_.attack_harm_ch1 = 0;
|
|
|
|
_.attack_alone_ch1 = 0;
|
|
|
|
_.attack_bad_ch1 = 0;
|
2019-04-29 15:35:25 +00:00
|
|
|
|
2019-02-18 20:59:10 +00:00
|
|
|
// Background
|
|
|
|
var bg = new BG_Anxiety();
|
|
|
|
Game.scene.children.push(bg);
|
|
|
|
|
|
|
|
// Hong
|
2019-02-22 23:48:24 +00:00
|
|
|
var hong = new Act1_Hong();
|
2019-02-18 20:59:10 +00:00
|
|
|
Game.scene.children.push(hong);
|
|
|
|
|
|
|
|
// Beebee
|
2019-02-22 23:48:24 +00:00
|
|
|
var beebee = new Act1_Beebee();
|
2019-04-18 11:40:22 +00:00
|
|
|
Game.scene.children.push(beebee);
|
|
|
|
|
|
|
|
};
|
|
|
|
SceneSetup.act1_outro = function(){
|
|
|
|
|
2019-04-23 19:12:41 +00:00
|
|
|
HP.hide();
|
2019-04-24 19:42:13 +00:00
|
|
|
clearText();
|
2019-04-18 11:40:22 +00:00
|
|
|
Game.resetScene();
|
|
|
|
|
2019-04-24 19:42:13 +00:00
|
|
|
// WHOOSH
|
|
|
|
sfx("whoosh");
|
2019-04-25 18:07:41 +00:00
|
|
|
music('campus', {volume:0.5, fade:1});
|
2019-04-24 19:42:13 +00:00
|
|
|
|
2019-04-18 11:40:22 +00:00
|
|
|
// Background
|
|
|
|
var bg = new BG_Act1_Outro();
|
|
|
|
Game.scene.children.push(bg);
|
2019-02-18 20:59:10 +00:00
|
|
|
|
|
|
|
};
|