summaryrefslogtreecommitdiff
path: root/macros.asm
AgeCommit message (Collapse)Author
2015-10-13Final descriptive label in tilesets/animations.asmPikalaxALT
2015-10-13ldtile and dwtile macros added and globally implementedPikalaxALT
2015-10-12Happiness and Mystery Gift constantsPikalaxALT
2015-10-04soft resetPikalaxALT
2015-07-20Fix unnecessary white space and retire add_n_timesPikalaxALT
2015-07-20More label updates, moved predefs to new filePikalaxALT
Also named most of the engine and event flag constants.
2015-07-16Special script annotation, trainer constant enumeration, person-event ↵PikalaxALT
structure update
2015-07-15More enumeration of constants, more annotations of scripts.PikalaxALT
2015-07-13- Update variable sprites to use constants rather than fixed valuesPikalaxALT
2015-07-13Replace EVENT_ALWAYS_THERE with -1PikalaxALT
2015-07-03- Renamed "Functiond283" to "GetPocketCapacity" and updated the pointers and ↵Scott Norton
constants to better reflect their hypothesized purposes. - Using yenatch's version of the macro and constant handling, rewrote the tmhm bit array as a macro-defined environment.
2015-05-18Merge branch 'gfx-tweaks'yenatch
2015-04-13Add a macro for enumeration.yenatch
"enum" is like "const" but uses variables instead. This might not be desired. It has been moved to the top of macros.asm so that included macros can be enumerated.
2015-03-03Use a macro instead of manually subtracting $36 from pic banks.yenatch
2015-02-10Blindly use wram labels for everything except mobile, part 1.yenatch
Wram banks and mobile make this tough, since any address can secretly be a ghost. As usual, mobile completely disregards 99% of the codebase. It's been ignored in kind.
2015-02-04Mobile phrases and tons of related data.yenatch
2015-02-02Mobile trade incbins and coordinate macros.yenatch
2015-01-27Add a "mobile" directive for dummied-out mobile adapter functions.yenatch
2015-01-20Move around some more macros.yenatch
2015-01-20Start moving relevant macros into macros/text.asm.yenatch
2015-01-20Stop using the preprocessor.yenatch
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