Jump to content

Over 9999 prize money potential curiosity: Difference between revisions

m
no edit summary
>Torchickens
(Created page with "frame|right|Lorelei giving the player over 9999 prize money. The '''over 9999 prize money potential curiosity''' occurs in {{RBY}}. In thes...")
 
>Torchickens
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1:
[[File:Over 9999 prize money.png|frame|right|Lorelei giving the player over 9999₽995544 prize money.]]
The '''over 9999 prize money potential curiosity''' occurs in {{RBY}}.
 
In these games, there is an address (D079 in Red/Blue, or D078 in Yellow) which changes the multiple of 10000 Pokédollars the player receives after defeating a Trainer. Since there is a cap of 9999 Pokédollars in the prize money calculation, this byte is not used for values more than 00, however, the game writes when the battle starts at 0E:5D07 to it when the battle starts. Like other money bytes, this address is defined so that the hexadecimal value in it is the same in decimal.
<!--Description based on the one from ChickasaurusGL's video with permission-->
 
==With [[arbitrary code execution]]==
The following code for "8F" or "ws m" using a bootstrap code to item 3 code will set D079 or D078 to 99.
 
<br>Item 3: Lemonade x 153
<br>Item 4: TM34 x 121 (120 in Yellow)
<br>Item 5: TM08 x 201
==Special thanks==
TheZZAZZGlitch for finding the address.
 
==Youtube video==
{{youtube|wOC3WHPcx94|ChickasaurusGL}}
[[Category:Curiosities]]
[[Category:Generation I curiosities]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.