yenatch
a0e2b8270f
Mobile phrases and tons of related data.
2015-02-04 01:10:59 -08:00
yenatch
46f2dbb367
Mobile trade incbins and coordinate macros.
2015-02-02 15:46:06 -08:00
yenatch
5aec11492d
Add a "mobile" directive for dummied-out mobile adapter functions.
2015-01-27 15:03:14 -08:00
yenatch
f036cdf13b
Move around some more macros.
2015-01-20 14:26:16 -08:00
yenatch
9303752e3f
Start moving relevant macros into macros/text.asm.
2015-01-20 14:10:55 -08:00
yenatch
8583cc4724
Stop using the preprocessor.
2015-01-20 00:01:23 -08:00
yenatch
7b87e67a89
More labels in code and some mobile datatracking.
2015-01-01 20:59:08 -08:00
yenatch
ffdc3e4c12
Wrap macro arguments with parentheses.
...
Arguments are passed in as string literals.
2014-08-14 23:47:27 -07:00
yenatch
8639fcd29b
Use a predef macro that takes labels instead of juggling constants.
...
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-16 11:20:01 -07:00
yenatch
0d682e076a
Fix argument handling in *coord macros. Add a "percent" shortcut.
...
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-10 23:03:21 -07:00
yenatch
8d2b9f3fcb
Remove the FuncCoord macro.
...
Variables can't use labels, so a macro that doesn't use variables is better suited.
2014-06-04 01:18:54 -07:00
yenatch
ddc88bed4b
Use a macro for sine waves.
...
So far they're identical, but amplitude could change.
2014-05-05 15:58:43 -04:00
yenatch
34d7cbb8b7
Text macros.
...
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-05 22:49:09 -05:00
yenatch
86e77a0229
dbbw macro
2014-03-03 05:28:53 -05:00
yenatch
2d6f644cdf
Map macros because maps are bananas
2014-02-24 04:47:54 -05:00
yenatch
7c02c2bb31
Move remaining constants into constants/{misc,pokemon_data}_constants.asm
...
Now constant groups can be included separately if needed.
2014-02-03 18:00:51 -05:00
yenatch
4f5ae6510c
Move rst constants into macros.asm
2014-02-02 16:13:23 -05:00
yenatch
e937d6f25c
audio: note duration from 0-15 to 1-16 to match pokered
2013-12-28 20:32:05 -05:00
yenatch
4c8737effb
constant enumeration
2013-11-27 14:45:43 -05:00
yenatch
b47f460061
lb macro for fast double-register loads
2013-11-24 04:06:37 -05:00
yenatch
fa3145dd44
rework note macro
2013-11-07 01:11:42 -05:00
yenatch
1ecb307824
split macros out from constants.asm into macros.asm
2013-09-03 18:22:26 -04:00