• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Help Thread: Quick Questions & Answers

Status
Not open for further replies.
Hello again, everyone.

I am using Crystal Map and the One GSC Trainer editor to change the battle tower. Editing the maps is easy enough, but not sure how to create new trainers. These trainers will act like in-game trainers and not the Battle Tower ones.

I have built events to create the number of trainers I want, and can alter which sprite they use using the 'picture number' selection. However, I am not sure how to link them to particular trainers. One GSC Trainer Editor allows me to add trainers (in this case, I have added the trainers to the Champion category), but I don't know how to sync them up.

I have tried making their function and text block / bank the same as a random trainer for testing purposes but it always fails. One time it loaded the end credits, another time it loaded up a strange screen, and another it crashed.

Any idea on what is going wrong?

Thanks
The "function" should match that of any trainer like person to make the person event function as a trainer and so possibly see you and challenge to you a battle. The "text block / bank" part should point to "trainer script" structure as seen here (https://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau) under Color|Function part 02. If you take a look there, you will find this kind of a structure:

Code:
[Bit no. (2byte)][Trainer group][Trainer][2byte pointer to Text when seen]
[2byte pointer to text when trainer beaten][2byte pointer to script when lost (0000=Blackout)][2byte pointer to script if won/talked to again]

In other words, you need to use those "text block / bank" values to point to this kind of a structure. That is a wrong notation and for example JohtoMap describes those two values together as "Script Pointer". The values show up in decimal, but they are handled as a 2-byte pointer.

In case you don't know what this means, I'd advise taking a look at some of the tutorials in Skeetendo Inc. (hax.iimarck.us) or for example take a look at my videos in youtube which I have linked in my signature. But you can also edit pokemon crystal with disassembly (https://github.com/pret/pokecrystal) which is practically the easiest way to hack crystal once you know how to play around with it.
 
Thanks Miksy. I think I know what to do now to get it sorted. If in doubt, I'll give your video a watch!

Not really too keen on using the disassembly. I've almost finished my romhack now and all I have left are my updated Battle Tower trainers, and then the alteration of a couple of trainer sprites (only in the battle sequence, not the overworld). Starting from scratch using the disassembly just to make a couple of things easier doesn't really seem like a good option at this stage :p

I'll play around and see what I can do.

Thanks again.
 
Okay please help me out here, I am kind of frustrated doing this a million time and failing.

Okay here's what I am trying to insert in A-map 1.9.5
as Pallet town tileset 2
[PokeCommunity.com] Quick Questions & Answers


I am using Advance tile helper for A-MAP 1.9.5 Palette, converted it into 16 color BMP and matched the background transparent color but all I get is this:

[PokeCommunity.com] Quick Questions & Answers


Honestly, it's the same story for everything I try with, I have followed every single guide I could but that's all I get, Now I have been trying this from like 4 weeks or so but all I get is a messed up image with non-existant
 
Okay please help me out here, I am kind of frustrated doing this a million time and failing.

Okay here's what I am trying to insert in A-map 1.9.5
as Pallet town tileset 2
[PokeCommunity.com] Quick Questions & Answers


I am using Advance tile helper for A-MAP 1.9.5 Palette, converted it into 16 color BMP and matched the background transparent color but all I get is this:

[PokeCommunity.com] Quick Questions & Answers


Honestly, it's the same story for everything I try with, I have followed every single guide I could but that's all I get, Now I have been trying this from like 4 weeks or so but all I get is a messed up image with non-existant

did you inserted and using correct pallet.
 
Okay please help me out here, I am kind of frustrated doing this a million time and failing.

Okay here's what I am trying to insert in A-map 1.9.5
as Pallet town tileset 2
[PokeCommunity.com] Quick Questions & Answers


I am using Advance tile helper for A-MAP 1.9.5 Palette, converted it into 16 color BMP and matched the background transparent color but all I get is this:

[PokeCommunity.com] Quick Questions & Answers


Honestly, it's the same story for everything I try with, I have followed every single guide I could but that's all I get, Now I have been trying this from like 4 weeks or so but all I get is a messed up image with non-existant

What palette are you using?
If a colour doesn't appear in a palette, it uses the last colour instead.
Did you remember to apply the palette to the image after creating it?
The tutorial uses MS Paint XP, later versions of Paint don't really work.
 
I see. Decompile minimize using battle script pro and change statbuffchange 0x41 to 0x1. You'll change the bank from the attacker to the target that way.
As for protect, it will always choose the attacking bank. I suggest you create a callasm routine that's called before the setprotect command that saves the attacker byte to be the same as the target and after the setprotect, another command that reverts it to whatever bank it had been.

Haha, I've managed to solve the protect thing. Changed one of the commands ram pointers from the attacker to the target byte. That got it working but I couldn't figure out why the text would still say the user is protected. That's because I had the text as [user] instead of [target].

I'm asking about the minimize thing because I've had this move effect which I thought worked for a long time, but actually didn't work properly. The effect is that the target becomes marked, marked targets take double damage from certain moves. I thought using minimize or defence curl would work but neither did.

Edit: No point making another post but I have another question. Is there a targeting bank that selects the whole party?
 
Last edited:
Okay please help me out here, I am kind of frustrated doing this a million time and failing.

Okay here's what I am trying to insert in A-map 1.9.5
as Pallet town tileset 2
[PokeCommunity.com] Quick Questions & Answers


I am using Advance tile helper for A-MAP 1.9.5 Palette, converted it into 16 color BMP and matched the background transparent color but all I get is this:

[PokeCommunity.com] Quick Questions & Answers


Honestly, it's the same story for everything I try with, I have followed every single guide I could but that's all I get, Now I have been trying this from like 4 weeks or so but all I get is a messed up image with non-existant

Hey! So I had this same problem for a while, so I checked to see what your problem was myself. I put your image though InfranView, and lo and behold, the problem is the image has too much colour depth. Here is your image after being run through InfranView.

[PokeCommunity.com] Quick Questions & Answers


So yeah, you can see the difference on top of the building with the lines. You can either use that, or change it in some other way to decrease colour depth.

Here's some tips before you try to import a tileset.

a) Make sure you have 15 colors + transparency! Put it through InfranView to be sure.

b) Make sure in Paint XP, you are saving as a 16-bit color DIB! I was saving as a 24-bit color DIB which did that to mine, because it can't read more than 16 colours.

c) If you need more depth, you can always make another palette and use transparency to put it on top of the other (you can do this here, probably.) Note, this may cause problems if takes up a spot that is needed for something else, use mindfully.

If you have any questions, hit me up.
 
When I load a FireRed ROM in advance maps, two errors occur. Something about CityAmount... or something?
 
I would like to include the unused Kimono girl (she appears on OGCSTE as NAOKO with two Skiplooms and a Vulpix). After researching her, it appears she does not exist in the game (even though her trainer data is stored in the coding).

I would like to place her somewhere in the game (not decided where yet) with a full Eeveelution team. Is it possible to insert her in using Crystal Map? If so, what function, character, etc would I need to link to make her appear?

It would be nice if there was an unused text entry that I could link to her, but if not then perhaps I could give her the same text file as Red (just "...").

Can this be feasibly done using the CrystalMap tool?

Thanks!
 
Status
Not open for further replies.
Back
Top