这个代码理论上也支持高亮PS的代码,
但由于和XSE特性不同,所以可能会有些不太兼容
以下是从PS某教程中抓来的一段脚本
001 ┍#org $talk
002 │lock
003 │faceplayer
004 │message $1
005 │boxset5
006 │compare LASTRESULT
0x1
007 │if b_true
goto $give
008 │message $2
009 │boxset 6
010 │release
011 ┕end
012 ┍#org $give
013 │giveitem 13 1
014 │message $3
015 │boxset 6
016 │release
017 ┕end
018 ┍#org $1
019 │$1 1 =How
's the weather?
020 ┍#org $2
021 │$2 1 =Maybe tomorrow is\na good day.
022 ┍#org $3
023 │$3 1 =You obtain a potion!
点击查看原始代码
#org $talk
lock
faceplayer
message $1
boxset5
compare LASTRESULT 0x1
if b_true goto $give
message $2
boxset 6
release
end
#org $give
giveitem 13 1
message $3
boxset 6
release
end
#org $1
$1 1 =How's the weather?
#org $2
$2 1 =Maybe tomorrow is\na good day.
#org $3
$3 1 =You obtain a potion!