On the Player coordinates RAM writer page (https://glitchcity.info/wiki/Player_coordinates_RAM_writer) items are detailed in which you can write to memory. However, I have no idea where the memory write starts from, and I want the memory writer to start from DA80 so I can write offgao's memory editor to execute with glitch item -g m (hex:6A). If the memory writer doesn't start from DA80, is there a way to change that so it does start from DA80?

Edit: The first byte wrote is to D901, I looked harder on the page. I still want to change this to DA80, so is there a way?

« Last Edit: August 07, 2018, 03:20:22 pm by metalmario32 »

Logged

I've been a fan of Pokémon since my first game. That was Platinum, though. Ever since then, I've played every single generation of Pokémon at least once and got into glitching them when I got RBY. Oh boy, the fun times that I had as a kid... I <3 GLITCH CITY LABORATORIES for bringing back my childhood!

On the Player coordinates RAM writer page (https://glitchcity.info/wiki/Player_coordinates_RAM_writer) items are detailed in which you can write to memory. However, I have no idea where the memory write starts from, and I want the memory writer to start from DA80 so I can write offgao's memory editor to execute with glitch item -g m (hex:6A). If the memory writer doesn't start from DA80, is there a way to change that so it does start from DA80?

Edit: The first byte wrote is to D901, I looked harder on the page. I still want to change this to DA80, so is there a way?

I think there's definitely a way as I believe I changed the starting point before. I'm afraid I don't know from memory how to do it though, sorry. The best way may be to set up the items in BGB emulator and then view the code or convert the items into ASM by hand and analyse where it gets the D9 and 01 from. The TM17 in slot 10 looks suspicious because TM17 has the ID D9, so that may be where it gets D9 from, but as for the 01 I'm less sure.

Worst case scenario though you can possibly use CopyData (call 00B5 for Blue/(Red?) according to my notes) to move the data to DA80, where bc is the bytes to copy, hl is the source and de is the destination.

Hope this helps, and hope you're able to find the answer!

Logged

Hi!

I'm Evie.

I'm a transgender person, but any pronouns are fine. She/her preferred.

Unfortunately due to legal concerns I won't be using emulators and unauthorised copies of ROMs anymore, just real hardware with official cartridges and a cheating device (Xploder) to aid research, sorry.

Online I most often use the username Torchickens or Chickasaurus.

Ah.. koucha ga oishii ♪

Thanks Aeriixion for the cute sprite above! Roelof also made different variations of the sprite (which I animated).

Contact:If you like, please contact me by private message here on the forums as I no longer check other places very often.

To love yourself is to believe in yourself, respect yourself, but to make allowances for weakness. If you do the same with others in need (believing in them), in keeping an open mind and being modest, then it will not only help each other but can make life more meaningful. The heart though, has no script, and true wisdom may not exist; often ignorance can give us bliss and the darker times enlighten us later on.

Edit: On my "Alternate Catch 'em All" question, I found that CopyData is 00:00B1 in Yellow. But what is CopyData.copybytes (at 00:00C1) and FarCopyData (at 00:009D)?

« Last Edit: August 12, 2018, 01:54:33 pm by metalmario32 »

Logged

I've been a fan of Pokémon since my first game. That was Platinum, though. Ever since then, I've played every single generation of Pokémon at least once and got into glitching them when I got RBY. Oh boy, the fun times that I had as a kid... I <3 GLITCH CITY LABORATORIES for bringing back my childhood!

Edit: On my "Alternate Catch 'em All" question, I found that CopyData is 00:00B1 in Yellow. But what is CopyData.copybytes (at 00:00C1) and FarCopyData (at 00:009D)?

Good question. CopyData.copybytes confused me too. I'm unsure but it seems like it's in the middle somewhere of the CopyData routine. I think FarCopyData might be used if copying the data requires a bank switch (i.e. if it's in region 4000-7FFF).

I'm a transgender person, but any pronouns are fine. She/her preferred.

Unfortunately due to legal concerns I won't be using emulators and unauthorised copies of ROMs anymore, just real hardware with official cartridges and a cheating device (Xploder) to aid research, sorry.

Online I most often use the username Torchickens or Chickasaurus.

Ah.. koucha ga oishii ♪

Thanks Aeriixion for the cute sprite above! Roelof also made different variations of the sprite (which I animated).

Contact:If you like, please contact me by private message here on the forums as I no longer check other places very often.

To love yourself is to believe in yourself, respect yourself, but to make allowances for weakness. If you do the same with others in need (believing in them), in keeping an open mind and being modest, then it will not only help each other but can make life more meaningful. The heart though, has no script, and true wisdom may not exist; often ignorance can give us bliss and the darker times enlighten us later on.

I've been a fan of Pokémon since my first game. That was Platinum, though. Ever since then, I've played every single generation of Pokémon at least once and got into glitching them when I got RBY. Oh boy, the fun times that I had as a kid... I <3 GLITCH CITY LABORATORIES for bringing back my childhood!