123
submitted 3 months ago* (last edited 3 months ago) by akunohana@piefed.blahaj.zone to c/programmer_humor@programming.dev

I know it's not self-hosting, but I thought it deserved a shoutout.

And when you're done laughing:
https://tasvideos.org/5384S

you are viewing a single comment's thread
view the rest of the comments
[-] lokalhorst@feddit.org 26 points 3 months ago

I watched it but I need to admit that I have no idea what is going on. Okay so at first he exploits some glitches of Pokemon Yellow, but then, like what the fuck? Can anybody explain to me what's happening please

[-] Feyter@programming.dev 16 points 3 months ago

I try to add something to the understand.

Especially in old games, the program code (what happens if you press a button, what happen if your health bar goes to zero...) is often handled in the same memory structure as the game data (sprites, your entered player name, you inventory...) If you glitch a function that should edit a memory block of game data (e.g. reduce the players money or rename a Pokémon) to do it's operation on a program code block instead, you can reprogram the game while you are playing it and even make it a different game.

A different famous example is Super Mario Land. If you glitch trough the level borders the game is displaying all kind of data (game data and program code) as level blocks that you can walk on. Some of those level blocks are distructable, which is setting this memory block to a different value. By carefully destructing the correct blocks, you can change things like how many life's you have. But if you hit a wrong block, the game will potentially crash because you changed the program code to something that doesn't make sense.

load more comments (5 replies)
this post was submitted on 10 Jun 2026
123 points (98.4% liked)

Programmer Humor

33385 readers
1469 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS