This commit is contained in:
kichikuou
2025-01-03 13:17:18 +09:00
parent 15c9d0e820
commit 67b6d71232
4 changed files with 31 additions and 31 deletions
+25 -21
View File
@@ -432,8 +432,10 @@ void NACT_Sys1::cmd_g()
}
}
last_paint_x = -1;
last_paint_y = -1;
if (game_id.is_rance2()) {
last_paint_x = -1;
last_paint_y = -1;
}
}
void NACT_Sys1::cmd_h()
@@ -543,9 +545,6 @@ void NACT_Sys1::cmd_u()
} else {
ags->load_cg(page, transparent);
}
last_paint_x = -1;
last_paint_y = -1;
}
void NACT_Sys1::cmd_v()
@@ -706,8 +705,7 @@ void NACT_Sys1::cmd_y()
if(param == 1) {
ags->box_fill(0, 40, 8, 598, 270, 0);
}
}
else if (game_id.is_rance2()) {
} else if (game_id.is_rance2()) {
if (param == 0) {
// Unknown
}
@@ -719,19 +717,24 @@ void NACT_Sys1::cmd_y()
}
}
break;
case 12: // Rance 2 / Rance 2 hint disk
// Y 12, 0: is supposed to activate an automatic text
// progression feature, but it doesn't seem to work on the
// PC-98?
case 13: // Rance 2
// Sets the speed of the auto text progression feature (Y 12).
// The options in Rance 2 are 1 (the fastest), 5, and 10 (the
// slowest). Not available in the Hint Disk.
case 20: // Rance 2 / Rance 2 hint disk
ags->load_cg(param, -1);
last_paint_x = -1;
last_paint_y = -1;
case 12:
if (game_id.is_rance2()) {
// Y 12, 0: is supposed to activate an automatic text
// progression feature, but it doesn't seem to work on the
// PC-98?
}
break;
case 13:
if (game_id.is_rance2()) {
// Sets the speed of the auto text progression feature (Y 12).
// The options in Rance 2 are 1 (the fastest), 5, and 10 (the
// slowest). Not available in the Hint Disk.
}
break;
case 20:
if (game_id.is_rance2()) {
ags->load_cg(param, -1);
}
break;
case 130:
if (game_id.is(GameId::TENGU)) {
@@ -923,7 +926,8 @@ void NACT_Sys1::cmd_z()
break;
case GameId::RANCE2:
case GameId::RANCE2_HINT:
ags->paint(last_paint_x, last_paint_y, 0);
if (last_paint_x != -1)
ags->paint(last_paint_x, last_paint_y, 0);
ags->paint(cmd, param, 3);
last_paint_x = cmd;
last_paint_y = param;