Pokemon Center | 口袋中心 以口袋妖怪为主题并带有其他动漫游戏的讨论

标题: 查看个体 [打印本页]

作者: 冷魅s    时间: 2014-2-2 21:37
标题: 查看个体
  请问海姐,如果要在游戏中查看PM的个体,该怎么写脚本!
作者: 海のLUGIA    时间: 2014-2-3 00:38
抄我写的吧,哪里不明白请说- -
作者: 冷魅s    时间: 2014-2-3 10:10
'---------------
#org 0xE92518
lock
faceplayer
setvar LASTRESULT 0x0
callasm 0xE92528
buffernumber 0x0 LASTRESULT
setvar LASTRESULT 0x1
callasm 0xE92528
buffernumber 0x1 LASTRESULT
setvar LASTRESULT 0x2
callasm 0xE92528
buffernumber 0x2 LASTRESULT
msgbox 0x8E92578 MSG_KEEPOPEN
setvar LASTRESULT 0x3
callasm 0xE92528
buffernumber 0x0 LASTRESULT
setvar LASTRESULT 0x4
callasm 0xE92528
buffernumber 0x1 LASTRESULT
setvar LASTRESULT 0x5
callasm 0xE92528
buffernumber 0x2 LASTRESULT
msgbox 0x8E92598 MSG_KEEPOPEN
setvar LASTRESULT 0x0
callasm 0xE925B8
buffernumber 0x0 LASTRESULT
setvar LASTRESULT 0x1
callasm 0xE925B8
buffernumber 0x1 LASTRESULT
setvar LASTRESULT 0x2
callasm 0xE925B8
buffernumber 0x2 LASTRESULT
msgbox 0x8E925F8 MSG_KEEPOPEN
setvar LASTRESULT 0x3
callasm 0xE925B8
buffernumber 0x0 LASTRESULT
setvar LASTRESULT 0x4
callasm 0xE925B8
buffernumber 0x1 LASTRESULT
setvar LASTRESULT 0x5
callasm 0xE925B8
buffernumber 0x2 LASTRESULT
msgbox 0x8E92628 MSG_NORMAL
release
end

#org 0xE92578
= \h09\hF0\h04\hE9\hAB

#org 0xE92598
= \h04\h60\h0C\hE6\hF0\h04\h6D\h05\h84\hFD\h02\hB8\h0C\hD9\h04\h6C\hFD\h03\hB8\h0C\hE6\h08\h79\hFD\h04

#org 0xE925F8
= \h04\h60\h0C\hE6\hF0\hFD\h02\hFD\h03\hFD\h04

#org 0xE92628
= \h0F\hE5\h05\hE6


这是我的脚本,但与NPC对话就死机!
作者: 海のLUGIA    时间: 2014-2-3 12:50
不懂就把地址也抄过去
callasm 0xE92528←这句已经出错了
作者: 冷魅s    时间: 2014-2-3 16:43
本帖最后由 冷魅s 于 2014-2-3 16:45 编辑

好吧......可为什么这样?

作者: 冷魅s    时间: 2014-2-3 16:45
@海のLUGIA  
作者: 海のLUGIA    时间: 2014-2-3 21:04
冷魅s 发表于 2014-2-3 16:45
@海のLUGIA

你这个rom是不是16MB的,很明显我写的地址是在16MB后了,因为我的绿改是32MB的
作者: 冷魅s    时间: 2014-2-4 14:18
海のLUGIA 发表于 2014-2-3 21:04
你这个rom是不是16MB的,很明显我写的地址是在16MB后了,因为我的绿改是32MB的

  可我改的rom是32MB的。。。

作者: 海のLUGIA    时间: 2014-2-4 15:07
冷魅s 发表于 2014-2-4 14:18
可我改的rom是32MB的。。。

那么这个报错实际是指第53行的,难道你希望用xse这个软件写汉字编码进去吗?




欢迎光临 Pokemon Center | 口袋中心 以口袋妖怪为主题并带有其他动漫游戏的讨论 (http://162.218.49.243/) Powered by Discuz! X3