Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: I don't know much about coding, but is it possible to remove the error handler?  (Read 948 times)

0 Members and 1 Guest are viewing this topic.

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
The error handler in Pokemon black shuts down glitch Pokemon and maps (and moves possibly, can't find a move modifier) Before any glitches can happen. Would it be possible to remove it? I'm sorry if it's a stupid question, I was just curious
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
If you do a ROM hack, sure.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Would that be difficult, or easy
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Can't tell.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Would there be a way to search for the function somehow or just whatever calls it, and overwrite that? I have a hunch that what's calling it is null derefs, but I'm probably wrong
« Last Edit: April 26, 2018, 08:14:48 pm by 0ErrorYT »
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Overwriting isn't that simple - a NULL deref means the game is crashing either way, and removing the error handler isn't going to change anything.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Looking into it more, hex:0000 works just fine. I'm thinking it's just a code that triggers the error handler whenever a Pokemon's index number is higher then the last valid Pokemon, and not null derefs
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!

Parzival

  • Buyer beware: House comes with 3 free skeletons in a closet of your choice.
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • This box intentionally left blank. ...wait...
    • View Profile
    • (null)
Just removing the function would cause them as well. You'd have to replace it with something.
Ask me about betrayal.
Ask me about depression.
Ask me about death.
Ask me about destruction.
Ask me about hardship.
I've been through s**t.
If you need to talk to someone, my PM inbox is always open.

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
Could it be possible to replace it with the DS equivalent of a ret (sorry if this sounds dumb) or something like that? Or find what accesses it whenever it's activated (is there a ds emulator that has breakpoints?)
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Could it be possible to replace it with the DS equivalent of a ret (sorry if this sounds dumb) or something like that? Or find what accesses it whenever it's activated (is there a ds emulator that has breakpoints?)

Likely yes.

There is a special version of No$GBA with a debugger. It supports GBA but apparently you can debug Nintendo DS games with it too. So that probably supports breakpoints.

I don't know how one would go about finding the routine and patching it out though, sorry.
« Last Edit: May 10, 2018, 06:13:28 am by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

0ErrorYT

  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • Dri REDGREENMOM MOM, are you ready?
    • View Profile
It would work amazing, but there is 1 problem. I open pokemon black with no$gba debugger, and i get a message on the screen "The save data can't be accessed." I looked it up and you need a code to fix it. I entered the code, and it didn't work.
Well ????? is a pokemon that can only be accesed by hacking the game
genrally with gameshark but the game shark code for it works in this way:
it tells the  game to make a certain pokemon appear what that pokemon is depends on the two pokemon digits in the code fore example bulabsuar code could be 4R (it isnt really) but if you put in a number for a pokemon that doesnt exist... the game wotn know what to make appear there for cusing its name sprite antacks etc to be nothing to do with real pokemon! :) :) :) hope u understood tis lol!!!

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
It's an emulation problem. The game has a different way of accessing the cartridge port, which triggers anti-piracy.
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)