2017-09-08 09:24:16 -07:00
|
|
|
//
|
|
|
|
// mkdsConst.js
|
|
|
|
//--------------------
|
|
|
|
// Provides various game constants.
|
|
|
|
// by RHY3756547
|
|
|
|
//
|
|
|
|
|
|
|
|
window.MKDSCONST = new (function() {
|
|
|
|
|
2019-05-28 17:08:48 -07:00
|
|
|
this.DAMAGE_SPIN = 0;
|
2019-06-09 15:50:55 -07:00
|
|
|
this.DAMAGE_FLIP = 1;
|
|
|
|
this.DAMAGE_EXPLODE = 2;
|
2019-05-28 17:08:48 -07:00
|
|
|
|
2017-09-08 09:24:16 -07:00
|
|
|
this.COURSEDIR = "/data/Course/";
|
|
|
|
|
|
|
|
this.COURSES = [ //in order of course id, nitro through retro
|
|
|
|
"cross_course",
|
|
|
|
"bank_course",
|
|
|
|
"beach_course",
|
|
|
|
"mansion_course",
|
|
|
|
|
|
|
|
"desert_course",
|
|
|
|
"town_course",
|
|
|
|
"pinball_course",
|
|
|
|
"ridge_course",
|
|
|
|
|
|
|
|
"snow_course",
|
|
|
|
"clock_course",
|
|
|
|
"mario_course",
|
|
|
|
"airship_course",
|
|
|
|
|
|
|
|
"stadium_course",
|
|
|
|
"garden_course",
|
|
|
|
"koopa_course",
|
|
|
|
"rainbow_course",
|
|
|
|
|
|
|
|
|
|
|
|
"old_mario_sfc",
|
|
|
|
"old_momo_64",
|
|
|
|
"old_peach_agb",
|
|
|
|
"old_luigi_gc",
|
|
|
|
|
|
|
|
"old_donut_sfc",
|
|
|
|
"old_frappe_64",
|
|
|
|
"old_koopa_agb",
|
|
|
|
"old_baby_gc",
|
|
|
|
|
|
|
|
"old_noko_sfc",
|
|
|
|
"old_choco_64",
|
|
|
|
"old_luigi_agb",
|
|
|
|
"old_kinoko_gc",
|
|
|
|
|
|
|
|
"old_choco_sfc",
|
|
|
|
"old_hyudoro_64",
|
|
|
|
"old_sky_agb",
|
|
|
|
"old_yoshi_gc",
|
|
|
|
|
|
|
|
"mini_stage1",
|
|
|
|
"mini_stage2",
|
|
|
|
"mini_stage3",
|
|
|
|
"mini_stage4",
|
|
|
|
"mini_block_64",
|
|
|
|
"mini_dokan_gc"
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
this.COURSE_MUSIC = [
|
|
|
|
74,
|
|
|
|
16,
|
|
|
|
15,
|
|
|
|
21,
|
|
|
|
|
|
|
|
38,
|
|
|
|
17,
|
|
|
|
19,
|
|
|
|
36,
|
|
|
|
|
|
|
|
37,
|
|
|
|
39,
|
|
|
|
74,
|
|
|
|
18,
|
|
|
|
|
|
|
|
19,
|
|
|
|
20,
|
|
|
|
40,
|
|
|
|
41,
|
|
|
|
|
|
|
|
|
|
|
|
22,
|
|
|
|
30,
|
|
|
|
26,
|
|
|
|
33,
|
|
|
|
|
|
|
|
24,
|
|
|
|
31,
|
|
|
|
27,
|
|
|
|
34,
|
|
|
|
|
|
|
|
23,
|
|
|
|
29,
|
|
|
|
26,
|
|
|
|
35,
|
|
|
|
|
|
|
|
25,
|
|
|
|
32,
|
|
|
|
28,
|
|
|
|
33,
|
|
|
|
|
|
|
|
43,
|
|
|
|
43,
|
|
|
|
43,
|
|
|
|
43,
|
|
|
|
43,
|
|
|
|
43
|
|
|
|
]
|
|
|
|
|
|
|
|
})();
|