Commit graph

48 commits

Author SHA1 Message Date
dannye 5207a14af3 Redo audio header macro 2016-07-27 22:08:13 -05:00
dannye dbe2a3b168 Add warnings about music/sfx macro usage
These are not game limitations, just restrictions for
the macros to behave properly
2016-07-27 20:57:46 -05:00
dannye 4992ae2233 Macros to automate music and sound effect headers 2016-07-27 20:21:56 -05:00
dannye 7c01509b6b Merge branch 'master' of https://github.com/pret/pokered 2016-07-18 01:32:24 -05:00
dannye 80bae03975 Clean up text commands 2016-07-18 01:17:03 -05:00
YamaArashi 61ee396786 more syncing with pokeyellow 2016-06-12 00:52:14 -07:00
pikalaxalt d8dae96f35 Implement handy text macros from yellow 2016-06-09 21:20:02 -04:00
pikalaxalt 0d687ba25a TX_SFX_KEY_ITEM and mapconst macro 2016-05-30 09:08:40 -04:00
pikalaxalt 31b118ab42 Merge branch 'master' of https://github.com/pret/pokered 2016-05-13 17:59:46 -04:00
IIMarckus c9bed2d447 Add a TX_MART macro for inventories. 2016-04-08 20:16:42 -06:00
yenatch 6057f285ad Add a farcall alias. 2016-03-14 21:23:49 -04:00
PikalaxALT 1980a5befc Macrofy sprite status data in WRA0 2016-01-29 11:20:47 -05:00
YamaArashi b6ac1018c2 add border constant and clear up misnomer 2015-08-14 02:46:12 -07:00
yenatch 87f4f4eb44 fix tmlearn 2015-07-28 13:46:00 -07:00
luckytyphlosion 222afb247d tmlearn macro.
Also multiple_divide documentation and fix improper wram comment.
2015-07-26 17:04:24 -04:00
dannye 4d88812f40 Name some battle sound effects 2015-07-21 21:04:21 -05:00
YamaArashi 02bd91b707 jpab/jpba macros 2015-07-19 11:56:13 -07:00
YamaArashi c169073eed misc 2015-07-18 21:58:55 -07:00
dannye 006507ed53 A few missed object constants 2015-07-18 23:39:29 -05:00
dannye 4452acb021 Fix object constant names
swap LEFT and RIGHT
FACE is better named STAY because sprites that have no range do not
necessarily face any direction
STAY has been renamed to NONE because sprites that use this will
spin randomly, except for the item/voltorb/electrode sprite

I never should have listened to https://github.com/iimarckus/pokered/issues/89
2015-07-18 22:36:22 -05:00
dannye 0e48333fb8 Map object macro
closes https://github.com/iimarckus/pokered/issues/89
2015-07-18 22:22:51 -05:00
dannye 148d3f3cf2 Consolidate coord macros 2015-07-18 15:52:03 -05:00
dannye 0ad1153f16 Simplify map connections
let the macros calculate the connection strip length instead of passing it as an arg
don't pass map dimensions since they can be inferred from map ids

todo: figure out why certain south and east connections get an extra 3
added to the connection strip length
2015-07-18 15:20:07 -05:00
YamaArashi fc9af362ae fix variable naming 2015-07-18 08:17:46 -07:00
dannye b85d7c65f3 Enumerate map constants
closes https://github.com/iimarckus/pokered/issues/86
2015-07-17 11:20:35 -05:00
dannye f702fc7840 Start using text predef macros
also sprite direction constants
2015-07-04 00:47:29 -05:00
U-Daniel-PC\Daniel 8431fa7756 TX_ASM 2015-07-03 14:58:50 -05:00
Marcus Huderle 6143848c7e Added bcd macros with coins and money aliases. 2015-02-04 00:51:12 -07:00
stag019 cf29441457 Uncomment useful macros. 2014-11-04 20:22:55 -05:00
yenatch dff0cdeb5a Merge remote-tracking branch 'YamaArashi/master'
Conflicts:
	constants/misc_constants.asm
	engine/battle/core.asm
	engine/menu/pokedex.asm
	engine/town_map.asm
	home.asm
	hram.asm
2014-09-20 00:57:27 -04:00
yenatch d59dfadf66 Add macros for text predefs. 2014-09-17 21:15:11 -07:00
yenatch 29aff84107 Enumerate move constants and add unnamed animation constants. 2014-09-17 12:36:49 -07:00
YamaArashi 2ed65d9c3e Commented/labelled misc functions 2014-09-14 11:29:18 -07:00
yenatch 342791a001 Use a macro for move attributes.
The formatting was pretty bad, so that's fixed too.
2014-09-01 17:59:10 -07:00
U-Fish-PC\Daniel bd533aa79b Use *Coord instead of FuncCoord
Using 'Coord =' doesn't like using wTileMap
So use hlCoord, deCoord, bcCoord, aCoord, Coorda, or dwCoord
to avoid static addresses
2014-06-25 16:58:27 -04:00
yenatch d10108a066 Use macros to define predefs. 2014-06-16 13:25:46 -07:00
U-Fish-PC\Daniel fee52c53a4 Make each pitch/instrument its own macro 2014-06-10 11:42:56 -04:00
U-Fish-PC\Daniel b83acb03e5 Clean up white space 2014-06-09 16:58:02 -04:00
U-Fish-PC\Daniel 0c7ed80e8f Improve music command names 2014-06-09 13:47:20 -04:00
yenatch 619a4ea8a1 Use wOverworldMap in macros. 2014-05-27 12:03:30 -07:00
yenatch ea05c44163 Add macro TX_BCD for printing BCD numbers.
This fixes some more static wram addresses.
2014-05-27 11:16:05 -07:00
yenatch 8f8281fe6e Comment some more bank 0 functions. 2014-05-23 15:34:35 -07:00
yenatch 55b9929167 Use callba/callab macros for cross-bank calls. 2014-04-22 17:14:11 -04:00
yenatch 8a106a2c61 Name the tilesets and give them constants.
Also clean up the tileset macro and remove placeholders/redundant files.
2014-04-03 22:46:39 -04:00
yenatch fea5be4699 rename and add some text macros
cont replaces next, and next becomes a generic newline.
para replaces page (now used for pokedex entries).
dex ends a pokedex entry.
2014-01-22 00:55:41 -05:00
yenatch 795decd080 Add text macros
Before text looked like:

_CeladonCityText2: ; a5a4b (29:5a4b)
	db $0, "Heheh! This GYM", $4f
	db "is great! It's", $55
	db "full of women!", $57

Now it looks like:

_CeladonCityText2: ; a5a4b (29:5a4b)
	text "Heheh! This GYM"
	line "is great! It's"
	next "full of women!"
	done
2014-01-21 21:09:22 -05:00
Marcus Huderle 040f394a39 Cleaned map connections with macros. 2013-12-20 18:47:05 -06:00
yenatch 12f8023599 split rgbasm macros into macros.asm 2013-12-05 01:25:12 -05:00