Registrarse

¿Como hacer un IV Checker?

Estado
Cerrado para nuevas respuestas.

Lunos

Enfrentando a La Organización
Miembro insignia
Holi.
Me acaba de picar una duda bastante interesante tras haber obtenido cierto objeto en el HackROM "Pokemon Kanto Black".
¿Como se puede hacer un IV Checker similar a este?

Nota: Intenten no juzgarme por el hecho de que estar usando a Blue, la elegí por cambiar un poco de aires ya que siempre elijo a Red.
Sé que está el que creó @jiangzhengwenjz con C & ASM y posteó aqui, pero me gusta mas este y parece mucho mas simple, sin muchas complicaciones <3
 

jiangzhengwenjz

Usuario mítico
You can use Darthatron's code to execute a script from an item.
Darthatron dijo:
Run a script from an items "Use" command or from registering it from select...
First of all, follow DavidJCobb's Item Creation Tutorial, until the part where it attempts to add scripts, to actually create a new item. But change the "Type" combobox to #2 in the Item Manager. JPANs engine is not required!

Next step is to put this (assmelbed) code somewhere:
Código:
10 B5 04 1C 78 46 13 30 0C 49 08 60 20 1C 0C 49 00 F0 10 F8 10 BC 01 BC 00 47 10 B5 04 1C 0A 48 05 49 00 F0 07 F8 20 1C 06 49 00 F0 03 F8 10 BC 01 BC 00 47 08 47 C0 46 E5 9A 06 08 98 99 03 02 3D 10 0A 08 09 75 07 08 XX XX XX 08
Where XXXXXX is the location of your script reversed. 800300 would be 00 03 80, for example.

By entering this hex somewhere in the ROM and putting it's offset+1 in the "Field Usage" box in the Item Manager, you can call any script by using the item from the bag or by select. :) Say I put the routine at 800000 in the ROM, the Field Usage box would be 08800001.
Here's the unassembled code:
Código:
.text
.align 2
.thumb
.thumb_func
.global Hax
	
setup:
	push {r4, lr}
	mov r4, r0
	mov r0, pc
	add r0, #0x13
	ldr r1, .unk_02039998
	str r0, [r1]
	mov r0, r4
	ldr r1, .sub_080A103C
	bl bx_r1
	pop {r4}
	pop {r0}
	bx r0

main:
	push {r4, lr}
	mov r4, r0
	ldr r0, .ScriptToCall
	ldr r1, .CallScript
	bl bx_r1
	mov r0, r4
	ldr r1, .del_c3_from_linked_list
	bl bx_r1
	pop {r4}
	pop {r0}
	bx r0

.align 2
bx_r1:
	bx r1

.align 2
.CallScript:
	.word 0x08069AE4+1
.unk_02039998:
	.word 0x02039998
.sub_080A103C:
	.word 0x080A103C+1
.del_c3_from_linked_list:
	.word 0x08077508+1
.ScriptToCall:
	.word 0x08800300
 
M

Miembro eliminado 28262

Invitado
Oh dios mio
Este aporte digno de los dioses del Olimpo
Muchas gracias a ambos por traernos este aportazo
Es justo lo qie estaba buscando para enchular mi hack

+10 y repu!

Buenas vibras!
 

Lunos

Enfrentando a La Organización
Miembro insignia
Respuesta: Re: ¿Como hacer un IV Checker?

You can use Darthatron's code to execute a script from an item.
Err.. thanks dude, but I already know how to execute scripts from items.
I actually even made a tutorial about it right here.

What I want to know is how to make an IV Checker that works just like the one I shown in those images, I'll be able to link it to an item if I want to later, but it's not really the point xD ..

Oh dios mio
Este aporte digno de los dioses del Olimpo
Muchas gracias a ambos por traernos este aportazo
Es justo lo qie estaba buscando para enchular mi hack

+10 y repu!

Buenas vibras!
Eh.. pero.. ¿Yo que aporté?
 

jiangzhengwenjz

Usuario mítico
Re: Respuesta: Re: ¿Como hacer un IV Checker?

What I want to know is how to make an IV Checker that works just like the one I shown in those images, I'll be able to link it to an item if I want to later, but it's not really the point xD ..
Do you mean you don't know how to decrypt the IVs? If so, you can use JPAN's engine.
 

Lunos

Enfrentando a La Organización
Miembro insignia
Respuesta: Re: Respuesta: Re: ¿Como hacer un IV Checker?

Do you mean you don't know how to decrypt the IVs? If so, you can use JPAN's engine.
I did saw that his tool has a "Pokemon EV Checker" and a "Pokemon IV Checker", the thing is that I don't know how to use them :/ ..
 

jiangzhengwenjz

Usuario mítico
Re: Respuesta: Re: Respuesta: Re: ¿Como hacer un IV Checker?

I did saw that his tool has a "Pokemon EV Checker" and a "Pokemon IV Checker", the thing is that I don't know how to use them :/ ..
Read his document (which is also included in his archive) and I guess it won't be hard
 

Lunos

Enfrentando a La Organización
Miembro insignia
Respuesta: Re: Respuesta: Re: Respuesta: Re: ¿Como hacer un IV Checker?

Read his document (which is also included in his archive) and I guess it won't be hard
Apparently, in his preview images he shows that the Checker isn't numerical like this one, is the vague usual NPC that Game Freak adds in their games saying if a Pokémon is cool enough or not depending on a certain range of pre-determined IVs.

I would seriously prefer to make something more like the onw I shown in the main post, thanks for the suggestion anyways.
 

jiangzhengwenjz

Usuario mítico
Re: Respuesta: Re: Respuesta: Re: Respuesta: Re: ¿Como hacer un IV Checker?

Apparently, in his preview images he shows that the Checker isn't numerical like this one, is the vague usual NPC that Game Freak adds in their games saying if a Pokémon is cool enough or not depending on a certain range of pre-determined IVs.
I don't think so, as I guess no one intends to develop such a routine. Have you tried to use special2 command to get the return value of the IV decryption special?

Anyway, writing the routine on your own is the best way and might avoid many problems.
 

Versekr Dark

Usuario mítico
Lo puedes hacer con hack engine muy fácilmente con un script, y con la herramienta que viene solo debes instalar las especiales 0x6 y el special 0x10 y también el 0x8, el 0x6 es el que desencripta al pokémon el 0x8 lee los ivs y el 0x10 modifica los ivs
 

CampeonSteven

Usuario de platino
Respuesta: Re: ¿Como hacer un IV Checker?

Si mal no recuerdo eran con los special que dice Versekr Dark

Lo puedes hacer con hack engine muy fácilmente con un script, y con la herramienta que viene solo debes instalar las especiales 0x6 y el special 0x10 y también el 0x8, el 0x6 es el que desencripta al pokémon el 0x8 lee los ivs y el 0x10 modifica los ivs
Pero creo que tenias que guardar os datos desencriptados en una variable (que creo que era la 8010 no recuerdo muy bien)

Verificaba que dato del pokemon era pero en este caso para dar ivs exactos es mucho mas dificil (dificil no es lo que es suuuuuuuuuper largo) porque tienes que poner un script que posea cada mensaje de los 0-31 posibles ivs del pokemon aunque tambien puedes hacer como en los juegos de tercera 4arta 5ta y sexta (posiblemente septima) que te dicen una frase

Eh aqui de donde aprendi eso

http://whackahack.com/foro/t-14509/fr-scripting-script-lectura-modificacion-ivs-utilizando-frhackedengine

Tambien lei el archivo .docx que trae el Zip con la rutina
 

Versekr Dark

Usuario mítico
Re: Respuesta: Re: ¿Como hacer un IV Checker?

Si mal no recuerdo eran con los special que dice Versekr Dark



Pero creo que tenias que guardar os datos desencriptados en una variable (que creo que era la 8010 no recuerdo muy bien)

Verificaba que dato del pokemon era pero en este caso para dar ivs exactos es mucho mas dificil (dificil no es lo que es suuuuuuuuuper largo) porque tienes que poner un script que posea cada mensaje de los 0-31 posibles ivs del pokemon aunque tambien puedes hacer como en los juegos de tercera 4arta 5ta y sexta (posiblemente septima) que te dicen una frase

Eh aqui de donde aprendi eso

http://whackahack.com/foro/t-14509/fr-scripting-script-lectura-modificacion-ivs-utilizando-frhackedengine

Tambien lei el archivo .docx que trae el Zip con la rutina

Yo hice un script de cada uno de ivs, de evs, de pokerus y demas cosas y no son tan largos jaja, tambien de tutores movimiento
 
Estado
Cerrado para nuevas respuestas.
Arriba