Age | Commit message (Collapse) | Author |
|
Random returns a value from 0 to 0xff.
Instead of doing extra work, most probabilities are out of 0xff.
Convert these from percentages at build time for readability.
|
|
|
|
A goal is to be able to reproduce the original lz data in the repository.
In the meantime, make it smaller than before.
|
|
|
|
|
|
Variables can't use labels, so a macro that doesn't use variables is better suited.
|
|
|
|
This was probably used in the stats screen in JP versions.
It fell out of use when the stats screen layout was redon in localization.
|
|
If MAX_LEVEL was set to 255, the value could not fit into a byte.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
So far they're identical, but amplitude could change.
|
|
Pokemon appearing from a ball, screen fades, etc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Appears to display predefined sprites at given coordinates.
This lets multiple sprites be drawn in any order without interacting with OAM directly.
|
|
|
|
|
|
|
|
It's mostly menudata. Whoops.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Still not sure where the bank comes from.
|