Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2012-09-09 06:29:21

PixelEye
Member
From: Philippines
Registered: 2012-08-02
Post 53/162
Website

How do i make trainers Pokemon shiny?

I want to make trainers pokemon to be shiny? Can i implement this?

Cheers.


LIKE US on Facebook!
---
Berries Inc.,Corp. Graphical Resource
---
I'M BACK, BUT MY WORKS BEEN ACCIDENTALLY DELETED ON MY PHONE(INCLUDING MY HACK THAT I'M DOING AND GEN 5 SPRITES AND TILESETS). SO THE SOLUTION WILL BE REVISING MY WORKS FROM 0 TO 456.

CHEERS.

Offline

#2 2012-09-09 09:05:27

Akwa
Member
Registered: 2012-06-14
Post 50/140

Re: How do i make trainers Pokemon shiny?

Shininess depends on Pokemon IV. From what I know already, different trainers have different IVs. For example trainer Cal and your rival has high IVs, when I changed shininess condition into IVs of at least $CCCC, their all Pokemon started to be shiny. So I think best solution is to find the ASM of IV distribution amongst different trainer groups and make it give the proper trainer groups proper IVs which determine shininess.
Tools like BGB debugger are necessary if you want to set a watchpoint on enemy IV. You can also find the RAM offset of enemy IV and search for the routine in hex editor, by writing hex equivalents of commands like "ld register pair, into enemy IV offset", "ld register pair with IV" "ld a with the register pair". Try it with all register pairs. If you will see trainer group checks "cp trainer group", "j z/nz $x" nearby, you should be there.

Offline

Board footer

Powered by FluxBB