Union Room wrong-warping glitch: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>RETIRE
mNo edit summary
>Bbbbbbbbba
(Massive cleanup)
Line 1: Line 1:
{{incomplete}}
{{incomplete|initial triggering procedure}}
[[File:Union Room wrong warp position.png|thumb|right|300px|The position to talk to the lady to enter the Union Room.]]
[[File:Union Room wrong warp position.png|thumb|right|300px|The position to talk to the lady to enter the Union Room.]]


The '''Union Room wrong-warping glitch''' is a [[glitch derivative]] of [[Tweaking]] (and possibly other [[void glitch]]es). It was discovered by forums user RETIRE.
The '''Union Room wrong-warping glitch''' is a [[glitch derivative]] of [[tweaking]] (and possibly other [[void glitch]]es). It allows the player to take two related [[Wrong warp (Generation IV)|wrong warps]], one to a fixed location in the void of the Pokémon Center top floor map, and the other to any location the player can set up by using the Explorer Kit. Furthermore, it breaks the script in the Pokémon Center top floor map, causing the player to step into the void on the next visit to the top floor. As such, it can enable itself, allowing the player to do multiple void trips in the same game by only tweaking once.


In all of its forms, the glitch is set up by talking to the Union Room NPC from an unintended direction.
The glitch involves the player warping to the Union Room with y coordinates as Y = FFFF FFFF (stored as effectively Y = FFFF), rather than the default (Y = 0000 0002).


An important requirement is that '''the player must have received the Tuxedo/Dress from the Contest Hall.''' Since the Contest Hall has a cutscene giving the player the Tuxedo/Dress on the first visit, if this cutscene isn't cleared, visiting it on a void route would crash the game.
When leaving the Union Room, it will warp you to Y = 0000 FFFF instead since all warps use 16 bit values instead of 32 bit.
This in itself can be used for very specific glitches, and is the 'Union room warp.'


This glitch was discovered by RETIRE.
If the player resets the game, that being after saving by talking to the NPC activating the warp from above, you activate what is known as a wrong warp.
When you talk to the lady, a map AND coordinate check is done. Since your coordinate is not an expected value, the game does not store the Union Room as the warp value when resetting the game. The bytes it should overwrite are located at [Base]+1488 which is coincidentally also used for Explorer kit, elevators and some other warps.


==Union Room warp==
Since you can fully manipulate the Explorer Kit's location in the void, this allows for the player to warp to many different locations in the game (although only the first quadrant of the void, since all warps use 16 bit values), without the need of Tweaking other than to access the Union Room lady from above first.
The '''Union Room warp''' happens when the player talks to the Union Room NPC from above, enters and then leaves the Union Room. It can be used for some very specific glitches.


Once this is done, all the player must do is enter the top floor of a Pokémon Center, after which a mapscript pushes the player down into the void. This should have been ran when you reset the game, but since you didn't warp to the top floor of the pokécenter the flag was never cleared.
When the player talks to the NPC from above, 3 tiles higher than normal, the subsequent map script will cause the player to warp to the Union Room with Y = FFFF FFFF, instead of the normal Y = 0000 0002. This will cause a [[coordinate warp]].
This allows you to Warp again within less than a minute, without tweaking.


Namely, since warp coordinates are stored in 16-bit integers, this will be stored as Y = FFFF, and when leaving the Union Room, the player will be warped to Y = 0000 FFFF. Since this location is in the void, and has a different map ID than the real Pokémon Center top floor, the map script won't run, and the game is still in a state that allows a reset wrong warp (see below).
==Requirements==
1. The player must have entered the Contest Hall at least once.


==Reset wrong warp==
2. The player must set up the Explorer Kit at a location based on the location they desire.
The '''reset wrong warp''' happens when the player resets the game, after saving by talking to the Union Room NPC from above, left, or right.


When the player talks to the NPC, a map ''and'' coordinate check is done. Since the player's coordinates are not an expected value, the game does not store them as the location to warp to when resetting the game. The bytes it should overwrite are located at [Base]+1488 which is also used for the Explorer Kit, elevators and some other warps. Therefore, this glitch can cause a wrong warp to where the player last used the Explorer Kit, as long as that is when those bytes are last set.
==Technical description of warp==
The player is warped to Y = 0000 FFFF, which will take the player to another map represented in the form [Base] + 1488, and where the player last used his or her Explorer Kit.


Since the player can use the Explorer Kit almost anywhere in the void, this allows the player to warp to many different locations in the game (although only the first quadrant of the void, since all warps use 16-bit values).
==Pokémon Center second floor recreation steps==
This method requires having performed a tweak above the Union Room lady at least once.


==Subsequent void trips==
1. Enter top floor of any Pokémon Center (while not in void)
A side effect of the Union Room wrong-warping glitch is that, the next time the player enters the top floor of a Pokémon Center, a map script will push the player down into the void.


The map script should have been ran when the player leaves the Union Room or resets, but since in both cases the player don't warp to the top floor of a Pokémon Center, the map script flag is never cleared. This has a slight downside, namely that map 7 (Pokémon Center top floor) would crash the game in void routing, but they are easy to route around.
2. Move 4W


More importantly, this is useful as a fast method to enter the void. By following the void route below, the player can trigger the wrong warp again within less than a minute, without tweaking again.
3. Move 15 N

4. 6 E

5. Graphic reload

6. Run down full speed

7. Graphic reload

8. Talk to middle NPC


===Void route===
# Enter the top floor of any Pokémon Center. The map script pushes the player into the void.
# 4 W
# 15 N
# 6 E
# Graphic reload
# Run down full speed
# Graphic reload
# Talk to middle NPC
<!--
==Initial void route==
Describe here the procedure to trigger this glitch for the first time.
-->
==Credits==
==Credits==
*[[Hall of Origin (community)|Hall of Origin community]], including RETIRE, MAP and FlederKiari
*[[Hall of Origin (community)|Hall of Origin community]], including RETIRE, MAP and FlederKiari