Thread: [Tutorial] PKSV Extra Scripting Tutorials
View Single Post
  #20    
Old September 6th, 2013, 09:21 AM
graphicsturtle123's Avatar
graphicsturtle123
 
Join Date: Sep 2013
Gender: Female
I've made a script and saved and compiled it, but when I try to open it on Advance Map it comes up like this:
#org 0x881565C
'-----------------------------------
lockall
checkflag 0x253
if true jump 0x887405A ' Flag is set
if false jump 0x887409E ' Flag is unset
setflag 0x251
waitbutton
releaseall
end

#org 0x887405A
'-----------------------------------
#raw 0xD8
#raw 0xD5
#raw 0xE2
#raw 0xDB
#raw 0xD9
#raw 0xE6
#raw 0xE3
#raw 0xE9
#raw 0xE7
nop0 ' #raw 0x0
#raw 0xDA
#raw 0xE3
#raw 0xE6
nop0 ' #raw 0x0
#raw 0xE4
#raw 0xD9
#raw 0xE3
#raw 0xE4
#raw 0xE0
#raw 0xD9
nop0 ' #raw 0x0
#raw 0xE8
#raw 0xE3
nop0 ' #raw 0x0
#raw 0xE8
#raw 0xE6
#raw 0xD5
#raw 0xEA
#raw 0xD9
#raw 0xE0
nop0 ' #raw 0x0
#raw 0xD5
#raw 0xE0
#raw 0xE3
#raw 0xE2
#raw 0xD9
setdoorclosedstatic 0xFFFF 0xFFFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
CMD_C3 0xB4
#raw 0xE1
nop0 ' #raw 0x0
#raw 0xE7
#raw 0xE3
#raw 0xE6
#raw 0xE6
#raw 0xED
#raw 0xB8
nop0 ' #raw 0x0
#raw 0xDD
#raw 0xE8
nop0 ' #raw 0x0
#raw 0xDD
#raw 0xE7
nop0 ' #raw 0x0
#raw 0xE8
#raw 0xE3
#raw 0xE3
nop0 ' #raw 0x0
#raw 0xD8
#raw 0xD5
#raw 0xE2
#raw 0xDB
#raw 0xD9
#raw 0xE6
#raw 0xE3
#raw 0xE9
#raw 0xE7
nop0 ' #raw 0x0
#raw 0xE9
#raw 0xE4
nop0 ' #raw 0x0
#raw 0xD5
#raw 0xDC
#raw 0xD9
#raw 0xD5
#raw 0xD8
CMD_FB 0xDCE8DDEB
#raw 0xE3
#raw 0xE9
#raw 0xE8
nop0 ' #raw 0x0
#raw 0xD5
nop0 ' #raw 0x0
msgboxsign
#raw 0xC9
waitcry
#raw 0xD9
nop0 ' #raw 0x0
textcolor 0xC9
#raw 0xC8
#raw 0xB8
nop0 ' #raw 0x0
#raw 0xE1
#raw 0xD5
#raw 0xED
#raw 0xD6
#raw 0xD9
nop0 ' #raw 0x0
#raw 0xED
#raw 0xE3
#raw 0xE9
nop0 ' #raw 0x0
#raw 0xD7
#raw 0xE3
#raw 0xE9
#raw 0xE0
#raw 0xD8
nop0 ' #raw 0x0
#raw 0xD6
#raw 0xE3
#raw 0xE6
#raw 0xE6
#raw 0xE3
#raw 0xEB
nop0 ' #raw 0x0
#raw 0xE3
#raw 0xE2
#raw 0xD9
setdooropened 0xFFFF 0xFFFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
'Decompiler stopped due to failsafe mechanism (too many #RAW 0xFF commands)

#org 0x887409E
'-----------------------------------
nop0 ' #raw 0x0
#raw 0xE7
#raw 0xE3
#raw 0xE6
#raw 0xE6
#raw 0xED
#raw 0xB8
nop0 ' #raw 0x0
#raw 0xDD
#raw 0xE8
nop0 ' #raw 0x0
#raw 0xDD
#raw 0xE7
nop0 ' #raw 0x0
#raw 0xE8
#raw 0xE3
#raw 0xE3
nop0 ' #raw 0x0
#raw 0xD8
#raw 0xD5
#raw 0xE2
#raw 0xDB
#raw 0xD9
#raw 0xE6
#raw 0xE3
#raw 0xE9
#raw 0xE7
nop0 ' #raw 0x0
#raw 0xE9
#raw 0xE4
nop0 ' #raw 0x0
#raw 0xD5
#raw 0xDC
#raw 0xD9
#raw 0xD5
#raw 0xD8
CMD_FB 0xDCE8DDEB
#raw 0xE3
#raw 0xE9
#raw 0xE8
nop0 ' #raw 0x0
#raw 0xD5
nop0 ' #raw 0x0
msgboxsign
#raw 0xC9
waitcry
#raw 0xD9
nop0 ' #raw 0x0
textcolor 0xC9
#raw 0xC8
#raw 0xB8
nop0 ' #raw 0x0
#raw 0xE1
#raw 0xD5
#raw 0xED
#raw 0xD6
#raw 0xD9
nop0 ' #raw 0x0
#raw 0xED
#raw 0xE3
#raw 0xE9
nop0 ' #raw 0x0
#raw 0xD7
#raw 0xE3
#raw 0xE9
#raw 0xE0
#raw 0xD8
nop0 ' #raw 0x0
#raw 0xD6
#raw 0xE3
#raw 0xE6
#raw 0xE6
#raw 0xE3
#raw 0xEB
nop0 ' #raw 0x0
#raw 0xE3
#raw 0xE2
#raw 0xD9
setdooropened 0xFFFF 0xFFFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
#raw 0xFF
'Decompiler stopped due to failsafe mechanism (too many #RAW 0xFF commands)

Why is it doing this? If it helps, here is what the script should be:
#dyn 0x740001
#org 0x81565C
'-----------------------------------
lockall
checkflag 0x253
if true jump 0x87405A ' Flag is set
if false jump 0x87409E
setflag 0x251
waitbutton
releaseall
end

#org 0x87405A
message 0x87402A ' I'm sorry, th-\pOh r...
showmsg
waitbutton
fadescreen FADEOUT_WHITE
closemsg
disappear 0x3
setflag 0x251
fadescreen FADEIN_WHITE
releaseall
end

#org 0x87409E
message 0x87409B
showmsg
waitbutton
release
end

#org 0x87409B
= I'm sorry, it is too dangerous up ahead\pwithout a POKe\MON, maybe you could borrow one?

#org 0x87402A
= Recent POK\eMON attacks mean that it \is now too dangerous for people to travel alone[.]

PLEASE HELP!!!