mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-07 22:38:03 +03:00
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:
@@ -636,6 +636,7 @@ void NACT_Sys3::cmd_l()
|
||||
sco.page_jump(next_page, next_addr);
|
||||
|
||||
mako->play_music(next_music);
|
||||
RND = 0;
|
||||
}
|
||||
} else if(101 <= index && index <= 126) {
|
||||
// ASLEEP_A.DAT - ASLEEP_Z.DAT
|
||||
@@ -873,6 +874,7 @@ void NACT_Sys3::cmd_q()
|
||||
|
||||
fio->write(buffer, 9510);
|
||||
}
|
||||
RND = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user