View Single Post
  #25414    
Old June 3rd, 2013, 08:40 PM
buckeyestilidie
Unhatched Egg
 
Join Date: May 2013
Gender: Male
Quote:
Originally Posted by karatekid552 View Post
It means that if those flags are not set, the Vermilian sailer script won't branch off and check if you have the items.
So it'd be

#include stditems.rbh

'---------------
#org 0x900000
lock
faceplayer
checkflag 0x084A
if 0x1 goto 0x8900029
msgbox 0x890004E MSG_YESNO '"Take this, you'll need it more\nth..."
compare LASTRESULT 0x1
if 0x1 goto 0x8900034
msgbox 0x8900077 MSG_NORMAL '"That's okay. I'm sure someone\nels..."
release
end

'---------------
#org 0x900029
msgbox 0x89000AB MSG_NORMAL '"Adios amigos."
release
end

'---------------
#org 0x900034
giveitem ITEM_MYSTICTICKET 0x1 MSG_OBTAIN
msgbox 0x89000AB MSG_NORMAL '"Adios amigos."
setflag 0x084A
release
end

and then same for the other just 084B?