Pokémon Yellow predefined functions list: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Yeniaul
>Kaikun97
No edit summary
Line 30: Line 30:
0D - 0E: Softlock
0D - 0E: Softlock


0F: Initialises Player Data (Party, items, badges only)
0F: Faux New Game (all boxes and party Pokemon removed, items removed, badges removed, but no trainers or gyms reset. Curious.)


10 - 17: Nonfunctional
10 - 17: Nonfunctional


18: Faux New Game
18: Initialises Player Data


19 - 1A: Nonfunctional
19 - 1A: Nonfunctional
Line 58: Line 58:
29: Pokedex menu
29: Pokedex menu


2A - 2B: Nonfunctional
2A: Nonfunctional

2B: Saves the game to SRAM0


2C: Battle start, works
2C: Battle start, works
Line 64: Line 66:
2D: Nonfunctional
2D: Nonfunctional


2E: Some sort of squares flash on the bottom of the screen for exactly 5 frames (Needs investigation.)
2E: Draws the 8 badges for 5 frames (uses the tileset of the loaded map)


2F: Trade, nonfunctional
2F: Trade, nonfunctional


30: Graphic for trainer battle start, nonfunctional
30: Plays the battle transition


31: Small amounts of tile corruption, text to be specific.
31: Small amounts of tile corruption, text to be specific.


32: Plays the Intro. Returns to the overworld when finished with the intro tileset. The overworld such as NPCs remain during the intro.
32: Intro and title, then graphical errors (It's actually an overlay...? No actual reset occurs, just the graphics. It dumps control back to the player, so the map graphics get screwed up.)


33: Nonfunctional
33: Nonfunctional


34: Flashes the screen indefinitely.
34: Battle flashing. (No black, just flashing.)


35: Nonfunctional
35: Nonfunctional
Line 88: Line 90:
39 - 3A: Nonfunctional
39 - 3A: Nonfunctional


3B: All tiles and sound filled with garbage
3B: All tiles and sound filled with garbage.


3C: Cut, working
3C: Cut, working
Line 98: Line 100:
3F: Working save
3F: Working save


40: Hangs for exactly 15 frames
40: Hangs for exactly 15 frame


41 - 45: Nonfunctional
41 - 45: Nonfunctional
Line 114: Line 116:
4B: Nonfunctional
4B: Nonfunctional


4C: Replaces text tiles 2, 3, 4, and 5 with "Trainer spotted you!" bubble
4C: Displays Emotion Bubble. Replaces text tiles 2, 3, 4, and 5 with "Trainer spotted you!" bubble.


4D: Nonfunctional
4D: Nonfunctional
Line 122: Line 124:
4F: Softlock
4F: Softlock


50: Saves to SRAM2
50 - 51: Nonfunctional

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.
52: Writes black to entire screen, graphical only


53: Nonfunctional
53: Saves to SRAM1


54: "Wanna trade CLEFAIRY for MR.MIME?"
54: "Wanna trade CLEFAIRY for MR.MIME?"
Line 142: Line 146:
5C - 60: Nonfunctional
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.
61: Elevator menu


62: If you caught 0 kinds of pokemon, get item 0x00.
62: If you caught 0 kinds of pokemon, get item 0x00.