Jump to content

Inputting Hex Values into an Action Replay Code?


Recommended Posts

Hi everyone, I am currently in working progress in creating an Action Replay Code to Receive Infinite Togepi Eggs. I have the basic form of the code, but I have no idea how to input the Hex Values propertly. I don't even know if these are the correct Hex Values. If its not the correct Hex Values, then what are they? Also, is this even a suitible a basic form of the code or will I need to add a couple of lines?

Here is the basic form of the code:

(Press Start + Select)

94000130 FFF30000

B2111880 00000000

DA000000 0000DD07

D3000000 00000000

D7000000 02000010

A2000010 FBFF0000

D4000000 00008000

B211187E 00000000

D7000000 0000DD07

D2000000 00000000

44h - DD

45h - 07

46h - 80

86h - 04

Are these the correct Hex Values?

The Hex Values are in darkslateblue!

I am using this Hexadecimal Conversion below:

Source: http://www.statman.info/conversions/hexadecimal.html

Link to comment
Share on other sites

This is the form of my rebattle/re-do event codes, but it seems that you don't understant how it works...

This has nothing to do with 44h, 45h values and such.

The goal of the code is to reset one bit that tells the game whether the event is already completed (its value is 1) or not (value = 0).

94000130 FFF30000

B2111880 00000000

DA000000 0000XXXX

D3000000 00000000

D7000000 02000010

A2000010 YYYY0000

D4000000 0000ZZZZ

B211187E 00000000

D7000000 0000XXXX

D2000000 00000000

XXXX = Address of the halfworf where the bit is located (it seems that 1-byte-write and 1-byte-load codes don't always work properly, so I used 2-byte ones)

YYYY = Bitmask used to extract the wanted bit

ZZZZ = Value to add to the halfword to reset the bit. Actually, it'll have to be greater than 0x7FFF in order to substract a value.

Generally, ZZZZ = YYYY + 1.

I'll try and do the code if you want, but I first need a save where the egg is not recieved yet.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...