View Single Post
Old September 22nd, 2013 (9:34 AM).
leafblading leafblading is offline
Join Date: Sep 2013
Gender: Male
Posts: 1
hi i've got a question,

I am making a pokemon ROM and i am wondering what I am doing wrong i want the following to happen:
when I talk to the person she should say: Hi do you like my house decoration?
I should be able to tell her Yes or No.
when I say yes she should say thank you, when i say no she should say, that's a pity.
if I said yes she should also give me a rare candy. and I only should be able to only do this once. after this she should say: yay you like my home decoration!

this is my script:

#dynamic 0x900500
#org @start
checkflag 0x511
if 0x1 goto @tegusta
msgbox 0x890050D MSG_YESNO '"Vivian: Hi!\lDo you like my house ..."
Compare 0x800D 0x1
if 0x1 goto @yes
Compare 0x800D 0x0
if 0x0 goto @no

' Strings
#org 0x90050D
= Vivian: Hi!\lDo you like my house decoration?

#org @no
msgbox @pity 0x6

#org @yes
msgbox @thankyou 0x6
giveitem 0x3F 0x1 0x0
setflag 0x511

#org @tegusta
msgbox @like 0x6

#org @like
= You like my house decoration!

#org @thankyou
= thank you!

#org @pity
= well that's a pity
hope anyone can help me out!
Reply With Quote