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 IV Glitch Discussion

Catch Arceus with any ingame location and '---------' location. - Page 1

Catch Arceus with any ingame location and '---------' location.

Posted by: RETIRE
Date: 2018-08-01 20:50:35
Here I am with another glitch to showcase! This is not just a repost of Ganix's old route, trust me.
We all know it's possible to capture Arceus, but I wanted to write a route that would allow the player
to easily change the capture location of that Arceus.

Arceus' script moves you up, which can cause us to be moved into a new map id in the void.
By manipulating what map is above the map we call the script in, we can modify Arceus' capture location.

The route I came up with achieves all of the following:
You can choose any ingame map, or '———-' as capture location
You can recapture Arceus infinitely
You can modify the capture location inside the void to capture Arceus from all locations ,
with only a few seconds of work. Not requiring leaving the void.
You can shinyhunt it

The way  I achieved this is using Itemdata. Once again I made a video with an indepth explanation:

https://www.youtube.com/watch?v=DZ29bnNdIcs&feature=youtu.be

This post will go slightly more indepth than the video, although not much.

First off all Jagger found the addresses for Itemdata, which were needed to know the amount of steps  I had to
take to reach my items.

Base + 0x00838


We start in the void at Matrixdata being located at

Base + 0x022ADA


I then made a simple calculation to convert these values into amount of steps between them.

(0x022ADA-0x00838)/60*32


explanation formula:

First we need the amount of bytes between two addresses.

(0x022ADA-0x00838) = 0x0222A2
= 139938 bytes


Then we convert this to amount of maps we will travel through. Going vertically, maps 60 bytes appart.

139938 bytes/60
= 2332 maps


Then we convert this to amount of steps, knowing that one map is 32x32 tiles.


2332 maps *32 steps/map
= 74 624 steps


Since Itemdata is located higher in RAM, we have to travel north.
This calculation is based on the start of Itemdata, but we only have to travel to about the middle of it for our setup so its a little less.

Now that we have a general idea of the amount of steps, I need to know what maps we need to write.
We can write maps here using Item ID's and Item amounts. Both are stored in 2 byte values.

The maps we need are:












My first route had big flaws, it was pricy and wasn't really well set up. cost nearly 900K .

My second route is nearly flawless, the price for setup is only 80 860 !
Next to that, I was able to write all needed maps within 64 steps of each other.
You'll see that the setup actually is very lucky when I explain it.

First of all, I needed cheap items. I also need two cheap items to be 60 bytes away from each other in RAM,
since that's the same as going one map up. the other maps are only 2 bytes away from each other, next to each other horizontically.

Everything fell perfectly into place!







With only 3 Item setups and 3 filler items all our maps have been written.
Now one problem came up, we want to modify Grass Mail's amount by tossing items to change our Arceus' capture location.
Issue is, in Pal Park mode you can't acces the bag!
To fix this, we needed the map 137 (Grass mail's ID). We can use RETIRE here to call the shop menu and sell grass mails until we get the desired amount.

So a clean version of the item setup is as following:
Mail slot
Grass Mail x558
Heart Mail x393

Medicine slot
3 Filler Items x any amount
Antidote x 510

Now before I show the route, I'd like to note that the following values shouldn't be used as item Id's or amounts
in your bag, especially the amount of grassmails, since they can cause softlocks, move you or kick you out of the void.
Red; Dangerous, crashes and softlocks

5, 23, 31, 32, 35, 85, 88, 91, 93, 95, 105, 114, 115, 133, 150,154,155,156 176, 178, 180,
182, 184, 188, 255, 304, 337, 461, 516, 352


Yellow; Cause movement and or warp you
117, 177, 179, 181, 183, 185, 186, 187, 192, 393,
474, 475, 476, 477, 478, 479, 480, 481, 482, 483,
484, 485, 486, 487, 488, 489, 490, 496


I would also like to note that you can only capture Arceus once in Hall Of Origin.
Next to that, we can modify its location to become '———' by using maps without assigned capture location,
for example map 251, Pal Park.

Requirements:
Have received a pal pad from pokecenter lowest floor
Have a bycicle
Have enough pokeballs
Pokemon with fly or teleport

Next to that, I slightly changed the usual 'go north' path by going 64 W first. This makes the path less likely to go through
dangerous maps. Here we go!

[font=georgia]1) Get to itemdata and encounter Arceus
——————————-
1 S
5 E
500 N
Save reset
64 W
——————————-
73465 N
——————————-
150 W
1 N
If oak cutscene plays: 1 W
Toss Heartmail x 142 (now you have 251)
1 W
-countdown
2 S
93 W
RETIRE
-arceus encounter
——————————-

Following steps can be repeated, always starting at just having caught an arceus.

Now you can:
2) Change location to catch arceus in
——————————-
1 W
RETIRE (this opens up a pokémart buy/sell option)
Sell grass mail until it becomes desired map ID
1 E
2 S
RETIRE
-arceus encounter
——————————-

Or
3) Re-encounter Arceus in same map (can also be done after 2)
——————————-
2 S
RETIRE
-arceus encounter
repeat this step infinitely
——————————-

After catching last arceus:
64 E
RETIRE[/font]





Re: Catch Arceus with any ingame location and '---------' location.

Posted by: Guy
Date: 2018-08-01 23:00:52
You already know what I have to say about this one. ;) One of these days, I'm going to start a brand new file on Diamond and try all of these, but this one in particular may be the most interesting to me.

Re: Catch Arceus with any ingame location and '---------' location.

Posted by: RETIRE
Date: 2018-08-02 13:00:12

You already know what I have to say about this one. ;) One of these days, I'm going to start a brand new file on Diamond and try all of these, but this one in particular may be the most interesting to me.


I really just wanted to have something challenging on my hands, and it turned out wonderful ^°^