Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- portraitLeft = new FlxSprite(-20, 40);
- portraitLeft.frames = Paths.getSparrowAtlas('rockconcert/punkPort');
- portraitLeft.animation.addByPrefix('enter', 'Punk Girl Portrait', 24, false);
- portraitLeft.setGraphicSize(Std.int(portraitLeft.width * PlayState.daPixelZoom * 0.9));
- portraitLeft.updateHitbox();
- portraitLeft.scrollFactor.set();
- add(portraitLeft);
- portraitLeft.visible = false;
- portraitRight = new FlxSprite(0, 40);
- portraitRight.frames = Paths.getSparrowAtlas('rockconcert/boyfriendPort');
- portraitRight.animation.addByPrefix('enter', 'BF Portrait Enter instance', 24, false);
- portraitRight.setGraphicSize(Std.int(portraitRight.width * PlayState.daPixelZoom * 0.9));
- portraitRight.updateHitbox();
- portraitRight.scrollFactor.set();
- add(portraitRight);
- portraitRight.visible = false;
- case 'take-back':
- FlxG.sound.playMusic(Paths.music('Thwok'), 0);
- FlxG.sound.music.fadeIn(1, 0, 0.8);
- case 'rocket':
- FlxG.sound.playMusic(Paths.music('Thwok'), 0);
- FlxG.sound.music.fadeIn(1, 0, 0.8);
- case 'hope-seeker':
- FlxG.sound.playMusic(Paths.music('Thwok'), 0);
- FlxG.sound.music.fadeIn(1, 0, 0.8);
- case 'take-back':
- hasDialog = true;
- box.frames = Paths.getSparrowAtlas('shared/images/speech_bubble_talking');
- box.animation.addByPrefix('normalOpen', 'Speech Bubble Normal Open', 24, false);
- box.animation.addByIndices('normal', 'Speech Bubble Normal Open', [4], "", 24);
- case 'rocket':
- hasDialog = true;
- box.frames = Paths.getSparrowAtlas('shared/images/speech_bubble_talking');
- box.animation.addByPrefix('normalOpen', 'Speech Bubble Normal Open', 24, false);
- box.animation.addByIndices('normal', 'Speech Bubble Normal Open', [4], "", 24);
- case 'hope-seeker':
- hasDialog = true;
- box.frames = Paths.getSparrowAtlas('shared/images/speech_bubble_talking');
- box.animation.addByPrefix('normalOpen', 'Speech Bubble Normal Open', 24, false);
- box.animation.addByIndices('normal', 'Speech Bubble Normal Open', [4], "", 24);
- case 'take-back':
- dialogue = CoolUtil.coolTextFile(Paths.txt('take-back/takeDialogue'));
- case 'rocket':
- dialogue = CoolUtil.coolTextFile(Paths.txt('rocket/rocketDialogue'));
- case 'hope-seeker':
- dialogue = CoolUtil.coolTextFile(Paths.txt('hope-seeker/hopeDialogue'));
- case 'take-back':
- schoolIntro(doof);
- case 'rocket':
- schoolIntro(doof);
- case 'hope-seeker':
- schoolIntro(doof);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement