- 63
- Posts
- 12
- Years
- Seen Dec 17, 2014
I was simply wondering if anyone could take a quick look at this script here which causes the player to freeze when stepping on the script tile. I would be ever grateful tho whoever spots my mishap.
#dynamic 0x8003D1
#org @start
lock
checkflag 0x200
if 0x1 goto @done
applymovement 0xFF @move1
waitmovement 0x0
msgbox @talk1
callstd 0x5
applymovement 0x01 @move2
applymovement 0x02 @move3
applymovement 0x03 @move4
applymovement 0x04 @move5
waitmovement 0x0
setflag 0x200
release
end
#org @move1
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0xFE
#org @talk1
= TEST.
#org @move2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x60
#raw 0xFE
#org @move3
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x60
#raw 0xFE
#org @move4
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x60
#raw 0xFE
#org @move5
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x60
#raw 0xFE
#org @done
release
end
Spoiler:
#dynamic 0x8003D1
#org @start
lock
checkflag 0x200
if 0x1 goto @done
applymovement 0xFF @move1
waitmovement 0x0
msgbox @talk1
callstd 0x5
applymovement 0x01 @move2
applymovement 0x02 @move3
applymovement 0x03 @move4
applymovement 0x04 @move5
waitmovement 0x0
setflag 0x200
release
end
#org @move1
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0xFE
#org @talk1
= TEST.
#org @move2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x60
#raw 0xFE
#org @move3
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x60
#raw 0xFE
#org @move4
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x60
#raw 0xFE
#org @move5
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x60
#raw 0xFE
#org @done
release
end