Dinisk
DinisK
- 89
- Posts
- 7
- Years
- Seen Apr 27, 2019
I sat and thought where I was making a mistake, but after ten hours my patience could not stand it and I ask for help from you. What I want. Girl, as on the screen, depending on the direction of gaze (there are two options, up and to the left) moves away from the nameplate without touching the main character. At first she speaks (look at the nameplate) and moves away from her. Then, when the dialogue is repeated, she answers (have you read?) and only when you exit the card she again gets up next to the nameplate. Tom girl continues to move again during the dialogue. I want to do all this through variables, no flags and copyvars 4011&800C (sorry my bad google translate)
#dynamic 0x800000
#org @start
compare 0x4011 0x0
if 0x1 call @msg 0x2
copyvar 0x4011 0x800C
compare 0x4011 0x2
if 0x1 call @up
copyvar 0x4011 0x800C
compare 0x4011 0x3
if 0x1 call @left
compare 0x4011 0x2
if 0x4 call @msg2
end
#org @msg
setvar 0x4011 0x1
msgbox @msg1 0x2
end
#org @msg1
= Oh look, look
#org @msg2
= Godspeed!
#org @up
copyvar 0x4011 0x800C
applymovement 0x2 @move
waitmovement 0x2
end
#org @move
#raw 0x3
#raw 0x13
#raw 0x2
#raw 0xfe
end
#org @left
copyvar 0x4011 0x800C
applymovement 0x2 @move1
waitmovement 0x2
end
#org @move1
#raw 0x0
#raw 0x10
#raw 0x1
#raw 0xfe
end
#dynamic 0x800000
#org @start
compare 0x4011 0x0
if 0x1 call @msg 0x2
copyvar 0x4011 0x800C
compare 0x4011 0x2
if 0x1 call @up
copyvar 0x4011 0x800C
compare 0x4011 0x3
if 0x1 call @left
compare 0x4011 0x2
if 0x4 call @msg2
end
#org @msg
setvar 0x4011 0x1
msgbox @msg1 0x2
end
#org @msg1
= Oh look, look
#org @msg2
= Godspeed!
#org @up
copyvar 0x4011 0x800C
applymovement 0x2 @move
waitmovement 0x2
end
#org @move
#raw 0x3
#raw 0x13
#raw 0x2
#raw 0xfe
end
#org @left
copyvar 0x4011 0x800C
applymovement 0x2 @move1
waitmovement 0x2
end
#org @move1
#raw 0x0
#raw 0x10
#raw 0x1
#raw 0xfe
end