TMHMDex/GS:211: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
>Torchickens
(Created page with "(↑ Back to the TMHMDex index) {{ItemInfoGenII TMHM |1=TM20<br>File:GS TM20.png |2=D3 |3=211 |4=20CA }} '''TM20''' is a wrong pocket TMs and HMs|wrong poc...")
 
m (Corrected the description according to the screenshot.)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
}}
}}


'''TM20''' is a [[wrong pocket TMs and HMs|wrong pocket TM]] in {{GS}}. Its description is "Always leaves at 1HP.".
'''TM20''' is a [[wrong pocket TMs and HMs|wrong pocket TM]] in {{GS}}. Its description is "Always leaves at least 1HP."


==Effect==
==Effect==

*Unknown effect (does not [[game freeze|freeze]] the game)
In Pokémon Gold, it executes code in ROM at 20CA (inside of the function LoadMapTimeOfDay.ClearBGMap, according to the pret/pokegold disassembly). It executes one useless instruction, then immediately returns and thus has no effect.

In Pokémon Silver, it executes code in ROM at 1ECA (inside of the function AskSerial, according to the pret/pokegold disassembly). It executes useless instructions, then always safely returns and thus has no effect.


{{clr}}
{{clr}}

Latest revision as of 01:28, 18 May 2022

(↑ Back to the TMHMDex index)

Name: TM20

Identifier (HEX): D3
Identifier (DEC): 211
Effect pointer: 20CA

TM20 is a wrong pocket TM in Pokémon Gold and Silver. Its description is "Always leaves at least 1HP."

Effect

In Pokémon Gold, it executes code in ROM at 20CA (inside of the function LoadMapTimeOfDay.ClearBGMap, according to the pret/pokegold disassembly). It executes one useless instruction, then immediately returns and thus has no effect.

In Pokémon Silver, it executes code in ROM at 1ECA (inside of the function AskSerial, according to the pret/pokegold disassembly). It executes useless instructions, then always safely returns and thus has no effect.