Jump to content

Pokémon Yellow predefined functions list: Difference between revisions

m
Text replacement - "http://forums.glitchcity.info" to "https://forums.glitchcity.info"
>Torchickens
No edit summary
m (Text replacement - "http://forums.glitchcity.info" to "https://forums.glitchcity.info")
 
(2 intermediate revisions by 2 users not shown)
Line 1:
This is a list of {{Y}} predefined functions. All values are in [[hexadecimal]].
 
Some values that are stated "Nonfunctional" and "Softlock" may do something when certain conditions are met.
 
==Executing predefined functions==
===Hacked ROM===
Predefined functions can be executed with [httphttps://forums.glitchcity.info/index.php?action=profile;u=1199 TheZZAZZGlitch]'s debug Pokémon Yellow by using the "Debug" item (known as "31337" in earlier ROMs), which can be withdrawn from the player's PC at the beginning of the game or added as item 1 with the [[GameShark]] code 012C1DD3.
 
In at least the latest revision, one must use the debug item, select "Miscellaneous", scroll down to "Predef [7 heal]", adjust the value with right (ID +01h) and/or left (ID+10h) and press A to run the predefined function.
Line 14:
01 - 03: Nonfunctional
 
04: Writes random garbage to tile graphics,. gameplayEffect unaffectedis cosmetic.
 
05 - 06: Nonfunctional
Line 66:
2D: Nonfunctional
 
2E: Draws the 8 badges on the Trainer menu for 5 frames (uses the tileset of the loaded map)
 
2F: Trade, nonfunctional
Line 74:
31: Small amounts of tile corruption, text to be specific.
 
32: Plays the Intro. Returns to the overworld when finished, withbut thedoes intronot tilesetreload graphics. TheAny overworldNPCs suchonscreen aswill NPCsshow remainon-screen during the intro.
 
33: Nonfunctional
Line 134:
54: "Wanna trade CLEFAIRY for MR.MIME?"
 
55: Enter Hall of Fame, then credits. Works, but screwsthen updumps allyou menusback into whatever state you were in before calling. Does not reload graphics.
 
56: Professor Oak's Rating
Line 180:
A1: Softlock
 
A2: "[]5 error." where [] = tile 25
 
A3 - A5: Softlock
Line 194:
AA: Nonfunctional
 
AB: Battle HUD appears, then "It's not very effective..." appears
 
AC: See 92
Line 202:
AE: Nonfunctional
 
AF: 3TRAINERPOKe (that always turns into a Rhydon, not due to the [[Rhydon trap]]) was caught!
 
B0: Text scramble, then crash
Line 210:
B6: Pops all text boxes
 
B7 - FF: Softlock/Nonfunctional
[[Category:Databases]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.