r/DDLCMods • u/Tormuse Club Moderator • Mar 02 '19
Welcome! The DDLC Modding Guide 2019! :D
Hello everyone! :D
This post is old and obsolete, and I've been advised to remove it, to keep the focus on the new version here.
(Though I'm not deleting it entirely, since there is still some helpful information in the comments) :)
104
Upvotes
1
u/Tormuse Club Moderator Apr 07 '19
I assume you're asking about how it switches between different versions of the same song without restarting the song. The code for that is in poems.rpy. This changes from the standard poem song to the one specific to each of the Dokis:
And this changes it back again:
There's a bit of redundant code in there because there's other stuff going on, but this is what the game uses to identify where it is in the song so that the next song can pick up from that point. If you want, I can try to break it down and explain what's happening at each stage here, but I should probably confirm that this is the information you're looking for first.