|
Post by Mateo on Feb 17, 2010 16:47:21 GMT -5
Ah, sorry to not specify. Yes, trainer group and trainer number are 1 byte each.
|
|
|
Post by Gamer2020 on Feb 17, 2010 23:35:44 GMT -5
It's cool. I should have just looked at the script in the ROM.
hmm I wonder how on would edit it to change which trainers are in which group and stuff.
|
|
|
Post by Miksy91 on Feb 18, 2010 0:04:10 GMT -5
I don't think this will work but for example in my hack I edited Morty's name to be Cid. Then there would be two new bytes to spare if I move the other data to appear two bytes earlier than before but that would probabaly mess up the game, right?
|
|
|
Post by Gamer2020 on Feb 18, 2010 1:49:46 GMT -5
Um just put 0x25 (I think thats the value) in the unused letter slots. My editor does it for you ^^
Just wait a few days for me to release it.
|
|
|
Post by Miksy91 on Feb 18, 2010 7:43:13 GMT -5
Um just put 0x25 (I think thats the value) in the unused letter slots. My editor does it for you ^^ Just wait a few days for me to release it. Actually I replaced Morty's name with "Cid+7F7F". 7F is an emply area in the text box. But I meant if it's possible to make him have more pokemon if the name is shortened?
|
|
|
Post by Gamer2020 on Feb 18, 2010 16:33:26 GMT -5
umm hmm. You may have to change the data type. It's a little hard to make it fit.
Actually...
In theory if you make it data type 00 you can make the name a bit longer. Not sure though =/
|
|
|
Post by Mateo on Feb 18, 2010 18:24:31 GMT -5
YOu could. See with gym leaders, its not a big deal because there is only one entry in that trainer group. With other trainers, if you leave blank space after that entry you will mess up the other trainers after them.
To change which trainers are in which trainer group, you will have to copy and paste them into the list for the other group, which would mean you will pretty much have to repoint that group's data.
|
|
|
Post by Mateo on Feb 19, 2010 3:47:00 GMT -5
Actually, it is 0x25 for blank. The game skips the 0x25 character completely. To use Hyper Hacker's example, if you type the word "T_OAS_T" where "_" is the character 0x25, the game will display "TOAST" perfectly.
|
|
|
Post by Gamer2020 on Feb 19, 2010 8:14:11 GMT -5
Actually, it is 0x25 for blank. The game skips the 0x25 character completely. To use Hyper Hacker's example, if you type the word "T_OAS_T" where "_" is the character 0x25, the game will display "TOAST" perfectly. Yeah I knew that was the value! The editor adds it automatically if you give the trainer a shorter name then the original. Although you should know that there is an other value that will do the same I just forgot which one.
|
|
|
Post by Mateo on Feb 19, 2010 14:21:46 GMT -5
Ah. I was not aware of that, but it does not surprise me. I'll have to research some of the text codes more fully
|
|
BeNjaMMiN
Cooltrainer
Jerry Beans Man!
Posts: 109
|
Post by BeNjaMMiN on Feb 22, 2010 21:47:08 GMT -5
so you just put 25 in the hex editor
|
|
|
Post by Gamer2020 on Feb 22, 2010 23:39:02 GMT -5
Just use the editor I made
|
|
|
Post by Miksy91 on Mar 9, 2010 10:08:35 GMT -5
lol I made an epic test if it's possible to make a trainer have 18 pokemon but it reads only bytes for 6
|
|
|
Post by Mateo on Mar 16, 2010 21:27:33 GMT -5
lol. which, if you think about it, only makes sense.
|
|
|
Post by Miksy91 on Aug 24, 2010 9:59:15 GMT -5
Just reviving this thread as I was studying the script of a female trainer as I wanted to change the text pointers for her. As well as doing it, I tried what each byte in her script did (and ended up with the same result Mateo already posted in this thread) because I wanted to change the type of the trainer you battle - this is because I was planning to include more "Team Rocket" battles into the hack.
So basicly, does anybody here know where it loads the picture of the trainer & the type of the trainer you battle (for example Cooltrainer/Bug Catcher) ?
|
|