与XSE之简单对比:
XSE代码:复制内容到剪贴板
代码:
'---------------
#org 0x1E2572
lock
faceplayer
compare 0x405E 0x1
if 0x3 goto 0x81E25B5
compare 0x405E 0x6
if 0x4 goto 0x81E25B5
compare 0x405E 0x5
if 0x1 goto 0x81E25AA
msgbox 0x81E2F96 MSG_KEEPOPEN '"?h?BE?YOüyugagi?g!"
closeonkeypress
applymovement 0x3 0x8243625
waitmovement 0x0
release
end
'---------------
#org 0x1E25B5
checkdailyflags
special 0x94
checkflag 0x932
if 0x1 goto 0x81E2655
msgbox 0x8263F33 MSG_KEEPOPEN '"[buffer1],?Z?aügo?oWO?BI![.][.][.]..."
random 0xA
addvar LASTRESULT 0x14
addvar LASTRESULT 0x85
giveitem LASTRESULT 0x1 MSG_OBTAIN
compare LASTRESULT 0x0
if 0x1 goto 0x82430E0
setflag 0x932
msgbox 0x8263FB4 MSG_KEEPOPEN '"?mePO?puühi?aGEre?i?D[buffer1]!"
random 0x2
compare LASTRESULT 0x0
if 0x1 goto 0x81E2613
compare LASTRESULT 0x1
if 0x1 goto 0x81E2634
end
'---------------
#org 0x1E25AA
msgbox 0x81E2FBE MSG_KEEPOPEN '"EDE?agagi\n?Kne?i?[f]?D?bachi[.][...."
closeonkeypress
release
end
'---------------
#org 0x1E2655
msgbox 0x8263FF1 MSG_YESNO '"?T?mineüriO,üma?puühi?mine\n?T?tsu..."
compare LASTRESULT 0x1
if 0x1 goto 0x81E2672
msgbox 0x826404E MSG_KEEPOPEN '"?/?YUo?fu?[.]??[>]?tsu?ke?aüi?x?YU..."
release
end
'---------------
#org 0x2430E0
msgbox 0x8243977 MSG_KEEPOPEN '"üSHIüO!\ni?doüpi?D[.][.]"
release
end
'---------------
#org 0x1E2613
giveitem 0x8F 0x1 MSG_OBTAIN
compare LASTRESULT 0x0
if 0x1 goto 0x82430E0
msgbox 0x8263FD5 MSG_KEEPOPEN '"[buffer1]?[']koügo?o?YU?c?d?,PU?"
release
end
'---------------
#org 0x1E2634
giveitem 0x93 0x1 MSG_OBTAIN
compare LASTRESULT 0x0
if 0x1 goto 0x82430E0
msgbox 0x8263FD5 MSG_KEEPOPEN '"[buffer1]?[']koügo?o?YU?c?d?,PU?"
release
end
'---------------
#org 0x1E2672
msgbox 0x8264025 MSG_KEEPOPEN '"?mePOüo?tsuneO?a ?puühi?tsune\n[bu..."
release
end
'---------
' Strings
'---------
#org 0x1E2F96
= ?h?BE?YOüyugagi?g!
#org 0x263F33
= [buffer1],?Z?aügo?oWO?BI![.][.][.]\n?jüa?mePO,üorarariri?H?[$]?m?aügo?o,\p?[f]?jto?puühi![buffer1]?[']ko?i?Z?t!
#org 0x263FB4
= ?mePO?puühi?aGEre?i?D[buffer1]!
#org 0x1E2FBE
= EDE?agagi\n?Kne?i?[f]?D?bachi[.][.]
#org 0x263FF1
= ?T?mineüriO,üma?puühi?mine\n?T?tsuneüriO,üma?puühi?tsune?[.]?
#org 0x26404E
= ?/?YUo?fu?[.]??[>]?tsu?ke?aüi?x?YU?kaFU?g!
#org 0x243977
= üSHIüO!\ni?doüpi?D[.][.]
#org 0x263FD5
= [buffer1]?[']koügo?o?YU?c?d?,PU?
#org 0x264025
= ?mePOüo?tsuneO?a ?puühi?tsune\n[buffer1]?puühi?c?d?Cüga?
'-----------
' Movements
'-----------
#org 0x243625
#raw 0x4E 'Face Left
#raw 0xFE 'End of Movements
PKSV代码:复制内容到剪贴板
代码:
#org 0x81E2572
'-----------------------------------
lock
faceplayer
compare 0x405E 0x1
if 0x3 jump 0x81E25B5 ' Smaller Than or Equal To
compare 0x405E 0x6
if 0x4 jump 0x81E25B5 ' Larger Than or Equal To
compare 0x405E 0x5
if 0x1 jump 0x81E25AA ' Equal To
msgbox 0x81E2F96 ' \hF2h\hF1\h99\hF5\h8...
callstd MSG_NOCLOSE ' Non-closing message
closemsg
applymovement 0x3 0x8243625 ' jump_down1 end
pauseevent 0x0
release
end
#org 0x81E25B5
'-----------------------------------
CMD_2D
special 0x94
checkflag 0x932
if 0x1 jump 0x81E2655 ' Equal To
msgbox 0x8263F33 ' \v\h02,\hF2Z\hF1a\hF...
callstd MSG_NOCLOSE ' Non-closing message
random 0xA
addvar LASTRESULT 0x14
addvar LASTRESULT 0x85
copyvarifnotzero 0x8000 0x800D
copyvarifnotzero 0x8001 0x1
callstd MSG_OBTAIN ' Obtained the XXXXXX!
compare LASTRESULT 0x0
if 0x1 jump 0x82430E0 ' Equal To
setflag 0x932
msgbox 0x8263FB4 ' \hF1\h22\h9F\hF1\h4D...
callstd MSG_NOCLOSE ' Non-closing message
random 0x2
compare LASTRESULT 0x0
if 0x1 jump 0x81E2613 ' Equal To
compare LASTRESULT 0x1
if 0x1 jump 0x81E2634 ' Equal To
end
#org 0x81E2655
'-----------------------------------
msgbox 0x8263FF1 ' \hF2T\hF1\h20\h18\hF...
callstd MSG_YESNO ' Yes/No message
compare LASTRESULT 0x1
if 0x1 jump 0x81E2672 ' Equal To
msgbox 0x826404E ' \hF2\hBA\hF1\h75\h05...
callstd MSG_NOCLOSE ' Non-closing message
release
end
#org 0x81E2672
'-----------------------------------
msgbox 0x8264025 ' \hF1\h22\h9F\hF3\h05...
callstd MSG_NOCLOSE ' Non-closing message
release
end
#org 0x81E25AA
'-----------------------------------
msgbox 0x81E2FBE ' \h82\h94\hF1a\h37\h3...
callstd MSG_NOCLOSE ' Non-closing message
closemsg
release
end
#org 0x82430E0
'-----------------------------------
msgbox 0x8243977 ' \hF3\h5C\hF6\h55!\n\...
callstd MSG_NOCLOSE ' Non-closing message
release
end
#org 0x81E2613
'-----------------------------------
copyvarifnotzero 0x8000 0x8F
copyvarifnotzero 0x8001 0x1
callstd MSG_OBTAIN ' Obtained the XXXXXX!
compare LASTRESULT 0x0
if 0x1 jump 0x82430E0 ' Equal To
msgbox 0x8263FD5 ' \v\h02\hF2\hB3\h0A\h...
callstd MSG_NOCLOSE ' Non-closing message
release
end
#org 0x81E2634
'-----------------------------------
copyvarifnotzero 0x8000 0x93
copyvarifnotzero 0x8001 0x1
callstd MSG_OBTAIN ' Obtained the XXXXXX!
compare LASTRESULT 0x0
if 0x1 jump 0x82430E0 ' Equal To
msgbox 0x8263FD5 ' \v\h02\hF2\hB3\h0A\h...
callstd MSG_NOCLOSE ' Non-closing message
release
end
#org 0x81E2F96
= \hF2h\hF1\h99\hF5\h86\hF3\h25\h37\h38\hF2g!
#org 0x8263F33
= \v\h02,\hF2Z\hF1a\hF3\h3B\hF1o\h7D\hF1\h97![.][.][.]\n\hF2j\hF3\h01\hF1\h22\h9F,\hF3\h05\h27\h27\h28\h28\hF5H\hF2[p]\hF2m\hF1a\hF3\h3B\hF1o,\p\hF4\hB6\hF2j\h14\hF1\h4D\hF3\e!\v\h02\hF2\hB3\h0A\hF2i\hF2Z\hF2t!
#org 0x8263FB4
= \hF1\h22\h9F\hF1\h4D\hF3\e\hF1a\h8A\h2A\hF2i\hF2D\v\h02!
#org 0x8263FF1
= \hF2T\hF1\h20\h18\hF3\h28\h83,\hF3\h1F\hF1\h4D\hF3\e\hF1\h20\h18\n\hF2T\hF1\h12\h18\hF3\h28\h83,\hF3\h1F\hF1\h4D\hF3\e\hF1\h12\h18\hF2[.]?
#org 0x826404E
= \hF2\hBA\hF1\h75\h05\hF5\h1C\hF2[.]?\hF2\hEF\hF1\h50\hF1\h09\hF1a\hF3\h02\hF2x\hF1\h75\hF5\h06\h6C\hF2g!
#org 0x8264025
= \hF1\h22\h9F\hF3\h05\hF1\h12\h18\h83\hF1a \hF1\h4D\hF3\e\hF1\h12\h18\n\v\h02\hF1\h4D\hF3\e\hF2c\hF2d\hF2C\hF3\h37?
#org 0x81E2FBE
= \h82\h94\hF1a\h37\h38\n\hF2K\h18\hF2\h30\hF1\hB6\hF2D\hF2\h46\h11[.][.]
#org 0x8243977
= \hF3\h5C\hF6\h55!\n\h02\hF2\h45\hF3\h4C\hF2D[.][.]
#org 0x8263FD5
= \v\h02\hF2\hB3\h0A\hF3\h3B\hF1o\hF1\h75\hF2c\hF2d\hF2,\h9D?
#org 0x8243625
M jump_down1 end
对比:
lock:XSE与PKSV相同
faceplayer:相同
XSE-goto等于PKSV-jump
XSE-closeonkeypress等于PKSV-closemsg
[
本帖最后由 luojingmin 于 2009-10-11 16:50 编辑 ]