Skip to content

Commit 3e1c425

Browse files
committed
Beep beep.
1 parent e6bf4cd commit 3e1c425

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

source/archipelago/APGameState.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package archipelago;
22

3+
import yutautil.AprilFools;
34
import haxe.DynamicAccess;
45
import states.FreeplayState;
56
import yutautil.MemoryHelper;
@@ -579,6 +580,9 @@ class APGameState {
579580
} catch (e:Dynamic) {
580581
archipelago.APItem.popup("Error", "You need to wait for all of the data to load, silly!", true);
581582
}
583+
if (AprilFools.allowAF && FlxG.random.bool(24.444))
584+
new APItem.APrilFools();
585+
582586
}
583587

584588
// A bandage fix till we have enough brainpower to fix this properly

source/archipelago/APItem.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,14 +612,15 @@ class APrilFools extends APItem {
612612
super("April Fools", ConditionHelper.Special(), function() {
613613
if (options.lengthTo() == 0) {
614614
initializeOptions();
615+
APItem.popup("Something odd is brewing.", "Archipelago", true);
615616
}
616617

617618

618619
var randomChoice = Std.random(options.lengthTo());
619620
var action = options.get(randomChoice);
620621
if (action != null) {
621622
action();
622-
APItem.popup("Something happened...", "April Fools!");
623+
APItem.popup("Something happened...", "Archipelago", true);
623624
}
624625
}, false, false);
625626
}

0 commit comments

Comments
 (0)