Skip to content

Commit

Permalink
Fix missing angry rena sprite when CGs disabled
Browse files Browse the repository at this point in the history
 - 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
  • Loading branch information
drojf committed Jun 3, 2023
1 parent df616dd commit 2539eae
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Update/onik_011.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down Expand Up @@ -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); }
Expand Down

0 comments on commit 2539eae

Please sign in to comment.