Skip to content

Commit c9a8e49

Browse files
committed
eeee
1 parent 4df80a5 commit c9a8e49

File tree

12 files changed

+306
-230
lines changed

12 files changed

+306
-230
lines changed
21.8 KB
Binary file not shown.

source/archipelago/APItem.hx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,10 @@ class APItem {
266266
});
267267
}), function() {
268268
// Check if we need to download repository content first
269-
if (APInfo.slotData != null && APInfo.slotData.highQualityExpected) {
269+
if (APInfo.slotData != null && APInfo.slotData.highQualityExpected && archipelago.HighQualityTrapManager.needsWaitingState()) {
270270
// If expected but not available, go to existing high quality waiting state
271271
if (APInfo.apGame != null && APInfo.ap != null) {
272-
FlxG.switchState(new archipelago.states.HighQualityWaitingState(APInfo.apGame, APInfo.ap));
272+
FlxG.switchState(new archipelago.states.HighQualityWaitingState(APInfo.apGame, APInfo.ap, true));
273273
} else {
274274
// Fallback: use the non-AP waiting state if not in AP context
275275
FlxG.switchState(new states.HighQualityTrapWaitingState());
@@ -684,6 +684,7 @@ class APItem {
684684
}), function() {
685685
popup('Oh god no here she comes', "Resistance Trap", true);
686686
APPlayState.instance.startResisting();
687+
APPlayState.resisting = true;
687688
}, true, false).funcAndReturn(function(t:APItem) {
688689
// Set it as a trap.
689690
t.isTrap = true;

source/archipelago/APPlayState.hx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class APPlayState extends PlayState {
3333
public static var deathByLink:Bool = false;
3434
public static var deathByBlueBalls:Bool = false;
3535
public static var alreadyKilledByLink:Bool = false;
36+
public static var resisting:Bool = false;
3637
public var antiHornySpray:Bool = false;
3738
public var noHorny(get, never):Bool;
3839

@@ -2557,6 +2558,12 @@ class APPlayState extends PlayState {
25572558

25582559
ClientPrefs.data.downScroll = ogScroll;
25592560

2561+
if (resisting)
2562+
{
2563+
resisting = false;
2564+
boyfriend.playAnim('Hey!', true);
2565+
}
2566+
25602567
if (releasethebeast)
25612568
{
25622569
// Null checks before tweening

source/archipelago/APStyledEntryState.hx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,10 @@ class APStyledEntryState extends MusicBeatState {
531531
}
532532
FNF.destroy();
533533

534+
535+
infoContent += "\n\nNote for Universal Tracker users: \n";
536+
infoContent += "Ensure that when you connect with Universal Tracker, you have all of the YAML files of all players in your session placed in the Archipelago Players folder, so that all items and IDs can be properly synchronized.";
537+
534538
openSubState(new InfoPanelSubstate(infoTitle, infoContent, FlxColor.CYAN));
535539
}
536540

@@ -899,7 +903,7 @@ class APStyledEntryState extends MusicBeatState {
899903
// Check if high quality content is expected and should be downloaded
900904
if (slotData != null && slotData.highQualityExpected == true) {
901905
// Go to existing high quality waiting state first
902-
FlxG.switchState(new archipelago.states.HighQualityWaitingState(apGame, ap));
906+
FlxG.switchState(new archipelago.states.HighQualityWaitingState(apGame, ap, false));
903907
} else {
904908
// Normal flow - go directly to AP category state
905909
FlxG.switchState(new archipelago.APCategoryState(apGame, ap));

0 commit comments

Comments
 (0)