Commit Graph

301 Commits

Author SHA1 Message Date
yenatch c07ed74a5d Blind wram labels part 4. 2015-02-10 15:14:41 -08:00
yenatch 3fe3cd1a46 hVBlank 2015-01-19 21:31:29 -08:00
yenatch 133e2fb7a7 Use "- $ff00" instead of "& $ff" when dealing with hram. 2014-12-29 08:49:08 -08:00
yenatch 37c65c59ca Some wram labels in map connection code. 2014-12-26 20:37:18 -08:00
yenatch f7e25beee6 Fix a static bank in map header code. 2014-12-26 15:31:48 -08:00
yenatch a5862306b7 Split mobile/timer code out of home.asm. 2014-08-22 10:57:06 -07:00
yenatch 5337d0159e Recomment the text engine. 2014-08-14 23:50:53 -07:00
yenatch 68ee99818a Move cry functions out of home.asm. 2014-07-18 10:31:52 -07:00
yenatch 928cdcfc23 Name cry functions in home.asm. 2014-07-18 10:31:52 -07:00
yenatch 251517812f Rename the internal PlayCry function to _PlayCryHeader. 2014-07-18 10:31:52 -07:00
yenatch ab018a5094 Cry "echo" is actually the upper byte of pitch (now a word). 2014-07-18 10:31:51 -07:00
yenatch 2955e28a42 Add address labels used by Decompress. 2014-07-18 10:31:50 -07:00
yenatch 43fb5732a2 Don't use Olivine maps to define the length of a map header.
The first and second map header labels have no semantic meaning with regard to length.
In fact, none of the labels are used at all.
2014-06-24 10:19:27 -07:00
yenatch 6fee80528a More object struct labels and constants. 2014-06-19 17:23:53 -07:00
yenatch 541a9c7347 Name the UpdateEnemyHUD predef.
Also start using hp palette constants.
2014-06-16 22:53:56 -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 b83f237254 Rename _GetBattleVar -> GetBattleVarAddr.
Functions prefixed with _ imply they're private.
The real purpose of this function is to use an address,
rather than saving a few cycles on push/pop.
2014-06-14 00:41:34 -07:00
yenatch 023cfdbb05 Consolidate monster structs in wram and sram.
The PartyMon struct is really the box struct with volatile variables like status added.

Some other labels have been reworked.
Move structs no longer have explicit labels since their location is arbitrary and usually shared.
2014-06-12 18:32:42 -07:00
yenatch fd8804472d Use {hl,de,bc}coord macros wherever possible. 2014-06-04 01:10:56 -07:00
yenatch 21708a2271 Recomment lz deecompression. 2014-06-03 14:08:23 -07:00
yenatch 9755ff375a Split bank 0 battle functions into home/battle.asm. 2014-05-21 16:37:18 -04:00
yenatch 3624794599 Split bank 0 audio functions into home/audio.asm. 2014-05-21 16:26:28 -04:00
yenatch 2cb3f8e1b9 Comment music functions in home.asm. 2014-05-21 16:21:46 -04:00
yenatch dbb7431cde Give a name to RandomRange. 2014-05-03 21:44:18 -04:00
yenatch 7ab8f76117 Label map trigger functions in home.asm. 2014-03-03 22:53:43 -05:00
yenatch d1a54e3265 Map triggers and label some addresses in bank 0. 2014-03-03 20:48:57 -05:00
yenatch 9fb9a286ba Get rid of static rom addresses in home/text.asm. 2014-03-03 01:28:54 -05:00
yenatch f367db0180 Misc bank 9 and text command $14 data. 2014-02-24 21:52:34 -05:00
yenatch cf2acc1001 Use :: to export labels between objects.
This fixes the build.
2014-02-01 20:26:39 -05:00
yenatch 1ba5b0f4bc Map setup scripts and commands 2014-01-26 22:07:19 -05:00
yenatch 0cd1d2071f item effect incbins 2013-12-24 17:11:52 -05:00
yenatch 496502b3dc no more Public in joypad interface labels 2013-12-22 17:30:35 -05:00
yenatch 418878d932 more map attribute getters and some cleanup in home/map.asm 2013-12-11 21:42:56 -05:00
yenatch d461689704 LoadTilesetHeader 2013-12-11 17:23:33 -05:00
yenatch be0c7962b0 YesNoBox 2013-12-04 03:07:58 -05:00
yenatch 9aaa5f24bb shorten redundant text_jump macros 2013-12-01 17:54:09 -05:00
yenatch 72ff6fd0b0 home/time.asm: fix a label def 2013-11-29 02:29:48 -05:00
yenatch d2dc732600 split some more and recomment more home asm 2013-11-27 14:45:42 -05:00
yenatch 52a6b7da8e Merge commit '946a213f' into merge-mrwint 2013-10-25 17:54:04 -04:00
yenatch 9e81c46cbf Merge commit '66ef1838' into merge-mrwint
Conflicts:
	home/map.asm
2013-10-25 17:53:16 -04:00
yenatch da22ada91c Merge commit '546c17ad' into merge-mrwint
Conflicts:
	engine/scripting.asm
	main.asm
2013-10-25 16:23:16 -04:00
yenatch 946a213f09 fix labels for SoundRestart and UpdateSound 2013-10-11 02:55:01 -04:00
yenatch 66ef183847 relabel LoadMapGroupRoof 2013-10-11 02:31:51 -04:00
yenatch 546c17ad37 rename 'StartSFX' to 'PlaySFX' 2013-10-08 13:10:36 -04:00
Mr Wint dfa9adcaeb * added index comments to pointer lists
* added map header wram addresses
* analyzed some assembly
2013-10-05 04:03:34 +02:00
Mr Wint c666d1014a * make jumps and calls use labels 2013-10-02 06:53:35 +02:00
Mr Wint eb5a7afe2b * more callab/callba macros 2013-10-02 02:47:54 +02:00
Mr Wint 255135d187 * extracted and added a bunch of assembly 2013-10-01 23:23:21 +02:00
yenatch f6a5d7b2f2 split pokedex flag handling into home/pokedex_flags.asm 2013-09-18 21:54:31 -04:00
yenatch c074231a07 move window asm into home/window.asm 2013-09-18 21:40:48 -04:00
yenatch 84a9b3907b rename common/ to home/ 2013-09-09 22:44:48 -04:00