This page documents information about Arkanoid
. Many of the tricks demonstrated here are near impossible in real time and documented for the purposes of creating Tool-assisted Speedruns.
const DELTA_10 = [0, 0, 0, 0, 1, 0];
const DELTA_100 = [0, 0, 0, 1, 0, 0];
if (score_increment == [0, 0, 0, 0, 0, 0]) { // 0x037c
// Early exit if the increment is zero.
return;
}
if (score_increment[4] != 0) { // Tens digit
delta = DELTA_10; // 0x8e59
} else {
delta = DELTA_100; // 0x8e5f
}
// Subtract delta from score_increment, store result in score_increment.
decimal_subtract(score_increment, delta, score_increment);
if (current_player == 0) { // 0x0019
player_score = p1_score; // 0x0370
} else {
player_score = p2_score; // 0x0376
}
// Add delta to player_score, store result in player_score.
decimal_add(player_score, delta, player_score);