View Single Post
  #1596    
Old July 1st, 2009 (09:42 AM).
onyx79's Avatar
onyx79 onyx79 is offline
Red Dead Revolver
 
Join Date: Jan 2009
Location: Orange Islands (=
Gender: Male
Nature: Modest
Posts: 503
I've got a script problem:

Spoiler:

'---------------
#org 0x169ECA
setvar 0x8004 0xF
setvar 0x8005 0x2
special 0x174
trainerbattle 0x1 0x3 0x0 0x818F352 0x818F43F 0x8169F04
checkflag 0x298
if 0x0 goto 0x8169F2F
msgbox 0x818F4A2 MSG_KEEPOPEN '"Rico:I'm Giovanni's brother,I'm th..."
closeonkeypress
fadescreen 0x1
hidesprite 0x8
fadescreen 0x0
release
end
'---------------
#org 0x169F04
setvar 0x8004 0xF
setvar 0x8005 0x3
special 0x173
setflag 0xAD
setflag 0x4B7
setflag 0x827
setvar 0x4054 0x3
setvar 0x8008 0x8
call 0x81A6B18
goto 0x8169F2F
'---------------
#org 0x169F2F
msgbox 0x818F586 MSG_KEEPOPEN '"This is not the last time\nyou'll ..."
checkitemroom 0x13A 0x1
compare LASTRESULT 0x0
if 0x1 goto 0x8169F70
additem 0x13A 0x1
loadpointer 0x0 0x818F675 '"[player] received TM26 from RICO."
giveitem2 0x13A 0x1 0x101
setflag 0x298
msgbox 0x818F695 MSG_KEEPOPEN '"TM26 cotains EARTHQUAKE,I use this..."
release
end
'---------------
#org 0x1A6B18
copyvar 0x8000 0x8008
compare 0x8000 0x1
if 0x1 goto 0x81A6B76
compare 0x8000 0x2
if 0x1 goto 0x81A6B7A
compare 0x8000 0x3
if 0x1 goto 0x81A6B81
compare 0x8000 0x4
if 0x1 goto 0x81A6B8B
compare 0x8000 0x5
if 0x1 goto 0x81A6BA1
compare 0x8000 0x6
if 0x1 goto 0x81A6BB4
compare 0x8000 0x7
if 0x1 goto 0x81A6BCA
compare 0x8000 0x8
if 0x1 goto 0x81A6BE0
end
'---------------
#org 0x169F70
msgbox 0x818F71B MSG_KEEPOPEN '"You do not have space for this!"
release
end
'---------------
#org 0x1A6B76
cleartrainerflag 0x129
return
'---------------
#org 0x1A6B7A
cleartrainerflag 0x142
cleartrainerflag 0x190
return
'---------------
#org 0x1A6B81
cleartrainerflag 0x188
cleartrainerflag 0x144
cleartrainerflag 0x191
return
'---------------
#org 0x1A6B8B
cleartrainerflag 0x128
cleartrainerflag 0x143
cleartrainerflag 0x66
cleartrainerflag 0x67
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
return
'---------------
#org 0x1A6BA1
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
return
'---------------
#org 0x1A6BB4
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
return
'---------------
#org 0x1A6BCA
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
return
'---------------
#org 0x1A6BE0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
cleartrainerflag 0x0
return

'---------
' Strings
'---------
#org 0x18F352
= Ricoo you're here,you've managed\nto beat all of my mobs,but\pbeat me?,IMPOSSIBLE!
#org 0x18F43F
= WHAT??????
#org 0x18F4A2
= Rico:I'm Giovanni's brother,I'm the\nleader of team rocket now!
#org 0x18F586
= This is not the last time\nyou'll see me MUHAHAHAA!
#org 0x18F675
= [player] received TM26 from RICO.
#org 0x18F695
= TM26 cotains EARTHQUAKE,I use this\nto crash all of my enemies!
#org 0x18F71B
= You do not have space for this!


this is a script that when you beat the boss he and all of his trainers dissapear,however when I beat him he only gives me the TM,then I talk with him again and he dissapears,but the other tariners do not,what to do?
__________________
my room base: http://www.pokecommunity.com/showpost.php?p=5397075&postcount=64