Jump to content

I need Help with scripting / Add new NPC and speak with him/her


Saiko

Recommended Posts

Hi, I need some help, I dont understand some things with adding NPC.

I know only how to add NPC with NPCE tool and via HxD editor, but I dont know what to do to speak with that NPC :C

1. For example I want to add NPC in Aspertia City [Overworld 163] X=52, Y=740

2. Next I want to talk with that NPC, but I dont know how to do that :C

3. When I will put that NPC I want to use "Script Event" what I found on this forum:

[video=youtube;8tBDVstp1hM]

+

4. I analized all script and I dont understand these codes:

6D 00 0A 00 74 00 01 00 A8 02 00 00	  Move Kyogre to spot
6D 00 0B 00 76 00 01 00 A8 02 00 00	  Move PlasmaM to spot
6D 00 0C 00 78 00 01 00 A8 02 00 00	  Move PlasmaF to spot
6D 00 0D 00 7A 00 01 00 A8 02 00 00	  Move Groudon to spot

Can someone explain me what each code does? If someone know how to add NPC and put that event in "Aspertia City" as I want, can someone give me Raw Script?

I dont understand this lesson "NPC Manipulation (Add / Remove / MOVE)" on this thread:

http://projectpokemon.org/forums/showthread.php?29456-B2W2-Scripting-Thread

There is something like this:

0069 CreateNPC
- u16: X coordinate
- u16: Y coordinate
- u16: Face direction
- u16: Overworld ID
- u16: Sprite Number
- u16: Movement Permission

69 00 01 00 02 00 03 00 41 00 53 00 02 00
make NPC @ (X,Y)=(1,2) facing Right, NPC ID=0x41, sprite=SuitMan, looks around randomly

but I dont understand it where I should put these codes, in which narc and in which place in HxD????

Please help :C

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...