View Single Post
Old May 22nd, 2012 (1:32 PM).
Waggs's Avatar
Waggs Waggs is offline
Join Date: Mar 2012
Gender: Male
Posts: 8
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 :
#dynamic 0x7273AA

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

#org @done
msgbox @talk 0x6

#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)