View Single Post
Old January 28th, 2013 (02:31 PM). Edited January 28th, 2013 by FBI agent.
FBI agent's Avatar
FBI agent FBI agent is offline
If my PM box is full, VM instead :x
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Posts: 823
Quote originally posted by Flame999:
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

' 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).

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

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

'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.

My name forum name is FBI Agent, though you can call me FBI because it's shorter.

Some of my stuff:
ASM request/resource thread
ASM tutorials thread
ASM Workshop