Ace Trainer Slash
If you give me about two hours, I can make scripts
- 236
- Posts
- 6
- Years
- He/Him/They
- Australia.
- Seen Aug 6, 2024
Hello :)
I tried making my very first Yes/No script a few days ago, but there seems to be an error.
The Script is in spoilers.
The error is that whenever I click the 'No' option in-game, it wouldn't do anything, and if I clicked the A button, it would loop the Yes/No script for some reason. When I click the 'Yes' option in game however, it works as intended to.
Any ideas on what I have made an error in via script?
I tried making my very first Yes/No script a few days ago, but there seems to be an error.
The Script is in spoilers.
The error is that whenever I click the 'No' option in-game, it wouldn't do anything, and if I clicked the A button, it would loop the Yes/No script for some reason. When I click the 'Yes' option in game however, it works as intended to.
Any ideas on what I have made an error in via script?
Spoiler:
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @question 0x5
compare 0x800D 0x1
if 0x1 goto @yes
compare 0x800D 0x0
if 0x0 goto @no
end
#org @yes
msgbox @dedenne 0x6
release
end
#org @no
msgbox @excuse 0x6
release
end
#org @question
= Hi there, you like Dedenne?
#org @dedenne
= Oh, you like Dedenne?\n Truly Excellent!
#org @excuse
= Excuse me?!\nDon't talk to me\lagain!
#org @start
lock
faceplayer
msgbox @question 0x5
compare 0x800D 0x1
if 0x1 goto @yes
compare 0x800D 0x0
if 0x0 goto @no
end
#org @yes
msgbox @dedenne 0x6
release
end
#org @no
msgbox @excuse 0x6
release
end
#org @question
= Hi there, you like Dedenne?
#org @dedenne
= Oh, you like Dedenne?\n Truly Excellent!
#org @excuse
= Excuse me?!\nDon't talk to me\lagain!
Last edited: