- 60
- Posts
- 9
- Years
- The Sky of course
- Seen Nov 4, 2022
Hey guys, here with another script error. So down below is my script. What's supposed to happen is the player can talk to this lady who needs wood mail, and if they say no she insults the player. If the player says yes, she is in disbelief and the players bag should open up so they can trade the wood mail for a moon stone. After the trade, she thanks the player, and talking to her again will tell her why she needed the wood mail. Now the problem is, whenever the player talks to her, it gets to the yes/no menu. But when you pick yes, it answers it like you pressed no. So it acts like yes & no both equal no. I'm not sure why it does this, but I'm also not too confident on trading scripts. Thanks once again everyone.
#dynamic 0x809C0C
#org @start
faceplayer
checkflag 0x1220
if 0x1 goto @done
msgbox @talk1 0x5
compare 0x4001 0x1
if 0x1 goto @trade
msgbox @talk3 0x6
release
end
#org @done
faceplayer
msgbox @talk2 0x6
release
end
#org @trade
msgbox @talk4 0x6
checkitem 0x7D 0x1
fanfare 0x13E
msgbox @talk5 0x6
setflag 0x1220
msgbox @talk6 0x6
release
end
#org @talk1
= Woman: You child, I'm in desperate need\nof Wood Mail.\pI am willing to trade you my Moon\nStone for it.\pSound good?
#org @talk2
= Woman: Thank you so much, I can\nfinally write to my husband.
#org @talk3
= Hmph! Insolent brat.
#org @talk4
= Really?! Don't lie now, show me it.
#org @talk5
= You exchanged the Wood Mail for a Moon Stone!
#org @talk6
= Thank you benevolent child!
#dynamic 0x809C0C
#org @start
faceplayer
checkflag 0x1220
if 0x1 goto @done
msgbox @talk1 0x5
compare 0x4001 0x1
if 0x1 goto @trade
msgbox @talk3 0x6
release
end
#org @done
faceplayer
msgbox @talk2 0x6
release
end
#org @trade
msgbox @talk4 0x6
checkitem 0x7D 0x1
fanfare 0x13E
msgbox @talk5 0x6
setflag 0x1220
msgbox @talk6 0x6
release
end
#org @talk1
= Woman: You child, I'm in desperate need\nof Wood Mail.\pI am willing to trade you my Moon\nStone for it.\pSound good?
#org @talk2
= Woman: Thank you so much, I can\nfinally write to my husband.
#org @talk3
= Hmph! Insolent brat.
#org @talk4
= Really?! Don't lie now, show me it.
#org @talk5
= You exchanged the Wood Mail for a Moon Stone!
#org @talk6
= Thank you benevolent child!
Last edited: