Board logo

标题: [疑问] 求此脚本的解释 [打印本页]

作者: 七夜的许愿星    时间: 2010-6-2 19:36     标题: 求此脚本的解释

#org @start
checkflag 0x828
if 0x1 goto @done
msgbox @1 0x6
applymovement 0x04 @move
waitmovement 0x0
applymovement 0xFF @move2
pause 0x30
msgbox @2 0x6
playsong 0x13E 0x0
applymovement 0x04 @move3
applymovement 0xFF @move3
waitmovement 0x0
fadesong 0x12C
release
end

#org @done
release
end

#org @move
#raw 0x62
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE

#org @move2
#raw 0x03
#raw 0xFE

#org @move3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @1
= Waaaiiiitttt!!!
#org @2
= You can't go out there\nwithout your own Pokemon.\pWild Pokemon will hurt you.
作者: Nightind    时间: 2010-6-2 20:04

#org @start 脚本开始
checkflag 0x828 设立标识
if 0x1 goto @done 如果标识存在转向结束
msgbox @1 0x6 对话
applymovement 0x04 @move 4号NPC移动脚本
waitmovement 0x0 等待移动结束
applymovement 0xFF @move2 主角移动脚本
pause 0x30 等待时间30
msgbox @2 0x6 对话
playsong 0x13E 0x0 音乐
applymovement 0x04 @move3 4号NPC移动脚本
applymovement 0xFF @move3 主角移动脚本
waitmovement 0x0 等待以上移动结束
fadesong 0x12C 声效
release 解除锁定
end 结束

#org @done
release
end

#org @move
#raw 0x62 移动命令
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0xFE 移动结束

#org @move2
#raw 0x03
#raw 0xFE

#org @move3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @1
= Waaaiiiitttt!!!
#org @2
= You can't go out there\nwithout your own Pokemon.\pWild Pokemon will hurt you.

这脚本怎么很普通,有必要问提问吗...
作者: liuyanghejerry    时间: 2010-6-2 20:08

第二行应为检查标识,其余均正解。
作者: 七夜的许愿星    时间: 2010-6-2 20:31

谢谢,我是脚本盲




欢迎光临 口袋社区-Poke The BBS (https://www.poketb.com/) Powered by Discuz! 6.1.0F