April Fools + Birthday events.

This commit is contained in:
Mari the Deer 2022-05-19 19:33:01 +02:00
commit 94c6a47163
7 changed files with 79 additions and 5 deletions

View file

@ -5,6 +5,8 @@ extend Class SWWMHandler
ui bool didstartmsg;
bool doextramsg;
ui bool didextramsg;
// april fools special
ui bool didaprmsg;
private ui void MapstartUITick()
{
@ -27,6 +29,20 @@ extend Class SWWMHandler
didstartmsg = true;
return;
}
if ( !didaprmsg && (gamestate == GS_LEVEL) )
{
didaprmsg = true;
if ( SystemTime.Format("%d%m",SystemTime.Now()) == "0104" )
{
let msg = new("SWWMDirectMessage").Init(StringTable.Localize("$SWWM_SAYASNAME"),StringTable.Localize("$SWWM_SAYANAME"),"Saya");
msg.seqname = "SAYAFOOL";
msg.seqcnt = 5;
msg.delay = 120;
StatusBar.AttachMessage(msg,-1232);
didstartmsg = true;
return;
}
}
int whichboss = WhichVanillaBossMap();
if ( bossmap == MAP_DE1M8 )
{