View Single Post
  #10    
Old December 20th, 2008, 09:04 PM
treecko99
The one and only
 
Join Date: Nov 2007
Location: I'm not that much of a n00b.
Age: 20
Gender:
Nature: Quirky
Send a message via Windows Live Messenger to treecko99
I am trying out a yes/no script I found in a tutorial, but I am having some trouble. Originally it said I was missing #define or parameter tags so I added them to the places that needed them and then complied. When I tested out in the rom "Yes or No?" appeared and so did the box. When I answered the rest of the text didn't appear but I was able to walk around.

Game: Fire Red
System: XSE
Type: Yes/No Script

Script:



Spoiler:
#dynamic 0x71A3F3

#org @start
lock
faceplayer
message @tutorial
boxset 5
#define Compare LASTRESULT 0x1
#define b_true goto @yes
#define Compare LASTRESULT 0x0
#define if b_true goto @no
release
end

#org @tutorial
= Yes or no?

#org @yes
message @pressyes
boxset 6
release
end

#org @no
message @pressno
boxset 6
release
end

#org @pressyes
= You pressed YES!

#org @pressno
= You pressed NO!
__________________
So this a signature....its so blank. Time to fix that.


Click here to feed me. Don't let me starve!
This link is a lie!


Last edited by treecko99; December 20th, 2008 at 09:19 PM.