The Dink Network

Reply to Re: Potions in dreams?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
May 30th, 11:17 AM
spike.gif
Here's a Drive folder with share access. Save file and Dream4.c file.

Thanks! That's helpful.

It is on screen 309. Dink is taken there by the script "dream4" which moves him around the screen a bit but moves him a bit too much to the left at one point making him miss the potion by just a few pixels.

I think you should actually edit s3-inn.c, it has the same dream sequence inside it but the script doesn't just end with the following:

  move_stop(1, 2, 100, 1);
  say("?", 1);
  dink_can_walk_off_screen(0);
}


Also I feel like I'm taking crazy pills, but Dink doesn't unfreeze at the end of that script even though it's moving him with move_stop. 100% that should unfreeze Dink, but it doesn't either on Yeoldedink or some ancient version of Freedink I tried it on... (on Dink HD he doesn't even unfreeze at the end of the whole script, which I'm guessing is because the script hangs up on say_stop("`3Thank you, come again.", &current_sprite), while the Freedink engine family just skips over that faulty command and still runs the unfreeze later in the script)

I can't get it to reflect my changes whatsoever. As a secondary test, I even changed his text/speech part to have "aaa" in front so that I know the test distinctly works when he goes into the dream and speaks, but it doesn't change. I even deleted the dream4.d file (compiled d file) to force it to pickup my new dream4.c file but even then it doesn't change.

See above, you should actually edit the innkeeper's script. I think the dreamX.c scripts are just placeholders Wesley wrote the dream sequences in, then copied them into other scripts. You should also change the last dink_can_walk_off_screen(1) into dink_can_walk_off_screen(0), otherwise he can walk past screen borders after that dream.

No need to compile anything, I'm not sure if it defaults to reading the .D files instead of .C files if they're in the same folder, but if the .D folders are in a subfolder they're harmless. (Also completely useless, I'm not sure why the dmod still has those. )

I also took a look at a few of the other inn scripts, and they're just shoddily scripted and never would've worked correctly on any version:

s4-inn plays some parts twice if you have the doll (although the script should still generally work)

s6-inn only does script_attach(1000) if you have the bonca doll, but it reloads the screen regardless so without the correct doll the script dies prematurely.