The Dink Network

Reply to Re: How to kill the green dragon?

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:
 
 
July 25th 2011, 05:20 PM
anon.gif
anon
Ghost
 
Well, borrowing some code from the script pole5.c of this dmod:

if (&result == 1)
{
&fire_sec = 14;
&strength += 1;
&p2_strength += 1;
sp_strength(&p2, &p2_strength);
Playsound(10,22050,0,0,0);

int &apot = 0;
loop:
&apot = get_next_sprite_with_this_brain(6, 0, &apot);
int &crap = sp_seq(&apot, -1);


if i put something like:
say("&crap", 1);


sprite 1 says "-1", but i suppose it shouldn't.

Something similar happened in the dmod initiation, where if i killed the weapon dealer or the woman healer, i could still talk with the bench and the menu still appeared. Can't remember exactly the script code for it, but it went something like this:
int &crap = sp_pseq(&keeper, -1);
if (&crap == 0)
{
  return;
}


where &crap, in freedink, had the value of "-1".

Also, i asked another question in another thread, where i wanted to know which v1.08-only dinkc functions worked in freedink too, like load_palette and sp_custom, since i either don't know how to use, or i didn't manage to make them work in freedink.
If this helps at all, i'm using freedink from the archlinux aur.
Thanks