summaryrefslogtreecommitdiff
path: root/macros.asm
AgeCommit message (Collapse)Author
2015-01-01More labels in code and some mobile datatracking.yenatch
2014-08-14Wrap macro arguments with parentheses.yenatch
Arguments are passed in as string literals.
2014-06-16Use a predef macro that takes labels instead of juggling constants.yenatch
Besides making predefs convenient, naming a predef no longer requires adding or renaming a predef constant. This also lets predefs be rearranged at will.
2014-06-10Fix argument handling in *coord macros. Add a "percent" shortcut.yenatch
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.
2014-06-04Remove the FuncCoord macro.yenatch
Variables can't use labels, so a macro that doesn't use variables is better suited.
2014-05-05Use a macro for sine waves.yenatch
So far they're identical, but amplitude could change.
2014-03-05Text macros.yenatch
UnknownText_0x1aa0dc: ; 0x1aa0dc db $0, "Nihihi! This GYM", $4f db "is great! Only", $51 db "girls are allowed", $4f db "here!", $57 ; 0x1aa115 is now UnknownText_0x1aa0dc: ; 0x1aa0dc text "Nihihi! This GYM" line "is great! Only" para "girls are allowed" line "here!" done ; 0x1aa115
2014-03-03dbbw macroyenatch
2014-02-24Map macros because maps are bananasyenatch
2014-02-03Move remaining constants into constants/{misc,pokemon_data}_constants.asmyenatch
Now constant groups can be included separately if needed.
2014-02-02Move rst constants into macros.asmyenatch
2013-12-28audio: note duration from 0-15 to 1-16 to match pokeredyenatch
2013-11-27constant enumerationyenatch
2013-11-24lb macro for fast double-register loadsyenatch
2013-11-07rework note macroyenatch
2013-09-03split macros out from constants.asm into macros.asmyenatch