Added more system builtins

This commit is contained in:
arookas 2016-01-29 17:11:09 -05:00
parent a0cbd07a0f
commit 38633e742f

View file

@ -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);