View Single Post
  #7878    
Old February 10th, 2013 (07:05 AM).
TheUltimateG.J's Avatar
TheUltimateG.J TheUltimateG.J is offline
 
Join Date: Oct 2011
Location: Bihar,Darbhanga
Age: 16
Gender: Male
Nature: Jolly
Posts: 105
hi I want to know what's the problem in this script as whn the pidgeotto section of the script after battling pidgeotto the screen turns black forever and whenever I step on the script tile the script again starts to go on and I again got a free mankey and battle a pidgeotto sohow should I stop these errors?

Here is the script

'---------------
#org 0x802781
applymovement 0x2 0x8802824
waitmovement 0x0
msgbox 0x880282F MSG_YESNO '"A wild Mankey wants to join your\n..."
compare LASTRESULT 0x1
if 0x1 goto 0x88027AB
compare LASTRESULT 0x0
if 0x0 goto 0x8802819
end

'---------------
#org 0x8027AB
msgbox 0x880286C MSG_NORMAL '"Mankey happily joined your party!"
applymovement 0x2 0x88028A9
givepokemon 0x38 0xA 0xCF 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x88028B1 MSG_KEEPOPEN '"[player]recieved a Mankey!!"
waitfanfare
closeonkeypress
setflag 0x754
fadescreen 0x1
fadescreen 0x0
showsprite 0x3
msgbox 0x88028C9 MSG_NORMAL '"A Pidgey wants to battle but it is..."
fadescreen 0x1
hidesprite 0x3
fadescreen 0x0
showsprite 0x4
cry 0x11 0x0
msgbox 0x88028FA MSG_NORMAL '"The evolved Pidgeotto is\nattackin..."
waitcry
wildbattle 0x11 0x8 0xD2
fadescreen 0x0
hidesprite 0x4
fadescreen 0x1
setflag 0x755
release
end

'---------------
#org 0x802819
msgbox 0x8802890 MSG_NORMAL '"Mankey seems very sad!"
release
end


'---------
' Strings
'---------
#org 0x80282F
= A wild Mankey wants to join your\nparty should you take it?

#org 0x80286C
= Mankey happily joined your party!

#org 0x8028B1
= [player]recieved a Mankey!!

#org 0x8028C9
= A Pidgey wants to battle but it is\nnot strong.

#org 0x8028FA
= The evolved Pidgeotto is\nattacking with rage!!

#org 0x802890
= Mankey seems very sad!


'-----------
' Movements
'-----------
#org 0x802824
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x0 'Face Down
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements

#org 0x8028A9
#raw 0x4E 'Jump Down
#raw 0x60 'Hide
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0xFE 'End of Movements
__________________


A lover of Pokemon and their Hacks this is no other than?

Only he can be----->G.J