Set RND after save / load

`L [1-26]` should set RND to 0 after load, and `Q [1-26]` should set RND
to 1 after save. This behavior is used by the following games:

ayumi_fd, prog_fd, funnybee_cd, funnybee_fd, onlyyou, prog_cd, ayumi_cd,
yakata3_cd, otome, hashirionna2

Especially in hashirionna2, not setting RND breaks the control flow.
This commit is contained in:
kichikuou
2024-12-21 16:14:35 +09:00
parent eae1951646
commit a7d4e32273
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -763,6 +763,7 @@ void NACT_Sys2::cmd_l()
sco.page_jump(next_page, next_addr);
mako->play_music(next_music);
RND = 0;
}
}
}
@@ -918,6 +919,7 @@ void NACT_Sys2::cmd_q()
fio->write(buffer, 9510);
}
RND = 1;
}
}