Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Thinking of a 5かい bootstrap (Red/Green/Blue JP)  (Read 367 times)

0 Members and 1 Guest are viewing this topic.

metalmario32

  • The ENG Pokémon Nerd
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • RST 38? What's that? ... Oh.
    • View Profile
Thinking of a 5かい bootstrap (Red/Green/Blue JP)
« on: June 06, 2018, 12:49:34 pm »
I was recently experimenting with the Japanese games' glitch Pokémon, when I got to thinking, "What could be an applicable bootstrap for 5かい, 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:

  • Exactly 5 Pokémon in your party
  • Pidgey as the first Pokémon
  • Parasect as the second Pokémon
  • Raticate as the third Pokémon
  • Tentacool as the fourth Pokémon
  • Nidoran♂ or Clefairy as the fifth Pokémon
  • Pidgey must have 233 HP

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:

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
« Last Edit: June 06, 2018, 01:52:53 pm by metalmario32 »
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!

Evie the Mother Hen ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • I love My Melody. 🦋 ✿
    • View Profile
Re: Thinking of a 5かい bootstrap (Red/Green/Blue JP)
« Reply #1 on: June 07, 2018, 01:21:08 pm »
I imagine this would likely work as you're jumping to D2A6 and you're not corrupting the stack.

Great work! :)
« Last Edit: June 07, 2018, 02:17:34 pm by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post :)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Transgender woman but spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman/I'm a 'girly' nerd who discovered herself. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

metalmario32

  • The ENG Pokémon Nerd
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • RST 38? What's that? ... Oh.
    • View Profile
Re: Thinking of a 5かい bootstrap (Red/Green/Blue JP)
« Reply #2 on: June 07, 2018, 06:02:10 pm »
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
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!