Glitch moves lowering glitched stats - potential to alter a useful address?
Posted by: Torchickens
Date: 2015-08-30 21:36:46
Move effect $92 gives it a chance of apparently lowering a glitched stat with a name that may be blank, though I've also had it as named "ONIX" (which makes me curious if the 'stat name' may be unpredictable like CoolTrainer's internal name).
When I learned about it lowering a glitched stat, it made me wonder whether the game actually tries to decrease the value of a used memory address that could represent something useful to manipulate (maybe for instance we could lower the value of a species byte and we do not know it yet!). Though there's the possibility that it doesn't or tries to lower a read only address as well.
Bulbapedia says that HM01 can also cause a glitched stat to become lowered. But this may be an error. In Red, its move effect is $8F. When I used the move, the game said "nothing happened" after damage was dealt, and when I set breakpoints to writable memory (8000-FEFF) in BGB, the debugger did not break there, so no arbitrary code was executed at that point.
In Yellow, HM01 has the effect 4B, which is documented here as "none" (or is it?).
On the subject of obtaining TM47, Bulbapedia seem to unfortunately have error(s) regarding the details of acquiring it as well.
Yellow's Z (hex:E5) will not learn TM47 at level 47, and I don't know if you can get it with the trade evolution glitch with Alakazam because Alakazam does not try to learn Shadow Ball (hex:F7) at any level.
If we want to obtain TM47 without arbitrary code execution and no Pokémon learns it, I guess that we might be able to get it with Super Glitch in a Glitch City that has a symbol in it, or possibly the max stat experience and DVs trick if you shifted a current experience of 247 (TM47's index number) into a move.