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
Other glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Interactive tools
Reference documents
Terminology

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: Object Event vs. !  (Read 857 times)

0 Members and 1 Guest are viewing this topic.

MrGlitch

  • I am that damn fourth Chaos Emerald
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Aerrordactyl
    • View Profile
Object Event vs. !
« on: January 01, 2013, 02:06:46 pm »
I noticed how similar RBY's "!" message and GSC's "Object event." message are.  They're both dialogue boxes assigned to NPCs who don't have any dialogue assigned to them (if that makes any sense).

Presumably, "!" prevents the game from crashing and is a placeholder expressly for that purpose.  But does "Object event." serve the same purpose? Does it go any deeper than that?

Bert

  • Local Shitposter
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Enemy FERALIGATR can't receive the gift!
    • View Profile
Re: Object Event vs. !
« Reply #1 on: January 01, 2013, 03:26:11 pm »
"Object Event" occurs when the player attempts to speak to a character who cannot normally be spoken to, such as Lance in the Hall of Fame room. It's purpose is unknown, but it's speculated that it's purpose is to prevent the game from freezing if such a character is spoken to.

http://glitchcity.info/wiki/index.php/Object_event.

Raven Freak

  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Sucks at sprite art
    • View Profile
Re: Object Event vs. !
« Reply #2 on: January 01, 2013, 03:31:39 pm »
In other words, it's basically identical to that of "!" in the Gen. 1 games. However I suppose the programmers decided to be more creative with this error handler in gen 2 than in Gen one or they simply got lazy with Gen 1. :V (I don't blame them though, usually when I program I tend to use smaller labels... xD)