Skip to content

Commit 7f8de14

Browse files
committed
Update APInfo.hx
1 parent 6369818 commit 7f8de14

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

source/archipelago/APInfo.hx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ class APInfo {
1010
public static var unlockMethod:String = "Song Completion";
1111
public static var unlockType:String = "Per Song";
1212

13+
public static var hasNoteChecks(get, never):Bool;
14+
15+
public static var hasSongChecks(get, never):Bool;
16+
17+
public static function get_hasNoteChecks():Bool {
18+
return unlockMethod == "Note Checks" || unlockMethod == "Both";
19+
}
20+
21+
public static function get_hasSongChecks():Bool {
22+
return unlockMethod == "Song Completion" || unlockMethod == "Both";
23+
}
24+
1325
public static final baseGame:Array<String> =
1426
[
1527
'Tutorial',

0 commit comments

Comments
 (0)