Skip to content

Commit

Permalink
Idk Pico more :)
Browse files Browse the repository at this point in the history
  • Loading branch information
poec987 committed Jun 26, 2024
1 parent 997cfc8 commit 3973268
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,6 @@ class PlayState extends MusicBeatState
trainSound = new FlxSound().loadEmbedded(Paths.sound('train_passes'));
FlxG.sound.list.add(trainSound);

shootSound = new FlxSound().loadEmbedded(Paths.sound('shoot'));
FlxG.sound.list.add(shootSound);

// var cityLights:FlxSprite = new FlxSprite().loadGraphic(AssetPaths.win0.png);

var street:FlxSprite = new FlxSprite(-40, streetBehind.y).loadGraphic(Paths.image('philly/street'));
Expand Down Expand Up @@ -749,7 +746,10 @@ class PlayState extends MusicBeatState

add(dad);

if (curStage == 'philly') { // PISSY
if (SONG.player2 == 'pico') { // PISSY
shootSound = new FlxSound().loadEmbedded(Paths.sound('shoot'));
FlxG.sound.list.add(shootSound);

picoShoot = new FlxSprite(100, (dad.y/2)-30);
picoShoot.frames = Paths.getSparrowAtlas('philly/Pico_Shooting');
picoShoot.animation.addByPrefix('shoot', "Pico Shoot Hip Full");
Expand Down

0 comments on commit 3973268

Please sign in to comment.