Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 | 100x | /**
* LR2's numbers: the value a `#SRC_NUMBER` draws (its `num` column). beatoraja keeps these numbers for its LR2-compatible
* values (`value[].ref`). A rate is drawn as an integer part plus a separate after-dot number.
*
* Grouped by the screen that fills them; a play-screen number also reads on the result screen.
*/
export const LR2_NUM = {
// ─── Options and the clock (every scene) ────────────────────────────────────────────────────────────────────────
/** 1P hi-speed × 100 (2.30× reads 230). */
HISPEED_1P: 10,
/** 2P hi-speed × 100. */
HISPEED_2P: 11,
/** The judge timing offset. */
JUDGE_TIMING: 12,
/** The default target rate. */
TARGET_RATE: 13,
/** 1P lane cover (SUDDEN+). */
LANE_COVER_1P: 14,
/** 2P lane cover (SUDDEN+). */
LANE_COVER_2P: 15,
/** Frames per second. */
FPS: 20,
/** The year now. */
YEAR: 21,
/** The month now. */
MONTH: 22,
/** The day now. */
DAY: 23,
/** The hour now. */
HOUR: 24,
/** The minute now. */
MINUTE: 25,
/** The second now. */
SECOND: 26,
// ─── Select: the player's totals ────────────────────────────────────────────────────────────────────────────────
/** Plays in total. */
TOTAL_PLAY_COUNT: 30,
/** Clears in total. */
TOTAL_CLEAR_COUNT: 31,
/** Failures in total. */
TOTAL_FAIL_COUNT: 32,
/** PERFECTs in total. */
TOTAL_PERFECT: 33,
/** GREATs in total. */
TOTAL_GREAT: 34,
/** GOODs in total. */
TOTAL_GOOD: 35,
/** BADs in total. */
TOTAL_BAD: 36,
/** POORs in total. */
TOTAL_POOR: 37,
/** The running combo across plays: it grows on every GOOD or better and breaks on a BAD or POOR, play after play. */
RUNNING_COMBO: 38,
/** The longest running combo across plays. */
RUNNING_COMBO_MAX: 39,
/** LR2's trial level: the step of its ladder of play missions the player has reached (OpenLR2 `CheckMission`). */
TRIAL_LEVEL: 40,
/** The trial level less one: the last step cleared. */
TRIAL_LEVEL_PREVIOUS: 41,
// ─── Select: the selected chart ─────────────────────────────────────────────────────────────────────────────────
/** The level of the BEGINNER chart in the same folder. Numbers 45-49 are BEGINNER … INSANE. */
FOLDER_LEVEL_BEGINNER: 45,
/** The level of the NORMAL chart in the same folder. */
FOLDER_LEVEL_NORMAL: 46,
/** The level of the HYPER chart in the same folder. */
FOLDER_LEVEL_HYPER: 47,
/** The level of the ANOTHER chart in the same folder. */
FOLDER_LEVEL_ANOTHER: 48,
/** The level of the INSANE chart in the same folder. */
FOLDER_LEVEL_INSANE: 49,
/** The best score (LR2's 200000-point score). */
BEST_SCORE: 70,
/** The best EX score. */
BEST_EXSCORE: 71,
/** The highest EX score the chart allows (notes × 2). */
EXSCORE_MAX: 72,
/** The best score rate (%). */
BEST_RATE: 73,
/** The chart's notes. */
TOTAL_NOTES: 74,
/** The best max combo. */
BEST_MAX_COMBO: 75,
/** The fewest BAD + POOR. */
BEST_MIN_BP: 76,
/** Plays of the chart. */
PLAY_COUNT: 77,
/** Clears of the chart. */
CLEAR_COUNT: 78,
/** Failures of the chart. */
FAIL_COUNT: 79,
/** The best record's PERFECTs. */
BEST_PERFECT: 80,
/** The best record's GREATs. */
BEST_GREAT: 81,
/** The best record's GOODs. */
BEST_GOOD: 82,
/** The best record's BADs. */
BEST_BAD: 83,
/** The best record's POORs. */
BEST_POOR: 84,
/** The best record's PERFECTs as a percentage of the notes. */
BEST_PERFECT_RATE: 85,
/** The best record's GREATs as a percentage. */
BEST_GREAT_RATE: 86,
/** The best record's GOODs as a percentage. */
BEST_GOOD_RATE: 87,
/** The best record's BADs as a percentage. */
BEST_BAD_RATE: 88,
/** The best record's POORs as a percentage. */
BEST_POOR_RATE: 89,
/** The chart's highest BPM. */
MAX_BPM: 90,
/** The chart's lowest BPM. */
MIN_BPM: 91,
/** The player's place in the internet ranking. */
IR_RANK: 92,
/** Players in the internet ranking. */
IR_PLAYERS: 93,
/** The internet ranking's clear rate. */
IR_CLEAR_RATE: 94,
// ─── Play: the running score ────────────────────────────────────────────────────────────────────────────────────
/** The score (LR2's 200000-point score). */
SCORE: 100,
/** The EX score. */
EXSCORE: 101,
/** The EX score as a percentage of the highest one for the notes judged so far (LR2's running rate). */
SCORE_RATE: 102,
/** The digits after the dot of `SCORE_RATE`. */
SCORE_RATE_AFTERDOT: 103,
/** The combo. */
COMBO: 104,
/** The max combo. */
MAX_COMBO: 105,
/** The chart's notes. */
NOTES: 106,
/** The gauge (%). */
GAUGE: 107,
/** The EX score less the rival's. */
EXSCORE_DIFF: 108,
/** Number 109: as `NEXT_RANK_DIFF` (OpenLR2 resolves the two alike). */
NEXT_RANK_DIFF_ALT: 109,
/** PERFECTs. */
PERFECT: 110,
/** GREATs. */
GREAT: 111,
/** GOODs. */
GOOD: 112,
/** BADs. */
BAD: 113,
/** POORs. */
POOR: 114,
/** The EX score as a percentage of the highest one for every note of the chart. */
TOTAL_RATE: 115,
/** The digits after the dot of `TOTAL_RATE`. */
TOTAL_RATE_AFTERDOT: 116,
// ─── Play: the 2P player's running score (a two-player BATTLE; OpenLR2 `SetObjectValue_Num` L700-L758) ──────────
/** The 2P score. Numbers 120-136 are the 2P player's 100-116. */
SCORE_2P: 120,
/** The 2P EX score. */
EXSCORE_2P: 121,
/** The 2P running score rate. */
SCORE_RATE_2P: 122,
/** The digits after the dot of `SCORE_RATE_2P`. */
SCORE_RATE_AFTERDOT_2P: 123,
/** The 2P combo. */
COMBO_2P: 124,
/** The 2P max combo. */
MAX_COMBO_2P: 125,
/** The 2P player's notes. */
NOTES_2P: 126,
/** The 2P gauge (%). */
GAUGE_2P: 127,
/** The 2P EX score less the 1P player's. */
EXSCORE_DIFF_2P: 128,
/** The 2P EX score less the border of its next DJ Rank. */
NEXT_RANK_DIFF_2P: 129,
/** 2P PERFECTs. */
PERFECT_2P: 130,
/** 2P GREATs. */
GREAT_2P: 131,
/** 2P GOODs. */
GOOD_2P: 132,
/** 2P BADs. */
BAD_2P: 133,
/** 2P POORs. */
POOR_2P: 134,
/** The 2P EX score as a percentage of the highest one for every note. */
TOTAL_RATE_2P: 135,
/** The digits after the dot of `TOTAL_RATE_2P`. */
TOTAL_RATE_AFTERDOT_2P: 136,
/** The best record's EX score at this point of the play: its pacemaker (OpenLR2 `highScore.rate`). */
HIGH_SCORE: 150,
/** The target's EX score at this point of the play. */
TARGET_SCORE: 151,
/** The EX score less `HIGH_SCORE`. */
HIGH_SCORE_DIFF: 152,
/** The EX score less `TARGET_SCORE`. */
TARGET_SCORE_DIFF: 153,
/**
* The EX score less the border of the next DJ Rank over every note: negative until it is reached, and less the
* maximum from AAA on; 0 at the maximum (OpenLR2 `SetObjectValue_Num`).
*/
NEXT_RANK_DIFF: 154,
/** The BPM now. */
BPM: 160,
/** Minutes played. */
PLAY_MINUTE: 161,
/** Seconds played (past the minute). */
PLAY_SECOND: 162,
/** Minutes left. */
REMAINING_MINUTE: 163,
/** Seconds left (past the minute). */
REMAINING_SECOND: 164,
/** Loading progress (%). */
LOADING_PROGRESS: 165,
// ─── Result: before and after this play ─────────────────────────────────────────────────────────────────────────
/** The best EX score before this play. */
RESULT_EXSCORE_BEFORE: 170,
/** This play's EX score. */
RESULT_EXSCORE: 171,
/** This play's EX score less the previous best. */
RESULT_EXSCORE_DIFF: 172,
/** The best max combo before this play. */
RESULT_MAX_COMBO_BEFORE: 173,
/** This play's max combo. */
RESULT_MAX_COMBO: 174,
/** This play's max combo less the previous best. */
RESULT_MAX_COMBO_DIFF: 175,
/** The fewest BAD + POOR before this play. */
RESULT_MIN_BP_BEFORE: 176,
/** This play's BAD + POOR. */
RESULT_MIN_BP: 177,
/** How many fewer BAD + POOR than the previous best. */
RESULT_MIN_BP_DIFF: 178,
/** The best score rate before this play. */
RESULT_RATE_BEFORE: 183,
/** The digits after the dot of `RESULT_RATE_BEFORE`. */
RESULT_RATE_BEFORE_AFTERDOT: 184,
// ─── Courses (select, play, result; OpenLR2 L923-L942) ──────────────────────────────────────────────────────────
/** The play level of course stage 1. Numbers 250-259 are stages 1-10. */
COURSE_STAGE1_LEVEL: 250,
/** The play level of course stage 2. */
COURSE_STAGE2_LEVEL: 251,
/** The play level of course stage 3. */
COURSE_STAGE3_LEVEL: 252,
/** The play level of course stage 4. */
COURSE_STAGE4_LEVEL: 253,
/** The play level of course stage 5. */
COURSE_STAGE5_LEVEL: 254,
/** The play level of course stage 6. */
COURSE_STAGE6_LEVEL: 255,
/** The play level of course stage 7. */
COURSE_STAGE7_LEVEL: 256,
/** The play level of course stage 8. */
COURSE_STAGE8_LEVEL: 257,
/** The play level of course stage 9. */
COURSE_STAGE9_LEVEL: 258,
/** The play level of course stage 10. */
COURSE_STAGE10_LEVEL: 259,
} as const;
/** One of LR2's numbers ({@link LR2_NUM}). */
export type LR2Num = (typeof LR2_NUM)[keyof typeof LR2_NUM];
|