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"
>Torchickens m (Torchickens moved page Pokemon Yellow predefined functions list to Pokémon Yellow predefined functions list: Adding the é) |
m (Text replacement - "http://forums.glitchcity.info" to "https://forums.glitchcity.info") |
||
(6 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 [
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
05 - 06: Nonfunctional
Line 30:
0D - 0E: Softlock
0F: Initialises Player Data (Party, items, badges only)
10 - 17: Nonfunctional
18:
19 - 1A: Nonfunctional
Line 58:
29: Pokedex menu
2A
2B: Saves the game to SRAM0
2C: Battle start, works
Line 64 ⟶ 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 88 ⟶ 90:
39 - 3A: Nonfunctional
3B: All tiles and sound filled with garbage.
3C: Cut, working
Line 114 ⟶ 116:
4B: Nonfunctional
4C: Displays Emotion Bubble. Replaces text tiles 2, 3, 4, and 5 with "Trainer spotted you!" bubble.
4D: Nonfunctional
Line 122 ⟶ 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 142 ⟶ 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 176 ⟶ 180:
A1: Softlock
A2: "[]5 error." where [] = tile 25
A3 - A5: Softlock
Line 190 ⟶ 194:
AA: Nonfunctional
AB: Battle HUD appears, then "It's not very effective..." appears
AC: See 92
Line 198 ⟶ 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 206 ⟶ 210:
B6: Pops all text boxes
B7 - FF: Softlock/Nonfunctional
[[Category:Databases]]
|