View Single Post
  #11    
Old December 20th, 2008, 09:23 PM
Ninja Caterpie's Avatar
Ninja Caterpie
Sitting by the back window
 
Join Date: Mar 2008
Location: Best City OCE
Age: 18
Gender: Male
Nature: Bold
Quote:
Originally Posted by treecko99 View Post
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
compare LASTRESULT 0x1
if b_true goto @yes
message @pressno
boxset 6
release
end

#org @tutorial
= Yes or no?

#org @yes
message @pressyes
boxset 6
release
end

#org @pressyes
= You pressed YES!

#org @pressno
= You pressed NO!
Lolwut? What are the define for? Anyway, I've optimised the script to save time. It should work now.

Spoiler:
#dynamic 0x71A3F3

#org @start
lock
faceplayer
message @tutorial
boxset 5
compare LASTRESULT 0x1
if b_true goto @yes
message @pressno
boxset 6

release
end

#org @tutorial
= Yes or no?

#org @yes
message @pressyes
boxset 6
release
end

#org @pressyes
= You pressed YES!

#org @pressno
= You pressed NO!
__________________
Brony represent.