The Dink Network

Reply to Re: wait_for__lbuttom

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:
 
 
April 30th 2014, 06:11 PM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
Uh-huh, true. I ditched the one from the reference and tried this:

void main(void)
{
freeze(1);
loop:

wait_for_button();

if (&result == 68)
{
say("ass",1);
}

goto loop;

unfreeze(1);
kill_this_task();

Now, button 5 is ESC. If I try the above, it won't work at all! If I try if (&result == 5) though, Dink will say ass. The game is also frozen. dang