View Single Post
  #21350    
Old May 22nd, 2012, 01:32 PM
Waggs's Avatar
Waggs
Beginning Trainer
 
Join Date: Mar 2012
Gender: Male
Quote:
Originally Posted by redriders180 View Post
For the second, check that all the person event numbers to make sure they're al different. If two are the same, then the sprites dissapear and reappear when you get close, and their dialog is the same as well.
The person event numbers were the same as another's, so that fixed the disappearing. I haven't gotten around to switching the characters pallete's yet, but while I waited for an answer I decided to try and script a trainer (First time other than the gym leader). It works perfectly when I talk to him, but when he seems me strange symbols pop up. And he doesn't notice until the second time I pass by him.
Sorry if I'm attaching any irrelevant information. I'm just trying to make it as detailed as possible.

The script for him is :
Spoiler:
#dynamic 0x7273AA

#org @start
checkflag 0x1215
if 0x1 goto @done
lock
faceplayer
trainerbattle 0x1 0x188 0x0 @Battleme @lose
msgbox @done 0x6
setflag 0x1215
release
end

#org @done
lock
faceplayer
msgbox @talk 0x6
release
end

#org @battleme
= Hey.

#org @lose
= Well, I didn't see that coming.

#org @talk
= The gym leader is over there.
Attached Images
File Type: png 1.png‎ (33.0 KB, 9 views) (Save to Dropbox)
File Type: png 2.png‎ (46.3 KB, 4 views) (Save to Dropbox)