Anonymous user
Pokémon Yellow predefined functions list: Difference between revisions
Pokémon Yellow predefined functions list (view source)
Revision as of 01:45, 29 May 2022
, 1 year agoText replacement - "http://forums.glitchcity.info" to "https://forums.glitchcity.info"
>Yeniaul (Initial Commit) |
m (Text replacement - "http://forums.glitchcity.info" to "https://forums.glitchcity.info") |
||
(9 intermediate revisions by 5 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 [https://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.
▲Some values that are stated "Nonfunctional" may do something when certain conditions are met, but I'm lazy, so...
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.
==List of predefined functions==
00: Shows in-battle HUD for exactly 5 frames
01 - 03: Nonfunctional
04: Writes random garbage to tile graphics
05 - 06: Nonfunctional
Line 31 ⟶ 30:
0D - 0E: Softlock
0F: Initialises Player Data (Party, items, badges only)
10 - 17: Nonfunctional
18:
19 - 1A: Nonfunctional
Line 59 ⟶ 58:
29: Pokedex menu
2A
2B: Saves the game to SRAM0
2C: Battle start, works
Line 65 ⟶ 66:
2D: Nonfunctional
2E:
2F: Trade, nonfunctional
30:
31: Small amounts of tile corruption, text to be specific.
32: Plays the Intro. Returns to the overworld when finished, but does not reload graphics. Any NPCs onscreen will show on-screen during intro.
33: Nonfunctional
34: Flashes the screen indefinitely.
35: Nonfunctional
Line 89 ⟶ 90:
39 - 3A: Nonfunctional
3B: All tiles and sound filled with garbage.
3C: Cut, working
Line 115 ⟶ 116:
4B: Nonfunctional
4C: Displays Emotion Bubble. Replaces text tiles 2, 3, 4, and 5 with "Trainer spotted you!" bubble.
4D: Nonfunctional
Line 123 ⟶ 124:
4F: Softlock
50: Saves to SRAM2
50 - 51: Nonfunctional▼
52: Goes to a white screen and forcibly loads the save file, gives "file data is destroyed!" message if one does not exist. Pokemon and item data is loaded correctly however the tileset for the map is not changed if the save was in a different map.
53:
54: "Wanna trade CLEFAIRY for MR.MIME?"
55: Enter Hall of Fame, then credits. Works, but
56: Professor Oak's Rating
Line 143 ⟶ 146:
5C - 60: Nonfunctional
61: Elevator menu with invalid floors. The menu may display mart items. If inside an Elevator after selecting an option, the elevator will move after exiting the menu but you will exit to a glitched map.
62: If you caught 0 kinds of pokemon, get item 0x00.
Line 177 ⟶ 180:
A1: Softlock
A2: "[]5 error." where [] = tile 25
A3 - A5: Softlock
Line 191 ⟶ 194:
AA: Nonfunctional
AB: Battle HUD appears, then "It's not very effective..." appears
AC: See 92
Line 199 ⟶ 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 207 ⟶ 210:
B6: Pops all text boxes
B7 - FF: Softlock/Nonfunctional
[[Category:Databases]]
|