April Fools + Birthday events.
This commit is contained in:
parent
22a118c862
commit
94c6a47163
7 changed files with 79 additions and 5 deletions
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue