View Single Post
  #4908    
Old November 11th, 2010 (05:01 PM).
Tannecho51's Avatar
Tannecho51
Pokemon Lion's Eye
 
Join Date: Oct 2010
Location: Illinois
Gender: Male
Nature: Hardy
Colcolstyles, thanks for your help. The Y/N questions are now working! But there are still 3 problems:

-Instead of going to the "name" special, it simply freezes.
-The first showpokepic has very weird colors.
-The applymovements don't work.

Here's the script:
Spoiler:
#dynamic 0x800000

#org @start
lock
checkflag 0x1201
if 0x1 goto @done
checkflag 0x1202
if 0x1 goto @done
checkflag 0x1203
if 0x1 goto @done
goto @begin

#org @begin
applymovement 0x6 @move1
waitmovement 0x6
msgbox @intro 0x6
goto @treecko

#org @move1
#raw 0x30
#raw 0x30
#raw 0x18
#raw 0x08
#raw 0xFE

#org @move2
#raw 0x09
#raw 0x2F
#raw 0x2F
#raw 0x17
#raw 0xFE

#org @intro
=text omitted

#org @treecko
showpokepic 0x115 0xA 0x3
msgbox @treeckom 0x5
compare LASTRESULT 0x1
hidepokepic
if 0x1 goto @treeckoget
goto @torchic

#org @treeckoget
givepokemon 0x115 0x5 0x0 0x0 0x0 0x0
setflag 0x1201
goto @name
release
end

#org @treeckom
= text omitted

#org @torchic
showpokepic 0x118 0xA 0x3
msgbox @torchicm 0x5
compare LASTRESULT 0x1
hidepokepic
if 0x1 goto @torchicget
goto @mudkip

#org @torchicget
givepokemon 0x118 0x5 0x0 0x0 0x0 0x0
setflag 0x1203
goto @name

#org @torchicm
=text omitted
#org @mudkip
showpokepic 0x11B 0xA 0x3
msgbox @mudkipm 0x6
givepokemon 0x11B 0x5 0x0 0x0 0x0 0x0
hidepokepic
setflag 0x1203
goto @name

#org @mudkipm
= text omitted

#org @name
setflag 0x800
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 call @naming
msgbox @2 0x6
applymovement 0x6 @move2
waitmovement 0x6
release
end

#org @naming
special 0x166
waitstate
return

#org @1
= text omitted

#org @2
= text omitted
#org @done
release
end


It shows up just how you would expect it to be when I open it up in Advance Map, so I won't post that.
Thanks in advance.