Jump to content

BadgeDescriptionDex: Difference between revisions

no edit summary
>Kelvinv
No edit summary
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1:
{{incomplete|1=Pointers and Pokémon Yellow}}
The badge items display their normal badge texts. and when the order is changed in the hex editor, the texts also will change correctly
 
This is a list of the behaviors of invalid ([[glitch]]) choices for the badge describer's badge list in Cerulean City. This list is currently for {{RB}}.
ROM addresses 74E6E through 74e76 control the items that the Badge man lists. These are loaded in game at addresses cf7c until cf84 when you open the badge list
The normal badge items are 15-1C.
 
[[MetascriptDex/RB:D64F (Agatha's Pokémon League room)|Meta-map script 0x7F or 0xFF in Agatha's room in Red/Blue]] is also a way to technically access glitch choices with theoretically neither arbitrary code execution, arbitrary RAM modification or a cheating device, but the badge menu in Agatha's room is invisible so it requires memorization of the menu (including the scrolling and lag from unterminated name badges (items)). The player can view the VRAM at 9C00 (e.g. using BGB emulator) to reveal the menu, though the font is still glitched.
Work to do: find out where the game finds text.
 
==Sources==
*Kelvinv
*[[User:Evie (Torchickens)|Evie (Torchickens)]]
 
==Notes==
The badge items display their normal badge texts and when the order is changed in a hex editor, the texts also will change correctly.
 
ROM addresses 74E6E through 74E76 control the items that the badge man lists. These are loaded in game at addresses CF7C until CF84 when the player opens the badge list. This makes 01xx7CCF a convenient GameShark code for testing invalid badge describer choices. The normal badge items are 15-1C. The normal text pointer table for BoulderBadge through to EarthBadge is at 1D:4E86. Following it are two byte pointers (endianness must be reversed to get the pointer), so for instance at 1D:4E86 is 96 4E (1D:4E96) this is the first entry so is the Boulderbadge, at 1D:4E88 is the pointer for CascadeBadge and so on.
 
To find the source of the text of invalid badges, it is more complicated but they can be found by setting a breakpoint to 1D:4E5B (74E4B) and reading the value of hl. If the badge has an unterminated name, use code 0150A0C3 and flash the Pokémon menu before viewing a badge, to avoid a freeze from the unterminated name.
 
To enable [[arbitrary code execution]] on a RAM pointer, have 08 at the beginning of the text source.
 
==List==
===Pointers===
{| class="wikitable"
! Item ID (DEC) !! Item ID (HEX) !! Name !! Pointer to text
|-
| 0 || 0 || #j. || 2ECD
|-
| 1 || 1 || Master Ball || 303E
|-
| 2 || 2 || Ultra Ball || 062C
|-
| 3 || 3 || Great Ball || 0E3C
|-
| 4 || 4 || Poké Ball || CD02
|-
| 5 || 5 || Town Map || 3739
|-
| 6 || 6 || Bicycle || 3EC5
|-
| 7 || 7 || ????? || CDA8
|-
| 8 || 8 || Safari Ball || 23B1
|-
| 9 || 9 || Pokédex || 05C1
|-
| 10 || A || Moon Stone || F120
|-
| 11 || B || Antidote || D821
|-
| 12 || C || Burn Heal || CD4F
|-
| 13 || D || Ice Heal || 3C49
|-
| 14 || E || Awakening || DE21
|-
| 15 || F || Paralyz Heal || 11FF
|-
| 16 || 10 || Full Restore || D349
|-
| 17 || 11 || Max Potion || 030E
|-
| 18 || 12 || Hyper Potion || 0C3E
|-
| 19 || 13 || Super Potion || 6DCD
|-
| 20 || 14 || Potion || 3E3E
|-
| 21 || 15 || BoulderBadge || 1D:4E96
|-
| 22 || 16 || CascadeBadge || 1D:4E9B
|-
| 23 || 17 || ThunderBadge || 1D:4EA0
|-
| 24 || 18 || RainbowBadge || 1D:4EA5
|-
| 25 || 19 || SoulBadge || 1D:4EAA
|-
| 26 || 1A || MarshBadge || 1D:4EAF
|-
| 27 || 1B || VolcanoBadge || 1D:4EB4
|-
| 28 || 1C || EarthBadge || 1D:4EB9
|-
| 29 || 1D || Escape Rope || 9217
|-
| 30 || 1E || Repel || 2651
|-
| 31 || 1F || Old Amber || 1750
|-
| 32 || 20 || Fire Stone || 1D:51F2
|-
| 33 || 21 || Thunderstone || 1D:5026
|-
| 34 || 22 || Water Stone || 1D:5D17
|-
| 35 || 23 || HP Up || 2652
|-
| 36 || 24 || Protein || 1750
|-
| 37 || 25 || Iron || 1D:52B8
|-
| 38 || 26 || Carbos || 1D:5026
|-
| 39 || 27 || Calcium || 2A17
|-
| 40 || 28 || Rare Candy || 2653
|-
| 41 || 29 || Dome Fossil || 1750
|-
| 42 || 2A || Helix Fossil || 1D:5388
|-
| 43 || 2B || Secret Key || 1D:5026
|-
| 44 || 2C || ????? (Unusable) || C717
|-
| 45 || 2D || Bike Voucher || 2653
|-
| 46 || 2E || X Accuracy || 1750
|-
| 47 || 2F || Leaf Stone || 1D:53F5
|-
| 48 || 30 || Card Key || 1D:5026
|-
| 49 || 31 || Nugget || 030C
|-
| 50 || 32 || PP Up (useless) || 0200
|-
| 51 || 33 || Poké Doll || FF09
|-
| 52 || 34 || Full Heal || 0207
|-
| 53 || 35 || Revive || FF08
|-
| 54 || 36 || Max Revive || 0307
|-
| 55 || 37 || Guard Spec. || FF08
|-
| 56 || 38 || Super Repel || 0100
|-
| 57 || 39 || Max Repel || 070A
|-
| 58 || 3A || Dire Hit || FF09
|-
| 59 || 3B || Coin || 01D3
|-
| 60 || 3C || Fresh Water || C6F4
|-
| 61 || 3D || Soda Pop || 0200
|-
| 62 || 3E || Lemonade || C712
|-
| 63 || 3F || S.S. Ticket || 0207
|-
| 64 || 40 || Gold Teeth || C712
|-
| 65 || 41 || X Attack || 0307
|-
| 66 || 42 || X Defense || 9921
|-
| 67 || 43 || X Speed || CD4F
|-
| 68 || 44 || X Special || 3C49
|-
| 69 || 45 || Coin Case || 133E
|-
| 70 || 46 || Oak's Parcel || 25EA
|-
| 71 || 47 || Item Finder || CDD1
|-
| 72 || 48 || Silph Scope || 30E8
|-
| 73 || 49 || Poké Flute || EAAF
|-
| 74 || 4A || Lift Key || CC26
|-
| 75 || 4B || Exp. All || 2AEA
|-
| 76 || 4C || Old Rod || 3ECC
|-
| 77 || 4D || Good Rod || EA03
|-
| 78 || 4E || Super Rod || CC29
|-
| 79 || 4F || PP Up || 033E
|-
| 80 || 50 || Ether || 28EA
|-
| 81 || 51 || Max Ether || 3ECC
|-
| 82 || 52 || Elixer || EA05
|-
| 83 || 53 || Max Elixer || CC24
|-
| 84 || 54 || B2F || 013E
|-
| 85 || 55 || B1F || 25EA
|-
| 86 || 56 || 1F || 21CC
|-
| 87 || 57 || 2F || D730
|-
| 88 || 58 || 3F || F6CB
|-
| 89 || 59 || 4F || DC21
|-
| 90 || 5A || 5F || 06C3
|-
| 91 || 5B || 6F || 0E08
|-
| 92 || 5C || 7F || CD0C
|-
| 93 || 5D || 8F || 1922
|-
| 94 || 5E || 9F || 29CD
|-
| 95 || 5F || 10F || 2124
|-
| 96 || 60 || 11F || C406
|-
| 97 || 61 || B4F || 9E11
|-
| 98 || 62 || w m || CD4F
|-
| 99 || 63 || ws m || 1955
|-
| 100 || 64 || v t m || 2121
|-
| 101 || 65 || #'d#m# || 11C4
|-
| 102 || 66 || #m# || 1D:4FC3
|-
| 103 || 67 || w 'l#m# || 1D:55CD
|-
| 104 || 68 || #f#m# || 2119
|-
| 105 || 69 || #m# || D730
|-
| 106 || 6A || -gm || B6CB
|-
| 107 || 6B || # || BECD
|-
| 108 || 6C || é || CB3A
|-
| 109 || 6D || #il# || 204F
|-
| 110 || 6E || Lg#- || FA5A
|-
| 111 || 6F || #-g# || CC26
|-
| 112 || 70 || #QGnS#I || 03FE
|-
| 113 || 71 || Gn#SI || 1D:5328
|-
| 114 || 72 || #Q;MP- || E0AF
|-
| 115 || 73 || MP- || E09F
|-
| 116 || 74 || DHNhIT4 89 ゥ N || 3EA1
|-
| 117 || 75 || ぅ || E002
|-
| 118 || 76 || #### || CDA0
|-
| 119 || 77 || 4 || 35A6
|-
| 120 || 78 || (no name) || 0630
|-
| 121 || 79 || ₽ ぅ || D321
|-
| 122 || 7A || 4 “ || C34F
|-
| 123 || 7B || ぉ8# || 3C49
|-
| 124 || 7C || 8# 8 || E7CD
|-
| 125 || 7D || # ₽ ₽ぅ####### || F04F
|-
| 126 || 7E || ## ## ## A# ?## || 1D:47DB
|-
| 127 || 7F || #(player) #7#####6####7#### || 010E
|-
| 128+ || 80-FF || [[The Big HEX List|Many]] || Assumed to be that of item -0x80
|}
 
===Testing===
Note some of these behaviors are not consistent and were noted as they occurred at the time. A lot of the data is inaccurate due to the dependence on RAM.
 
* Item 00 (j.): Displays an empty text box which also plays sounds, then restarts the game
* Item 01 Master Ball: Displays an empty text box which also plays sounds, then adds a glitchy block to the start menu. After that returns to normal, with only the drum part of the music playing
Line 44 ⟶ 321:
* 2a Helix Fossil. Causes empty text box with an sound effect wich will become scrollable. After that normal text box will appear with glitch text above it.
* 2b: Secret Key. Does nothing
* 2c ?????: causes ellipsellipse text box. with guide music.
* 2d Bike Voucher: causes empty text box with glitch noises, and after that return to normal with glitchy rival music
* 2e X Accuracy: causes sounds to play with including the key item sound with empty text box that after a while becomes scrollable with glitchy rival music. Causes CMOD.
Line 60 ⟶ 337:
* 3A Dire Hit: causes empty text box to appear with sounds. Returns game to normal afterwards with glitchy rival music.
* 3B Coin: Causes empty text box with sounds which eventually fills up with ellipses and glitch text with glitchy rival music, After scrolling it displays blank text, cPoké. ROCKET a few times. Eventually locks up with glitchy guide music
* 3C Fresh Water. Causes ellipsellipses text box and and many item obtained sounds. Eventually plays guide music. Eventually locks up with route theme. Ram is thrashed with 75 value.
* 3D Soda Pop. Causes game to briefly display a empty text box with glitch sounds. Causes game to return to normal
* 3E Lemonade: Causes text box with ellipses at the beginning that becomes empty after a while and is scrollable then. After scrolling causes another text box to appear with ellipses with many item obtained sounds and guide music. Thrashes ram with 75 value. Freezes the game with first few notes of a route theme.
Line 73 ⟶ 350:
* 47 Itemfinder: Empty text box with sounds that also gets interrupted at the beginning. After a while glitch tile appears under item name. After a while text becomes scrollable which causes sounds to be played and list text to be corrupted. Locks up.
* 48 Silph Scope: Causes text box to appear with many 9's. After a while returns game to normal badge texts with glitch tile under item name. If you exit, player will be stuck in invisible wall. Also, music will be silent. If start menu is opened, there will be mostly white glitchy mess
* 49 Poké Flute: Displays ellipsellipse text box with ellipses overwriting the bottom of the text box, normal music still plays. If you press a, many item obtained sounds will play. After a while Cinnabar music will play, and the game will display the normal badge man texts. If you exit, all people sprites are removed and player is stuck in invisible wall. If start menu is opened, map will change to a glitchy mess.
* 4A Lift Key: Glitch tile with 0 error
* 4b Exp. All: Empty text box with sounds, that eventually becomes scrollable with introduction theme. Scrolling it causes a text box appear with chair tiles and sounds with the introduction theme. 9's will also appear after a few moments. Eventually there will be a glitched version of it playing. Locks up the game. It will after a while display the normal badge man texts and play the correct version of the introduction theme. When exiting, the badge man sprite is removed and the player is stuck in an invisible wall. Start menu effect similar to Silph Scope.
Line 91 ⟶ 368:
* 59 4F: Glitch tiles with error message
* 5a 5F: empty text box with sounds and glitchy elite 4 music. After scrolling sounds play and glitchy gym music, with glitch tile under item name. Locks up
* 5b 6F: EllipsEllipse textbox will appear after a while some ellipses will dissappear, if scrolled through, will cause glitchy guide music to come and locks up
* 5c 7F: 0 error
* 5d 8F: empty text box will appear with sounds, game returns to playable with glitchy evolution music.
Line 108 ⟶ 385:
* 6a - gm: displays empty text box with glitch noises, then returns game to normal with glitchy rival theme
* 6b glitch block: same as above, however glitchy sounds are played for shorter time.
* 6c é: causes ellipsellipse text box to appear, then after a while pressing a causes the game to play sounds and eventually display 0 error before returning the game to normal and changing theme to Cinnabar.
* 6d fills an text box with 9's and plays glitchy rival music, scrolling this text box causes glitch text to appear, the game allows you to exit the message but after exiting badge screen player is stuck in invisible wall.
* 6e Lg -: does nothing
Line 125 ⟶ 402:
* 7A: (glitch tile) 0 error
* 7B: causes game to display a text box filling with glitch text, then locks up with invalid opcode.
* 7C: causes ellipsellipse text box, if a is pressed it locks up the game with first few notes of a theme.
* 7d: locks the game up with start menu sprites appearing over the screen
* 7e: locks up the game with glitchy graphics appearing at upper side. If name is displayed, then also some start menu items will appear
Line 132 ⟶ 409:
* 81: same.
* 82: name not viewable, crashes game with glitchy graphics if used without name displayed
[[Category:Databases]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.