metroidvictim
03-27-2007, 01:16 AM
Ok, I'm really getting frustrated trying to get this scripting to work. I would like two things for my quest to be possible. 1. I would like to have Link JUMP when he gets a roc's feather or boots or whatever. 2. I can't get the script I recieved from (forgive me, can't remember screen-name!) for the whistle to work! I would like it if I could have Link change his sprite to a 2 tile animation everytime he plays the whistle (upright bass in my quest). It keeps saying that the script cannot run or some part of the code is wrong or corrupt or something! I will post the script below.
Code:
SETV sd0,1
The item script. Not too hard. Now, here's the FFC script:
Code:
SETR data,d0
WAIT WAITFRAME
COMPAREV sd0,1
GOTOTRUE A1
GOTO WAIT
A1 SETR data,d1
SETR d3,d2
MULTV d3,60
ALOOP WAITFRAME
COMPAREV d3,0
GOTOTRUE END
SUBV d3,1
GOTO ALOOP
END SETR data,d0
SETV sd0,1
GOTO WAIT
Currently working on: The Adventure of Link: A Boy and His Shadow (10%)
Code:
SETV sd0,1
The item script. Not too hard. Now, here's the FFC script:
Code:
SETR data,d0
WAIT WAITFRAME
COMPAREV sd0,1
GOTOTRUE A1
GOTO WAIT
A1 SETR data,d1
SETR d3,d2
MULTV d3,60
ALOOP WAITFRAME
COMPAREV d3,0
GOTOTRUE END
SUBV d3,1
GOTO ALOOP
END SETR data,d0
SETV sd0,1
GOTO WAIT
Currently working on: The Adventure of Link: A Boy and His Shadow (10%)