Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/twintower.gmx/scripts/game_clearMain.gml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 214 - (show annotations) (download)
Sun Oct 26 15:41:44 2014 UTC (9 years, 7 months ago) by syun77
File size: 1097 byte(s)
ミッションモードを無効化
1 /// game_clearMain();
2 /// ステージクリア
3 if(self.playtimer > 120) {
4 if(isPressEnter()) {
5 // リザルト破棄
6 with(obj_result) { instance_destroy(); }
7
8 // クリア判定初期化
9 self.clearcheck[0] = CHECK_BAD;
10 self.clearcheck[1] = CHECK_BAD;
11
12 // 次のステージへ
13 self.state = STATE_STAGE_INIT;
14
15 // 積みブロックをすべて破壊
16 destroyAllTower();
17
18 if(mis_isMission()) {
19 // ■ミッションモード
20 // ミッション成功
21 var nMission = global.nMission;
22 global.is_clear_mission[nMission] = true;
23 // スコア更新
24 if(obj_game.score > global.score_mission[nMission]) {
25 global.score_mission[nMission] = obj_game.score;
26 }
27
28 // セーブする
29 save_save();
30
31 // ミッションモード選択に戻る
32 room_goto(room_mission_select);
33 audio_stop_sound(global.nBgm);
34 }
35
36 if(self.level == 10) {
37 // ■全レベルクリア
38 self.state = STATE_ALLCLEAR_INIT;
39 }
40 }
41 }
42

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26