From 2539eaebc7b56911cd05a59d5d3a0d12d0ac7c35 Mon Sep 17 00:00:00 2001 From: Daniel Wong Date: Sat, 3 Jun 2023 12:31:32 +1000 Subject: [PATCH] Fix missing angry rena sprite when CGs disabled - This only activates when CGs are disabled. Usually you'd be using the Ryukishi preset for this to happen. - This occurs during the "uso da" scene in subchapter 11 - There is a later scene in subchawpter 15 which does not have a CG and uses the same sprite --- Update/onik_011.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Update/onik_011.txt b/Update/onik_011.txt index 6803001d..04c7bfee 100644 --- a/Update/onik_011.txt +++ b/Update/onik_011.txt @@ -2963,7 +2963,12 @@ void main() PlaySE( 4, "wa_027", 56, 64 ); ModPlayVoiceLS(3, 2, "ps3/s01/02/120200139a", 256, TRUE); -// DrawBustshot( 2, "re_se_hii_a1", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE ); +// Replace CG with angry Rena sprite (originally re_se_hii_a1) if CGs are disabled (like the original Ryukishi game). +// For now, the LIES text and negative effect is still overlaid on the sprite to make this easier to implement. + if (GetGlobalFlag(GHideCG) == 1) + { + ModDrawCharacter(2, 2, "portrait/re1a_hig_okoru_a1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE ); + } DrawBG("scene/002b", 0, FALSE); DrawBustshot(1, "text/oni_usoda", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 1, 0, FALSE ); @@ -2997,6 +3002,13 @@ void main() NULL, "Sending frightened birds into the air.", Line_Normal); ClearMessage(); +// Reset Rena's sprite back to normal + if (GetGlobalFlag(GHideCG) == 1) + { + DisableWindow(); + ModDrawCharacter(2, 2, "portrait/re1a_hig_def_a1_", "0", 0, 0, 0, FALSE, 0, 0, 0, 0, 0, 0, 0, 10, 200, TRUE ); + } + // 大きく吸いこんだ息が、吐き出せない@いや、息を吐き出す事すら許してくれない@ if (GetGlobalFlag(GADVMode)) { OutputLineAll("", NULL, Line_ContinueAfterTyping); }