You are not logged in.
Did you find it @Miksy91?
btw, until you find it I've question about Battle Music Asm tut.,
Where's Scientist and Rocket executive locate?
I did'nt find them anyway :(
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
Did you find it @Miksy91?
btw, until you find it I've question about Battle Music Asm tut.,
Where's Scientist and Rocket executive locate?
I did'nt find them anyway :(
I never looked for it.
If all those conditions are false, the program will start executing code here later on like you'll see in that tutorial (you really MUST know what asm commands do and have "programming understanding" to be able to follow the code here (and continue further on to make those trainer groups have their own battle music).
445D3
ld a,[$D042]
and a
jr nz,+$A ; if link battle(?), go to 445E3
ld a,$24
ld hl,$694E
rst $8
ld a,e
and a
jr nz,+$5 ; if in Kanto, go to 445E3
ld de,$002A
jr +$3 ; we’re done
; 445E3
ld de,$0007
Those values loaded in register pair de determine the battle music played when you face a trainer in Johto (2A) and Kanto (07). You'd have to add additional checks for Scientist and Rocket (Executive) trainer groups to have a new battle music for them.
Offline
Hmm., @Miksy so how to I add new additional check for them?
Did I just find a blankspace and wrote new additional check in there?
or I must repointing all additional check to blankspace?
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
Hmm., @Miksy so how to I add new additional check for them?
Did I just find a blankspace and wrote new additional check in there?
or I must repointing all additional check to blankspace?
Study assembly, that's all I can say to this.
Offline
Btw @Miksy91.,
did you know what pallet editor in TLP use for?
I'am changing the color to edit the hiro's trainer card color, but it nothing happen..
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
So, can I change my hiro's trainer card color?
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
Forgot this!
Btw, can I'am add new trade person?
ex: in original there are 6 person who trade pokemon to us, so add new one person in the game and trade with other pokémon.
Anyone know how to that ?
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
Forgot this!
Btw, can I'am add new trade person?
ex: in original there are 6 person who trade pokemon to us, so add new one person in the game and trade with other pokémon.
Anyone know how to that ?
Assembly.
Not going to start writing a step-by-step tutorial for the job.
Offline
It doesn’t involve assembly at all. Just add a trade to the trades data structure and use the trade script command (see Tauwasser’s doc).
Taken from the Useful Offsets thread:
Trade Table
xFCB9C-Offset of Trade Table Pointer (2 Byte)
Want to add in some new in-game trades instead of just replacing old ones? Simply repoint the table, copy the old one, and start adding your new entries to the list.
Current Projects:
Pokémon Christmas
Pokémon Red++
Offline
It doesn’t involve assembly at all. Just add a trade to the trades data structure and use the trade script command (see Tauwasser’s doc).
You do have to follow the routine to find where trade data is stored in ram and repoint it elsewhere before doing this though. I may be wrong but I believe all 8 bits of the byte in ram used for storing trade data are already used.
Offline
IIMarckus wrote:It doesn’t involve assembly at all. Just add a trade to the trades data structure and use the trade script command (see Tauwasser’s doc).
You do have to follow the routine to find where trade data is stored in ram and repoint it elsewhere before doing this though.
Trade data isn’t stored in RAM, it’s read from ROM. The RAM doesn’t need repointing. You do have to repoint the ROM data, but that is trivial (search for pointer, change pointer, copy data). No assembly involved.
I may be wrong but I believe all 8 bits of the byte in ram used for storing trade data are already used.
What byte? That doesn’t make sense.
I noticed I had written it down; trade "flags" are stored in ram address $D685. If something else is written in $D686, you shouldn't add any more persons to trade with unless you repoint the trade flags elsewhere in ram first.
Last edited by Miksy91 (2012-11-19 11:50:18)
Offline
Sorry to reply so long,
Ok., now I made it new one person trade.. :)
Thank's for your help guys! :)
Btw, did you know how to change sprite OW ?
I change the script of person in beside of gate (Azalea town), I did it to make new script of it, but I dont know why when I'am changing it picture number in Johtomap to 91(Mr.Mime) and it will change to Hiro sprite automatically(but the pic no. is 91).
Why it happen?
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
The sprite they use has to be in that map's spritesheet (also editable by Johtomap). If you try to make someone use a sprite that isn't loaded on that map, they will look like Hiro instead. You also can't just add a new sprite to the end of a spritesheet, you have to replace one that is already in there.
On inside maps, however, you can pretty much use whatever sprite you want. Inside maps don't bother with the spritesheet, they just load the ones that are used on that map when you enter. So it might be easier and cause less potential problems if you made your Mr. Mime be inside the route gate instead of in Azalea Town.
Current Projects:
Pokémon Christmas
Pokémon Red++
Offline
Yeah., you right @Mateo!
Thank's a lot ! :)
but, why I can't add more sprite in spritesheet itself?
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
Because there is only so much space in VRAM for it to load sprites. Some maps (olivine city, the route with sudowoodo, etc) use the variable sprite slots so the map can load different sprites at different times, but that still has its own limitations as well.
Current Projects:
Pokémon Christmas
Pokémon Red++
Offline
Hmm., btw @Mateo
about editing map, I got serious problem.,
I dont know why when I fly into some city (New bark town, Blackthorn, Ecruteak city)
It will always bring me to S.S Anne Ship.,
do you know what is the problem?
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
I would take a look at Miksy91's town map tutorial and see if that can be of any help to you. Honestly, I've never had a bug like that to know from experience what would cause it or how to fix it, but I'm guessing that somehow the flight table is messed up, or the towns have the wrong location byte or something. I can't really test anything right now, I'm in class and only have my phone on me. But look through the town map tutorial and see if you can figure anything out, and let us know f that fixes it or not.
Current Projects:
Pokémon Christmas
Pokémon Red++
Offline
Huh., Ok, thanks @Mateo ! :)
Sorry if I bug you, cause I don't know that you in class.,
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
It's no problem, after all it was me who decided to come to the forum during class. But hopefully that tutorial will help you out regardless.
Current Projects:
Pokémon Christmas
Pokémon Red++
Offline
Now, I got it! :)
after read @Miksy91 tutorial about how to make new region.
I found some of flight data was change itself, then I change it back and it work normal :)
Thank's @Mateo! :)
Hmm., btw @Mateo,
did you know where Pokemon party sprite OW located?
I want to edit charmander sprite in TLP.
I was asking this, but I'am forget where I ask.. :(
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline
The graphics themselves start at 0x8EABE
My Pokemon editor can change which one of these sprites a Pokemon uses in the menu, but if that doesn't work for you the offset to do it manually should be in the useful offsets thread.
Current Projects:
Pokémon Christmas
Pokémon Red++
Offline
Thank's @Mateo, but that was not I'am talking about,
I mean where Pokémon OW sprite located?
I know it start 0xC0000 (Hiro), but did you know @Mateo where Pokémon sprite like: Charmander sprite, Rhydon, Pikachu, Gyarados, Gengar, etc?
I want to edit Pikachu sprite., :)
[POKÉMON JOURNEY] hacking planning 2012
Visit my website www.pokemonhackingblog.blogspot.com
Offline