Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Generation I Glitch Discussion

Gen I: How to break the money cap and other glitchy-richness - Page 3

Re: Gen I: How to break the money cap and other glitchy-richness

Posted by: Krys3000
Date: 2015-10-15 12:25:31
Thanks for the test, ISSO! I think it's clear now that emulated games and real cartridge don't behave the same way regarding money.

If I understand well here, on real cartridge only, if you have 9F00 pokédollar, spending 600 will get you 9900. So hex:9F is not dec:159 here… but actually dec:105. To get back on topic, that would mean if you have FFFFFF pokédollars, you don't really have 16,777,215 pokédollars, but 1,666,665, if my calculations are correct. But, G-Meister, didn't you get stuck at 1,655,965? Am I wrong or are you still not getting the jackpot? Mouhahaha.

Meanwhile, emulator players desperately cry in front of the bike store with their 999,999 pokédollars :D

Re: Gen I: How to break the money cap and other glitchy-richness

Posted by: The G-Meister
Date: 2015-10-15 14:14:48

To get back on topic, that would mean if you have FFFFFF pokédollars, you don't really have 16,777,215 pokédollars, but 1,666,665, if my calculations are correct. But, G-Meister, didn't you get stuck at 1,655,965? Am I wrong or are you still not getting the jackpot? Mouhahaha.

Meanwhile, emulator players desperately cry in front of the bike store with their 999,999 pokédollars :D


Yes 1,666,665 is the correct amount, as I said earlier in the thread :P Also, seen as it's not stored as 1,666,665, when you have a glitch blob, it can't account for the digit above. So if you have "0000A0" you technically have 100 Pokémon dollars, even though it doesn't let you buy an antidote for 100. So even if they did write a script coding for having enough money for a bike, you still wouldn't be able to buy it :(

I'll be doing some research tomorrow into what activates the cap, and might even delve into trying to get this to work with casino chips and PC underflow.

[Edit]: With item underflow alone I could only get to FFFEFF (1,666,565) because I can't find a way to move around stacks of TM55. However, I think if I set up my options correctly I might be able to get a x255 or x0 stack of TM55, which we can duplicate upwards by removing the items above, with the consequence of screwing up your Rival's name.

…Screw Gary, no-one cares about him anyway… dickhead.


having 34XX is sufficient for GC RAM manipulation (I used it to get 6F)


Ah yes, I remember saying to myself now that it's hard to get enough money legitimately to do it with the first two bytes, the second two are as easy as toast and the third two are nigh-on impossible as you have to sell stuff rather than buying it, or battle trainers.
Thanks for the help, too! :D

Re: Gen I: How to break the money cap and other glitchy-richness

Posted by: Krys3000
Date: 2015-10-15 14:45:38
Haha yes of course, but ISSO checked that out, and actually there is no script to check the money you have when you talk to the seller. That's just one big lie  ;D

If some emulator expert enters here, don't hesitate to tell us if you know why emulators automatically correct the amount of money whereas cartridge fail to do it :p

I think, but I may be wrong, that a well-conceived program is supposed to correct the data while dealing with BCD. An emulator may have the ressource to do that, and a Game Boy cartridge may be too limited. I don't know.

Re: Gen I: How to break the money cap and other glitchy-richness

Posted by: ISSOtm
Date: 2015-10-16 20:33:04

Haha yes of course, but ISSO checked that out, and actually there is no script to check the money you have when you talk to the seller. That's just one big lie  ;D

If some emulator expert enters here, don't hesitate to tell us if you know why emulators automatically correct the amount of money whereas cartridge fail to do it :p

I think, but I may be wrong, that a well-conceived program is supposed to correct the data while dealing with BCD. An emulator may have the ressource to do that, and a Game Boy cartridge may be too limited. I don't know.

The game has no check for you having enough money to buy the bike. I checked against Pokéred to be sure.

I cannot say for sure until I locate the script in Pokéred, but I think the game uses DAA for BCD correction. Will be checking that, of course.


After testing extensively GC RAM manip-obtained glitchy-richiness:
Turns out, 6CXX behaves exactly like 72XX on my Pokémon Rouge cartridge, moneywise at least (I tried battling Trainers to earn money).
Buying items also seems to work the same, so, DAA emulation error ? Man.

Re: Gen I: How to break the money cap and other glitchy-richness

Posted by: The G-Meister
Date: 2015-10-31 05:22:27
So, a while back now (a good week or two ago) I was doing a bit of testing to see what activates the cap and, as I expected, obtaining money in any form will activate it. Battling trainers, using Pay Day in battle, and even selling something for 0 Pokémon Dollars did it. When I say activating the cap what I mean is the game sets the amount of money to 999999.

Also, as a side note, I've been playing through my Red cartridge so I have somewhere to back up my discoveries made on Yellow, and I just managed to find a MissingNo thanks to some trainer-flying and a rather helpful sailor. When I went to do the item underflow, there was a bunch of j.'s before the money bytes. Seen as I hadn't filled my pack to the brim, does this mean that I get these in the way too? Because if so I'm gonna have to write another alternative instruction set for the item underflow glitchy-richness if the pack hasn't been filled yet.

Re: Gen I: How to break the money cap and other glitchy-richness

Posted by: Krys3000
Date: 2015-11-07 10:29:03
Hmm I don't remember what those j's are, I think I have seen them in a video somewhere, but yellow 00 glitch item is "öke" in my game. That might be region-specific.

Re: Gen I: How to break the money cap and other glitchy-richness

Posted by: Stackout
Date: 2015-11-07 11:11:48

Hmm I don't remember what those j's are, I think I have seen them in a video somewhere, but yellow 00 glitch item is "öke" in my game. That might be region-specific.


yeah, "j." is 00 in english r/b.