void onLevelLoad() { jjPalette.load("WSF02.j2t"); jjPalette.apply(); } void onPlayerTimerEnd() { p.fly = FLIGHT::NONE; } void onPlayer() { if (p.fly == FLIGHT::FLYCARROT && p.timerState == TIMER::STOPPED) p.timerStart(30*70); if (p.fly == FLIGHT::NONE) p.timerStop(); }