Character misalignment glitches (Generation I)

Subscribers:
17,700
Published on ● Video Link: https://www.youtube.com/watch?v=iAF49DcypHk



Duration: 3:30
906 views
43


Normally, Red is positioned in the middle of the screen. This is because C104 (corresponding with the y coordinate of Red) and C106 (corresponding with the x coordinate of Red) default to 3C and 40.

If you modify these addresses, you can cause the character misalignment effect. The character misalignment effect can cause some areas to become blocked, like what happens at 2:26.

At the start of this video, I changed the map script at D36D to 7F DA for arbitrary code execution and placed Red in a wall. The new map script changes his position using the d-pad.

ld hl, D36D
ld a,7F
ldi (hl),a
ld a,DA
ldi (hl),a ; locks the script on the map
call DB00
call DC00
ret

At DB00 (check for up/down press and change C104):
ld hl,C104
ld a,(C104)
add sp,00 # Reset z flag
ld a,(FFB1)
add a,80
jr z,DB14 # Did you press down?
add a,40 # Did you press up?
jr z,DB19
ret
ld hl,C104
inc (hl)
ret
ld hl,C104
dec (hl)
ret

At DC00 (check for left/right press):

At DC00:

ld hl,C106
ld a,(C106)
add sp,00 # Reset z flag
ld a,(FFB1)
add a,E0 #Did you press left?
jr z,DC14
add a,10 #Did you press right?
jr z,DC19
ret
ld hl,C106
dec (hl)
ret
ld hl,C106
inc (hl)
ret

Next, I show an alternative way to cause character misalignment with Glitch City RAM manipulation in Pokémon Red (see https://glitchcity.wiki/Glitch_City_R...) (add ) to the URL if not in link.)

As the y coordinate byte is 3C, it will appear as a block with a tree in it at the Celadon City gym. To manipulate the C104 Glitch City, enter the gym, don't move, then perform the following steps:

1. In item 33, place TM19 x236 (or x204)
2. In item 34, place TM24 x17
(The top-left map block is now at E0EC or C0EC and we changed the map to Safari Zone which is in the same bank so doesn't freeze the game)
3. Open and close the Pokémon menu, then Red will be facing the tree. Cut it to change C104 to 0x35; misaligning the player.




Other Videos By Evie (ChickasaurusGL) 🌺


2023-04-18Agatha's badge describer glitch and arbitrary code execution from Antidote badge (Pokémon Red/Blue)
2023-04-18Special text box IDs during Trainer-Fly that work independent of maps (Generation I)
2023-04-18Use DHNhIT4 89 ゥ N (0x74) to obtain the 0xFF PP value without PP underflow glitch (Pokémon Yellow)
2023-03-21Using Dex dump glitch to simulate the expanded party and almost filling our Pokédex (Generation I)
2023-03-21PP copier glitch - Corrupting a Pokémon's nickname and making it over Level 100 (Generation I)
2023-03-21Glitch blackboard text arbitrary code execution (Generation I)
2023-02-27Level 0 Pokémon cannot evolve by stone/obtain Level 0 Clefairy w/Brock Through Walls (Generation I)
2023-02-27Obtain MissingNo. (0xAF) with GoldBadge item (addendum to the GoldBadge glitch) (Red/Green v1.0)
2023-02-27Select glitch 35 Pokémon swap for instant Safari Zone exit glitch (Glitch City) (Red/Green/Blue JP)
2023-02-19Manipulating the unused Silph Co. 11F wLastMap warp 10 (Another Glitch City glitch) (Generation I)
2023-02-18Character misalignment glitches (Generation I)
2022-12-28Oak Through Walls concept (Pallet Town Professor Oak guide abuse) (Generation I)
2022-12-28Attempting to exchange the Bike Voucher with a full bag of 20 items (Generation I)
2022-12-28Placeholder and unused Professor Oak text (Generation I)
2022-11-24Cinnabar man shows rotating Porygon/optional 'Virtual Boy' mode (Yellow) (save file in description)
2022-11-24Arbitrary sprites sequence concept but my code is glitchy (Pokémon Yellow)
2022-11-13Glitch Super Game Boy palette command 0x5E (Pokémon Yellow)
2022-11-04All 256 possible Super Game Boy palettes (Pokémon Yellow EN)
2022-11-04Turning NPCs into animated glitch characters (Pokémon Yellow Video RAM corruption experiment)
2022-10-23Unexplained faulty laptop (screen intermittent colours error) (Halloween special) ^^
2022-10-20DecompressRequestPikaPicAnimGFX w/bad (glitch) sprites from DE (arbitrary code execution experiment)