Change the condition for applying Rance4v2 hack

Now it's determined by the MT command argument.
This commit is contained in:
kichikuou
2023-02-07 21:31:03 +09:00
parent ce271ae5eb
commit c4dc799c94
3 changed files with 5 additions and 8 deletions
+4 -7
View File
@@ -165,15 +165,12 @@ void commandMT() {
nact->game_title_utf8 = toUTF8(str);
ags_setWindowTitle(str);
/* 闘神都市II 対策 */
if (0 == strcmp(nact->game_title_utf8, GT_TOSHIN2)) {
if (!strcmp(nact->game_title_utf8, GT_TOSHIN2))
dummy_pcm_su_flag = TRUE;
}
/* Rance4 対策? */
if (0 == strcmp(nact->game_title_utf8, GT_RANCE4)) {
if (!strcmp(nact->game_title_utf8, GT_RANCE4))
Y3waitFlags = KEYWAIT_NONCANCELABLE;
}
if (!strcmp(nact->game_title_utf8, GT_RANCE4V2))
nact->game_rance4v2 = true;
DEBUG_COMMAND("MT %s:",str);
}
-1
View File
@@ -147,7 +147,6 @@ void commandY() {
case 1900:
// The effect of Y1900 is unknown, but since it is only used by Rance4
// ver2 as the very first command, do some initialization here.
nact->game_rance4v2 = true;
muscd_init_bgm(DRIFILE_WAVE, 999);
break;
default:
+1
View File
@@ -1,4 +1,5 @@
#define GT_TOSHIN2 "闘神都市Ⅱ for Win95 "
#define GT_RANCE4 "Rance4 -教団の遺産- For Win95 "
#define GT_RANCE4V2 "RanceⅣ -教団の遺産- for Windows "
#define GT_RANCE3_ENG "Rance3"
#define GT_RANCE4_ENG "Rance4 -Legacy of the Sect- For Win95 "