Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#76 2011-08-20 11:24:52

Cheesewig
Member
Registered: 2011-08-06
Post 25/53

Re: [G/S] Useful Offsets Thread

Sawakita wrote:

If I'm not wrong, the text when you have beaten a trainer is set by scripts, not by general trainer data structures.

I know but how do I change it  through a script.


My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#77 2011-08-20 11:30:07

Sawakita
Administrator
Registered: 2010-10-16
Post 189/361

Re: [G/S] Useful Offsets Thread

Have you ever read this doc?

Offline

#78 2011-08-20 13:10:03

Cheesewig
Member
Registered: 2011-08-06
Post 26/53

Re: [G/S] Useful Offsets Thread

Yes I have. I don't know which one to use.


My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#79 2011-08-20 18:36:54

Cheesewig
Member
Registered: 2011-08-06
Post 27/53

Re: [G/S] Useful Offsets Thread

How do I get the 2 byte pointer of 6 byte offset?


My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#80 2011-08-20 18:54:37

Mateo
Member
From: Celadon Mansion
Registered: 2009-11-25
Post 924/2,526

Re: [G/S] Useful Offsets Thread

A 2-byte pointer is the same as a 3-byte pointer, except a 2-byte pointer does not use the bank declaration byte.


The ships hung in the sky in much the same way that bricks don't.

Offline

#81 2011-08-20 18:56:35

Cheesewig
Member
Registered: 2011-08-06
Post 28/53

Re: [G/S] Useful Offsets Thread

I'm not quite following you...

Say I needed 0x123000 to bee converted into a 2 byte pointer what would I do?


My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#82 2011-08-20 19:20:29

Mateo
Member
From: Celadon Mansion
Registered: 2009-11-25
Post 925/2,526

Re: [G/S] Useful Offsets Thread

Honestly the easiest way is to just type the address into a pointer calculator. It's what I do. I mean sure you could fool with swapping bytes and adding and subtracting, but that's what we made calculators for, to make our life easier. There should be a pointer calculator in the tools section.


The ships hung in the sky in much the same way that bricks don't.

Offline

#83 2011-08-20 19:33:29

Cheesewig
Member
Registered: 2011-08-06
Post 29/53

Re: [G/S] Useful Offsets Thread

Oh yeah... I used one before and got wrong results so...


My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#84 2011-08-20 20:02:37

Mateo
Member
From: Celadon Mansion
Registered: 2009-11-25
Post 926/2,526

Re: [G/S] Useful Offsets Thread

Here is a document that might help you.

http://www.zophar.net/fileuploads/2/105 … inters.txt


The ships hung in the sky in much the same way that bricks don't.

Offline

#85 2011-08-21 10:59:35

Cheesewig
Member
Registered: 2011-08-06
Post 33/53

Re: [G/S] Useful Offsets Thread

Right now I'm repointing the font to D8400 how can I find the 2 byte pointer of that?


My name is Aochider I was called. Dr. PET was loved an esteemed by us all!
Team Cheesemon | Cheesewig's Domain Forum |

Offline

#86 2011-08-21 11:34:16

Sawakita
Administrator
Registered: 2010-10-16
Post 191/361

Re: [G/S] Useful Offsets Thread

You can use any scientific calculator (including Windows's one). This is the formula (IF address > $3FFF):

2-BYTE POINTER = (Address MOD $4000) + $4000

BANK ID = Address \ $4000

Offline

#87 2011-10-23 15:26:49

lalodj
New member
Registered: 2011-05-22
Post 3/3

Re: [G/S] Useful Offsets Thread

i want to change the flying Pokemon image in intro, what is the location because i didnt found it. Thanks

Offline

#88 2011-11-12 06:21:33

tysonrss
Member
From: US, Ohio
Registered: 2011-08-27
Post 120/639

Re: [G/S] Useful Offsets Thread

Hey Mateo.

Go ahead and add 1B0955-1B0B72 for the names of the Trainer Classes. It could be used for those who wish to change the names of that class.


Pokemon Blue DX is reborn!

Offline

#89 2011-11-21 05:21:54

tysonrss
Member
From: US, Ohio
Registered: 2011-08-27
Post 188/639

Re: [G/S] Useful Offsets Thread

Probably doesn't matter to some folks, but I found the offset to where you can change the rival's default name. I like to go with the character's actual names when playing Pokemon.(Even though Silver is not Gold[refferring to Silver Version]) Anyway, I don't know if you can go over 4 letters, but Gold was able to I'm sure. I saw an extra "3E"(maybe it isn't extra, only one way to find out)so maybe that can be messed with to add a 5th letter. Anyway.

The offset is C4OC for Silver Version.


Pokemon Blue DX is reborn!

Offline

#90 2011-11-21 06:11:19

348/674

Re: [G/S] Useful Offsets Thread

tysonrss wrote:

Probably doesn't matter to some folks, but I found the offset to where you can change the rival's default name. I like to go with the character's actual names when playing Pokemon.(Even though Silver is not Gold[refferring to Silver Version]) Anyway, I don't know if you can go over 4 letters, but Gold was able to I'm sure. I saw an extra "3E"(maybe it isn't extra, only one way to find out)so maybe that can be messed with to add a 5th letter. Anyway.

Just repoint it. There is enough room in RAM for a ten‐character name, though the name selection screen restricts it to seven.

#91 2011-11-22 18:52:33

Tauwasser
Member
Registered: 2010-10-16
Post 233/394

Re: [G/S] Useful Offsets Thread

IIMarckus wrote:

Just repoint it. There is enough room in RAM for a ten‐character name, though the name selection screen restricts it to seven.

You should be careful about that. Since all strings are measured with 7 characters for the rival name, it might well be that you get overruns in text boxes and will have to do a lot of cleanup later on.

cYa,

Tauwasser

Offline

#92 2011-12-19 09:26:10

hacker
Member
From: Batam Grove City
Registered: 2011-07-30
Post 53/475
Website

Re: [G/S] Useful Offsets Thread

@Mateo,when i edit backpic of hiro and insert it to agixp.
Why i can't save the picture on my pokemon rom?
Please answer..,

Last edited by hacker (2011-12-20 01:12:09)


[POKÉMON JOURNEY] hacking planning 2012
Visit my website  www.pokemonhackingblog.blogspot.com

Offline

#93 2011-12-19 10:25:05

hacker
Member
From: Batam Grove City
Registered: 2011-07-30
Post 55/475
Website

Re: [G/S] Useful Offsets Thread

@Mateo,can you give me tutorial to add new pokemon on pokemon gold.
Ex: in pokemon gold the last pokemon is 251:celebi,
Now,can i add new pokemon into 255?
Pleasse answer..,


[POKÉMON JOURNEY] hacking planning 2012
Visit my website  www.pokemonhackingblog.blogspot.com

Offline

#94 2011-12-19 18:58:42

Mateo
Member
From: Celadon Mansion
Registered: 2009-11-25
Post 1,100/2,526

Re: [G/S] Useful Offsets Thread

Honestly, I've never done it so I wouldn't really be able to write a tutorial on it. Hopefully someone else will be able to though.


The ships hung in the sky in much the same way that bricks don't.

Offline

#95 2011-12-20 01:16:29

hacker
Member
From: Batam Grove City
Registered: 2011-07-30
Post 56/475
Website

Re: [G/S] Useful Offsets Thread

@Mateo,when i edit backpic of hiro and insert it to agixp.
Why i can't save it into my pokemon rom?
Pleasse answer..,


[POKÉMON JOURNEY] hacking planning 2012
Visit my website  www.pokemonhackingblog.blogspot.com

Offline

#96 2011-12-20 01:28:22

Mateo
Member
From: Celadon Mansion
Registered: 2009-11-25
Post 1,104/2,526

Re: [G/S] Useful Offsets Thread

What is it doing when you try to insert it? Does the program crash, or does the picture not insert properly?


The ships hung in the sky in much the same way that bricks don't.

Offline

#97 2012-05-13 01:00:28

hacker
Member
From: Batam Grove City
Registered: 2011-07-30
Post 196/475
Website

Re: [G/S] Useful Offsets Thread

Mateo wrote: "If you open up an item editor, and change item number x38 to have a Use option, you will find that it is a working Pokeflute item".
Is item no. x38 Teru-sama?
If yes, why when I use it say "Oak's said, this not a time for use this".
What is the problem?


[POKÉMON JOURNEY] hacking planning 2012
Visit my website  www.pokemonhackingblog.blogspot.com

Offline

#98 2012-05-13 08:01:11

Miksy91
Member
Registered: 2010-10-16
Post 876/1,679

Re: [G/S] Useful Offsets Thread

hacker wrote:

Mateo wrote: "If you open up an item editor, and change item number x38 to have a Use option, you will find that it is a working Pokeflute item".
Is item no. x38 Teru-sama?
If yes, why when I use it say "Oak's said, this not a time for use this".
What is the problem?

One of your other values is wrong then.
Compare the "type" values (whatever they're called) to those of other key items and change the type of "Teru-Sama (no. 0x38)" as well.

Offline

#99 2012-05-15 01:31:49

hacker
Member
From: Batam Grove City
Registered: 2011-07-30
Post 197/475
Website

Re: [G/S] Useful Offsets Thread

@Miksy, can the teru-sama(after I edit into pokeflute)  make snorlax wake up when use it?


[POKÉMON JOURNEY] hacking planning 2012
Visit my website  www.pokemonhackingblog.blogspot.com

Offline

#100 2012-05-15 01:34:45

Munchulax
Member
From: New Jersey
Registered: 2011-08-10
Post 126/355

Re: [G/S] Useful Offsets Thread

Mateo wrote:

If you open up an item editor, and change item number x38 to have a Use option, you will find that it is a working Pokeflute item. It won't play the song, and you will have to change it's name from Teru-Sama for it to look right, but it works.

Since Mateo says it works like it should but only without the music, then it will wake up Snorlax when you use it.

Last edited by Munchulax (2012-05-15 01:35:26)


Current Projects:
  • Pokémon Golden (Stalled) - Skeetendo | Celadon Mansion
  • 涼宮ハルヒの逆転 (The Turnabout of Haruhi Suzumiya) - TLWiki

Offline

Board footer

Powered by FluxBB