Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Generation I Glitch Discussion

Thinking of a bootstrap (Red/Green/Blue JP) - Page 1

Thinking of a bootstrap (Red/Green/Blue JP)

Posted by: metalmario32
Date: 2018-06-06 13:49:34
I was recently experimenting with the Japanese games' glitch Pokémon, when I got to thinking, "What could be an applicable bootstrap for , one of the most popular ACE items in JP RGB?" So I decided to look at The Big HEX List, and I came up with this bootstrap:



This bootstrap redirects code to the third item. This bootstrap was based off the ENG setup for 8F by pigdevil2010. I was wondering if this bootstrap would work, due to how the memory addresses are different in the JP games, not following specific offsets for every portion of memory.

EDIT: Here's the RAM and ASM:

[tt]Initial hl: $D123

$D123 <- 05 || dec b
$D124 <- 24 || inc h; h = $D2
$D125 <- 2E ||
$D126 <- A6 || ld l, $A6; hl = $D2A6
$D127 <- 18 ||
$D128 <- 03 || jr $03; pc = D12C
$D12C <- 00 || nop
$D12D <- E9 || jp (hl); pc = $D2A6

alternatively:
$D128 <- 04 || jr $04; pc = $D12D[/tt]

Re: Thinking of a bootstrap (Red/Green/Blue JP)

Posted by: Torchickens
Date: 2018-06-07 14:21:08
I imagine this would likely work as you're jumping to D2A6 and you're not corrupting the stack.

Great work! :)

Re: Thinking of a bootstrap (Red/Green/Blue JP)

Posted by: metalmario32
Date: 2018-06-07 19:02:10

I imagine this would likely work as you're jumping to D2A6 and you're not corrupting the stack.

Great work! :)


Nice! Thanks, I recently set up the bootstrap and Mews are floating everywhere, as well as other things :P