Dinisk
DinisK
- 89
- Posts
- 8
- Years
- Seen Apr 27, 2019
I want to make a scene. The professor asks with msgbox 0x5 yes or no. If yes-> the scene goes on, if no-> another message comes out (hmm .. repeat your answer) and after that the message msgbox 0x5 repeats. It sounds pretty simple yes? I'm wondering where I made a mistake. When I click yes, it continues to work, but if I try different combinations from no and yes, the script repeats.
#dynamic 0x800000
#org @main
msgbox @ rowantell2 0x5
compare 0x800D 0x1
if 0x1 call @Yes // I tried to put everything here if 0x0 call @no
msgbox @ No2 0x2
msgbox @ rowantell2 0x5
end
#org @start
.... // continius script if choose Yes
...... setvar 0x4011 0x1
#org @ rowantell2
= Yes or no?
#org @No
msgbox @ No2 0x2
msgbox @ rowantell2 0x5
end
#org @ No2
= Good, i repeat
#org @Yes
msgbox @ Yes2 0x2
call @start
end
#org @ Yes2
= Good answer .....
#dynamic 0x800000
#org @main
msgbox @ rowantell2 0x5
compare 0x800D 0x1
if 0x1 call @Yes // I tried to put everything here if 0x0 call @no
msgbox @ No2 0x2
msgbox @ rowantell2 0x5
end
#org @start
.... // continius script if choose Yes
...... setvar 0x4011 0x1
#org @ rowantell2
= Yes or no?
#org @No
msgbox @ No2 0x2
msgbox @ rowantell2 0x5
end
#org @ No2
= Good, i repeat
#org @Yes
msgbox @ Yes2 0x2
call @start
end
#org @ Yes2
= Good answer .....