@@ -2421,18 +2421,18 @@ class PlayState extends MusicBeatState
24212421 daBpm = section .bpm ;
24222422
24232423 // Function to get random mappings from available indexes and a list of special integers
2424- function getAPLocations (max : Int , loc : Array <Int >, gottaHit : Array <Bool >): Array <{index : Int , loc : Int }> {
2424+ /* function getAPLocations(max:Int, loc:Array<Int>, gottaHit:Array<Bool>):Array<{index:Int, loc:Int}> {
24252425 var mappings:Array<{index:Int, loc:Int}> = [];
24262426 var indexes:Array<Int> = [for (i in 0...max) if (gottaHit[i]) i];
2427-
2427+ //trace(indexes.length);
24282428 for (i in 0...Std.int(Math.min(indexes.length, loc.length))) {
24292429 mappings.push({index: indexes[i], loc: loc[i]});
24302430 }
24312431 return mappings;
2432- }
2432+ }*/
24332433
2434- var gottaHit : Array <Bool > = [for (note in section .sectionNotes ) note [1 ] < (SONG .mania != null ? totalColumns : Note .ammo [3 ])];
2435- var APNotes : Array <{index : Int , loc : Int }> = (this is archipelago. APPlayState ) ? getAPLocations (section .sectionNotes .length , archipelago. APGameState .instance .noteData (PlayState .SONG .song , archipelago. APPlayState .currentMod ), gottaHit ) : [];
2434+ // var gottaHit:Array<Bool> = [for (note in section.sectionNotes) note[1] < (SONG.mania != null ? totalColumns : Note.ammo[3])];
2435+ // var APNotes:Array<{index:Int, loc:Int}> = (this is archipelago.APPlayState) ? getAPLocations(section.sectionNotes.length, archipelago.APGameState.instance.noteData(PlayState.SONG.song, archipelago.APPlayState.currentMod), gottaHit) : [];
24362436
24372437 for (i in 0 ... section .sectionNotes .length )
24382438 {
@@ -2442,15 +2442,15 @@ class PlayState extends MusicBeatState
24422442 var noteStartColumn : Int = Std .int (songNotes [1 ] % Note .ammo [SONG .mania != null ? SONG .mania : 3 ]);
24432443 var holdLength : Float = songNotes [2 ];
24442444 var noteType : String = ! Std .isOfType (songNotes [3 ], String ) ? Note .defaultNoteTypes [songNotes [3 ]] : songNotes [3 ];
2445- var apNote : Bool = (function () {
2445+ /* var apNote:Bool = (function() {
24462446 for (apNoteData in APNotes) {
24472447 if (apNoteData.index == i) {
24482448 return true;
24492449 }
24502450 }
24512451 return false;
2452- })();
2453- var apLoc = APNotes .filter (function (apNoteData ) return apNoteData .index == i )[0 ]?. loc ;
2452+ })();*/
2453+ // var apLoc = APNotes.filter(function(apNoteData) return apNoteData.index == i)[0]?.loc;
24542454 if (Math .isNaN (holdLength )) holdLength = 0.0 ;
24552455
24562456 if (chartModifier != " 4K Only" && chartModifier != " ManiaConverter" ) {
@@ -2856,8 +2856,13 @@ class PlayState extends MusicBeatState
28562856 oldNote = null ;
28572857
28582858 var swagNote : Note = new Note (spawnTime , noteColumn , oldNote );
2859- if (apNote )
2859+ /* if (apNote) {
28602860 swagNote = new archipelago.APNote(swagNote, apLoc);
2861+ swagNote.isCheck = true; //Just in case
2862+ swagNote.rgbShader.r = 0x3380CC;
2863+ swagNote.rgbShader.g = 0x3380CC;
2864+ swagNote.rgbShader.b = 0x3380CC;
2865+ }*/
28612866 swagNote .mustPress = gottaHitNote ;
28622867 if (! swagNote .mustPress )
28632868 {
0 commit comments