View Single Post
  #23648    
Old January 28th, 2013, 02:31 PM
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Isle 4 - Dairy Products
Gender: Male
Quote:
Originally Posted by Flame999 View Post
Yes disappear like the rocket grunt after you help bill in fire red and i'm using pksv by the way and this is my script

'-----------------------
#org 0x740001
trainerbattle 0x0 0x1 0x0 0x8740018 0x8740051
msgbox 0x8740069 '"I came from Kanto to test a Hoenn C..."
callstd 0x6
end


'---------
' Strings
'---------
#org 0x740018
= I hope you're ready to end all battles cause here I come

#org 0x740051
= You were ready afterall

#org 0x740069
= I came from Kanto to test a Hoenn Champion

When i put disappear 0x1 or whatever after callstd 0x6 it says Unknown keyword "disappear" at line 6 what do I do I have no clue what to do? if you can help thanks
For this, you want him to disappear as fast as you finish talking to him? If that's the case you need to add the line:
disappear LASTTALKED
after the callstd, then set a flag to keep him disappeared. Make sure you change his Person ID
to whatever flag you used (found in A-Map).

EDIT:
Try it out yourself first. If it doesn't work look at this as reference:
Spoiler:

#dyn 0x740000
#org @start
trainerbattle 0x0 0x1 0x0 @begin @defeat
msgbox @afterwards
callstd MSG_NORMAL
disappear LASTTALKED
setflag 0x560
release
end

'I'm too lazy to add newline charachters, you get the idea

#org @begin
= I hope you're ready to end all battles cause here I come

#org @defeat
= You were ready afterall

#org @afterwards
= I came from Kanto to test a Hoenn Champion.
__________________
...

Hacks I support:
http://www.pokecommunity.com/showthread.php?t=297199 --Legend of Anbuja
http://www.pokecommunity.com/showthread.php?t=200227 -- Pokemon Rose version

People whom I thank:
Comrade -- For helping me with my bad hack, and for being a good friend
Darthatron -- Helping me get into basic ASM, even though I'm hopeless. (He is heartless stay away).
Anbuja's_BlooDY -- Graphics help, and being a good friend
FBI -- For having the username I wanted

Last edited by FBI agent; January 28th, 2013 at 02:37 PM.