Commit graph

32 commits

Author SHA1 Message Date
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