Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#26 2011-04-08 13:23:01

Cheestendo
Member
Registered: 2011-03-30
Post 13/319

Re: Need help with Scripting(totally noob'no skill at all)

Oh yes! i found it ;p the number are where the red starts - 91 84 83 50, 01 51 19 CC 62 55 49 C4 BD and there's bunch of more. which one's i have to edit? and to which numbers? ?

Offline

#27 2011-04-08 13:27:02

Cheestendo
Member
Registered: 2011-03-30
Post 14/319

Re: Need help with Scripting(totally noob'no skill at all)

oh, i looked again in the trainer editing tutorial , 91 84 83 50 is his name, 01 is his data type, 51 is the level of a pokemon? and 19 is the pokemon? ;[[ but he has 6 of them.

Offline

#28 2011-04-08 14:41:20

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 531/3,455

Re: Need help with Scripting(totally noob'no skill at all)

01-Used often for Gym Leaders. Pokémon Data is [Level][Pokémon][Move1][Move2][Move3][Move4](x However many)[FF]

This means that after the 01, you have:
1st pokemon's level
1st pokemon's species
1st pokemon's moves
2nd pokemon's level
2nd pokemon's species
2nd pokemon's moves

and continuing on until after the 6th pokemon you hit FF, which is the end of the trainer data.

Offline

#29 2011-04-11 16:22:52

Cheestendo
Member
Registered: 2011-03-30
Post 17/319

Re: Need help with Scripting(totally noob'no skill at all)

Yeah i think i got it.. tried to change some and it worked out great!! but i didn't know what are the numbers of the pokemon's and then i found something in the Pokecommunity,and then numbers were correct.
But i guess you don't know how to change the sprite? i want to make the biggest part of trainers - cops. cause they're your enemy, and can you change city names with hex?

Offline

#30 2011-04-11 17:17:14

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 534/3,455

Re: Need help with Scripting(totally noob'no skill at all)

The sprite is determined by which group a trainer is in. Trainers are identified as Trainer Group, Trainer Number. To add more trainers of a certain type, you repoint that group and add your new trainer entries after the old ones.

http://hax.iimarck.us/topic/173/

That thread has the offset of the pointer table you will need to edit so you can add more trainers to a certain group. By doing this you can also do things such as give professor oak trainer data, or add more teams for gym leaders (obviously you would have to edit their script to allow a rematch, by having it load the second battle after you have done something, but you get the idea).

And yes, you can change city names with hex. Load your table file and search for them. The place names will all be in a list together so you will know you have found them.

Offline

#31 2011-04-11 17:51:34

Cheestendo
Member
Registered: 2011-03-30
Post 18/319

Re: Need help with Scripting(totally noob'no skill at all)

So i have to make new trainer in the group of officers? and re-edit the data of the previous trainer that i want to edit to be a officer?

Offline

#32 2011-04-11 23:00:38

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 535/3,455

Re: Need help with Scripting(totally noob'no skill at all)

Yep. It sounds complicated, but after the first time it's not that bad. As always, just remember to make backups in case you do something wrong by accident, you can easily go back.

Offline

#33 2011-04-12 12:38:35

Cheestendo
Member
Registered: 2011-03-30
Post 20/319

Re: Need help with Scripting(totally noob'no skill at all)

Ok thanks for all your help mateo , that really helped me a lot.

Offline

#34 2011-04-12 17:45:55

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 538/3,455

Re: Need help with Scripting(totally noob'no skill at all)

No problem, glad I could help

Offline

#35 2011-04-12 19:04:31

Cheestendo
Member
Registered: 2011-03-30
Post 21/319

Re: Need help with Scripting(totally noob'no skill at all)

How can i change Pokemon names? i found there the offsets , im making a hack with new all pokemons , soon will post a thread about it, i found in the Gf, the all pokemon names i changed the Bulbasaur to another but it didn't change ingame..? what am i doing wrong?

Offline

#36 2011-04-12 20:27:38

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 539/3,455

Re: Need help with Scripting(totally noob'no skill at all)

Where is the list at that you found?

Offline

#37 2011-04-12 20:28:21

Cheestendo
Member
Registered: 2011-03-30
Post 22/319

Re: Need help with Scripting(totally noob'no skill at all)

in the hex editor , a list full of all pokemon names.

Offline

#38 2011-04-12 20:30:32

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 540/3,455

Re: Need help with Scripting(totally noob'no skill at all)

I know that, I mean which address in the hex editor

Offline

#39 2011-04-12 20:34:59

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 541/3,455

Re: Need help with Scripting(totally noob'no skill at all)

The list should start at 1B0B74 in Gold, and changing them should change the pokemon's name. Are you sure you remembered to save, or could you possibly have opened the backup you made instead of the edited one?

Offline

#40 2011-04-12 20:35:10

Cheestendo
Member
Registered: 2011-03-30
Post 23/319

Re: Need help with Scripting(totally noob'no skill at all)

ohhh. offset's? 1b0b74 (1772404)

Offline

#41 2011-04-15 05:16:11

Cheestendo
Member
Registered: 2011-03-30
Post 25/319

Re: Need help with Scripting(totally noob'no skill at all)

Oh i posted ^ that post 10 second later i probably didn't see what you wrote in the post before , and the list is wrong it doesn't contain the real pokemon names , it's the pokedex poke names.
o1cmhzevfaz1icm7piwu.png

Offline

#42 2011-04-15 05:51:51

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 545/3,455

Re: Need help with Scripting(totally noob'no skill at all)

That's the only list of names there is though, and I've never had problems just editing that list...

Offline

#43 2011-04-15 11:30:52

Cheestendo
Member
Registered: 2011-03-30
Post 27/319

Re: Need help with Scripting(totally noob'no skill at all)

How did you change the name of (i don't know what was it) in the Christmas hack you changed 1 pokemon to a mudkip , and the name was mudkip too , you edited that list?

Offline

#44 2011-04-15 15:40:58

Cheestendo
Member
Registered: 2011-03-30
Post 28/319

Re: Need help with Scripting(totally noob'no skill at all)

Oh no need anymore , i has a saved game i played it all the time , now i tried NEW GAME , and now it has the name Thank you!
Do you know how to change palette for tileset 01???

Offline

#45 2011-04-15 16:09:46

Cloud
Member
Registered: 2010-12-18
Post 202/285

Re: Need help with Scripting(totally noob'no skill at all)

Cheestendo, if you go and check the tools section, There is a tool posted by Melash which is very useful for editing tileset and things related to it.

Offline

#46 2011-04-16 08:38:10

Cheestendo
Member
Registered: 2011-03-30
Post 30/319

Re: Need help with Scripting(totally noob'no skill at all)

Cloud , it doesn't work , can't download if you have that program can you upload it somewhere? and give the link?

Offline

#47 2011-04-16 14:53:25

Cheestendo
Member
Registered: 2011-03-30
Post 32/319

Re: Need help with Scripting(totally noob'no skill at all)

Another one - How can i Change how much money does a trainer give you? cause 500$ and more is too much, but of course the marts will be cheaper too.

Offline

#48 2011-04-16 15:41:40

tekcoR
Member
From: Celadon City
Registered: 2010-10-16
Post 44/165

Re: Need help with Scripting(totally noob'no skill at all)

Cheestendo wrote:

Another one - How can i Change how much money does a trainer give you? cause 500$ and more is too much, but of course the marts will be cheaper too.

I think this could be interesting for you.


Cya

Offline

#49 2011-04-16 15:45:16

Miksy91
Member
Registered: 2010-10-16
Post 323/2,305

Re: Need help with Scripting(totally noob'no skill at all)

Cheestendo wrote:

Another one - How can i Change how much money does a trainer give you?

That's one heck of a complicated thing to do :D

The game checks what kind of pokemon data the challenged trainer has and defines the money that is given when you beat him that way (I guess). It's not like you can just change how much money does a beaten lv53 Charizard give you because that's not listed anywhere.
Instead, the game calculates the given amount of money somehow...

Edit:
That payout table is kinda interesting actually, we might be able to find where the "Base" money is stored in the ROM if it's there in a logical way.

Last edited by Miksy91 (2011-04-16 15:48:11)

Offline

#50 2011-04-16 16:20:28

Cheestendo
Member
Registered: 2011-03-30
Post 33/319

Re: Need help with Scripting(totally noob'no skill at all)

@tekcoR are those yen's? that would explain a lot.

@Miksy91 That sound so complicated that i will never interest in money changing for a long time.

Offline

Board footer

Powered by FluxBB