Added: 3 years ago
From: Tatsuhiko
Views: 25,778
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (37)

Sign In or Sign Up now to post a comment!
  • what happens if you get spotted by a trainer?

  • for(i=0;i!=pokemons;i++)

    push(pokeball to heal)

    If pokemons start

  • SIGSEGV :)

  • Seems legit.

  • That music. /nostalgia

  • Missingno from the east coast escaped and started attacking the island! Run!

  • divide by zero error

    

  • how many pokeballs do you have :)

  • So what happens if you fight a trainer?

  • if the mulator crashes then it's not handling the cpu exeptions correctly. if you divide by 0 in the gameboy rom then the emulator should just emulates a crashed cpu, not crash itself.

    anyway, intresting seeing how the game reacted :P

  • Thats not bugged at all

  • Imagine if the lavender town theme start playing backwards

  • LOL!

  • I know the end of the world now.

  • Pokéballs,

    Pokéballs everywhere

  • I like that there's a guy just chilling on the couch while a wall of code envelops him.

  • Damn she had to go and heal EVERYONES pokemanz.

  • lololol

  • So let me get this straight, the whole world collapsed in on itself because one guy didn't own any Pokemon....good to know.

  • you dun fucked the game.

  • There's a value in RAM which stores how many Pokemon you have in your party for things like Pokemon Centres; when adding Pokemon to the machine it executes a "subtract one, compare with 0, if not equal do it again" loop. When that value is zero the first subtraction circles over to 255, so it ends up drawing 256 Pokeballs (most of which end up being glitchy crap at the top of the screen due to overrunning the end of an array). It's the same bug that causes the split screen in Pac-Man.

  • @KorvMoij what I think is that he basically took the healing glitch in the world famous cactus (or whatever it is called) and brought it over to his pokemon red or blue version but I think your hypothesis is better. I also want to have that glitch in Pac-Man when I'm playing it

  • someone just divided by zero.

  • @Quadkillz0000 THere's an awesome video of someone dividing by zero on an AVR microcontroller... the thing basically explodes =D

  • The explanation is obvious: they divide by the number of your pokemon.. :D

  • Awesome.

  • I have a vague memory of how pokemon code works (from reading up on the MissingNo glitch). If the called value is outside the range of what it's expecting (i.e. 1-6, it gets a value of 7, it rolls over back to 1) it does some funny stuff.

    In this case, the value it gets is 0, so it calls the next memory addresses value and uses that, which tweaks the game out.

    It may not be accurate, but it's something along those lines. Google up on the MissingNo glitch and give it a read. It's worth it.

  • @Monso

    Haha, that's not unique to pokemon code. It's called a buffer overflow and is one of the most common ways to exploit software.

    Did your parents know you were learning how to hack??

  • @ChuckPulsar I'm 23. Mom has bigger things to worry about than pokemon :P

  • @ChuckPulsar Actually, thinking back when I read that article, *I* didn't think I was learning how to hack :P

  • @Monso Yeah, I'm guessing that the array access was done using pointer iteration instead of subscript characters (for example, if they wrote it in Assembly instead of C... or just wanted to optimize it) then they got plunged into a section of volatile memory holding other information and code, which started to execute and fry the game good. If you want to see some interesting effects with uC errors, google 'divide by zero on AVR' =P

  • why is your trainer not called jesus?! he can clearly walk on water!?

  • @SkatingAMfan

    lol

  • ohh man i gotta try that!!

  • The pokemon games have the most fun glitches to play around with, if you ask me. Also, Ash must be the second coming of Christ, since he can sure walk on water well!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more