diff --git a/stdlib/system.sun b/stdlib/system.sun index 7bb983e..2ef1b9c 100644 --- a/stdlib/system.sun +++ b/stdlib/system.sun @@ -14,3 +14,92 @@ builtin setSystemFlag(flag, value); function setOnSystemFlag(flag) { setSystemFlag(flag, true); } function setOffSystemFlag(flag) { setSystemFlag(flag, false); } + +// ================================================= \\ +// POLLUTION +// ================================================= \\ + +builtin isGraffitoCoverage0(); +builtin getPollutionLevel(); +builtin setGraffitoMultiplied(a); +builtin setPollutionIncreaseCount(count); + +// ================================================= \\ +// EVENT +// ================================================= \\ + +builtin setEventForWaterMelon(a); +builtin setEventID(a, b); +builtin isMapEventFinishedAll(a); + +// ================================================= \\ +// DEMO +// ================================================= \\ + +builtin isDemoMode(); +builtin fireStartDemoCamera(a); +builtin launchEventClearDemo(); + +// noki bay +builtin startMareBottleDemo(); +builtin isFinishMareBottleDemo(); + +function waitForFinishDemo() { + while (true) { + if (isDemoMode()) { + break; + } + yield; + } + while (true) { + if (isDemoMode() == false) { + break; + } + yield; + } +} + +// ================================================= \\ +// TIME +// ================================================= \\ + +builtin setTimeLimit(limit); +builtin setAttentionTime(time); + +builtin getTime(); +builtin getRestTime(); + +builtin insertTimer(a, b); +builtin startTimer(); +builtin stopTimer(); + +// ================================================= \\ +// MISCELLANEOUS +// ================================================= \\ + +builtin invalidatePad(num); + +builtin isGameModeNormal(); +builtin isBossDefeated(); + +builtin registerMovie(movie); + +// appear +builtin appearReadyGo(); +builtin startAppearJetBalloon(a, b); + +// nozzle +builtin changeNozzle(nozzle); +builtin changeSunglass(sunglass); +builtin putNozzle(nozzle); + +// death +builtin startMiss(); +builtin gameOver(); + +// fruit +builtin eggYoshiStartFruit(a); + +builtin getFruitNum(a, b); +builtin setFruitType(a, b, c); +builtin resetFruitNum(fruit);