Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2013-06-15 04:51:04

bobie
Member
Registered: 2010-11-06
Post 7/16

[GSC]Adding Trainer Groups?

Hello.

I want to add new trainer group.
But I found a problem.
If I add sprite for new trainer group,
I also need to add a palette for it.

Is seems it' s necessary to repoint the table of Trainer Colors,
but I'm totally not familiar with ASM.

Can someone tell me what to do?
Or maybe I should just give up, and modify original trainers instead.

Thanks.

Last edited by bobie (2013-06-15 05:01:36)

Offline

#2 2013-06-15 04:58:20

RED
Member
From: Japan
Registered: 2012-09-03
Post 412/517

Re: [GSC]Adding Trainer Groups?

What version were you talking about?


わたし の なまえ わ レン レン  でづ

Offline

#3 2013-06-15 05:01:06

bobie
Member
Registered: 2010-11-06
Post 8/16

Re: [GSC]Adding Trainer Groups?

I'm sorry.
It' s Crystal.

Offline

#4 2013-06-15 05:13:26

RED
Member
From: Japan
Registered: 2012-09-03
Post 413/517

Re: [GSC]Adding Trainer Groups?

If you know simple repointing you'll probably can do it. If you don't know how to, try to watch miksy91 video tutorial.


わたし の なまえ わ レン レン  でづ

Offline

#5 2013-06-15 20:05:15

80C
Banned
Registered: 2013-03-16
Post 714/1,257

Re: [GSC]Adding Trainer Groups?

What about R\B\Y?

I was interested in adding the Chief Trainer Class and assign it a new Pic, making it full usable.
That would be a bit easier I guess, is it possible?


I left this forum.

Offline

#6 2013-06-15 20:24:02

Danny-E 33
Administrator
Registered: 2012-06-09
Post 549/1,045

Re: [GSC]Adding Trainer Groups?

The sprite should be the easiest part. Correctly pointing it to party data would be the "harder" part.


Red Hack: Pokémon Prototype

Total number of registered users: 8000+
Total number of active users: ~12

Offline

#7 2013-06-18 03:03:58

bobie
Member
Registered: 2010-11-06
Post 9/16

Re: [GSC]Adding Trainer Groups?

Hmm...
How can I find the pointer to Palette Table?
I wonder how a palette is loaded.
I can see Palettes in VRAM Viewer.
But I don' t know how they are stored in RAM.

Offline

#8 2013-06-19 15:34:47

80C
Banned
Registered: 2013-03-16
Post 724/1,257

Re: [GSC]Adding Trainer Groups?

Hm... let's see...

I'm planning adding only 2 Chief fightings for my own red hack... the only word is visualizing in my mind is "repointing", but I never noticed if someone repointed the Trainer Data.

Anyway, since I moved the whole Pokemon stats palette (and it's 1000 c.a byets - in HEX - long) there would be enough space to repoint in a non-above $FFFFF adress location.

But I'll do it later when I'll add all those tons of pokemon.


I left this forum.

Offline

#9 2013-06-20 00:20:22

bobie
Member
Registered: 2010-11-06
Post 10/16

Re: [GSC]Adding Trainer Groups?

OK. I finally found the position by myself.
I forgot to read pandocs, so I missed some important information about palette.
I just set a breakpoint at FF69, which is for "Background Palette Data", and trace to see who writes into it.
And at the end, at 2:572D there is " ld bc,708B ". So 2:8B70 represents the starting position of Trainer Pallete.
And now I only need to repoint it to another place, and then it should work.

Actually, I think If I didn' t take a look at pandocs, I would never find it.

Last edited by bobie (2013-06-20 01:02:27)

Offline

Board footer

Powered by FluxBB