Commit Graph

165 Commits

Author SHA1 Message Date
PikalaxALT
edf42a54d5 More labels, including fns responsible for partymon generation 2015-10-07 13:19:41 -04:00
PikalaxALT
2770cfc354 soft reset 2015-10-04 14:14:51 -04:00
IIMarckus
2e74d969f7 Fix typos in comments. 2015-09-09 15:05:19 -06:00
JimB16
0d4c2776d9 changed varlabels for multiply- and divide-func, renamed battletext-labels 2015-09-06 23:38:01 +02:00
JimB16
c76a3c6ecd changed more labels 2015-09-04 22:30:40 +02:00
JimB16
706f289c70 change more labelss 2015-08-25 01:56:30 +02:00
JimB16
3922ad2c3c changed labels and added comments 2015-08-23 15:09:56 +02:00
yenatch
a0aadb33e7 More sScratch. 2015-08-20 23:00:59 -07:00
yenatch
9e3bd6cb9b Label scratch space and a bunch of box lists. 2015-08-19 21:51:04 -07:00
yenatch
183845bd73 Add labels for link battle scores. 2015-08-19 21:21:38 -07:00
PikalaxALT
6c3000efd2 Macro update, roam mon annotations
Updated map and mapgroup macros to get around an rgbds bug.

Legendary beast locale handling annotated and relabeled.

Added a new constant NUM_ENGINE_FLAGS for use in the EngineFlagAction function.  This will make it easier for modders to add or remove engine flags.
2015-07-25 19:02:36 -04:00
PikalaxALT
185b0a1c86 Wild Pokemon functions and data
Replaced encounter rates with percent values
Added new constants denoting the number of wild Pokemon in the grass and water wild constructs
Annotated and relabeled the encounter generating functions
Renamed a WRAM address associaed with the temporary storage of the wild Pokemon's species
Moved spawn constants to constants/map_constants.asm for use anywhere in the disassembly
2015-07-23 03:51:15 -04:00
PikalaxALT
c8960dd2c8 Various annotations
Annotated the SGB functions in predef/sgb.asm, and some of the map scripts.  Renamed several functions in home.  Renamed six WRAM addresses corresponding to party icon animations, and renamed several others relative to these.
2015-07-22 15:57:02 -04:00
PikalaxALT
d5ddd9e54e Move radio code to its own file 2015-07-21 01:52:46 -04:00
PikalaxALT
471492b775 Reverted ld_hl_pointer macro 2015-07-20 22:18:18 -04:00
PikalaxALT
d9300a9bec Fix unnecessary white space and retire add_n_times 2015-07-20 11:28:05 -04:00
PikalaxALT
bef792f2d2 More label updates, moved predefs to new file
Also named most of the engine and event flag constants.
2015-07-20 03:51:52 -04:00
PikalaxALT
94129b6b45 Finished the decoration attributes table
Interpretation of the Decoration Attributes table is complete.

Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.
2015-07-19 04:58:31 -04:00
PikalaxALT
60cd04b023 Trainer data structure and field move functions
Trainer data in map scripts is now a macro-defined structure.

Field move functions in main.asm are now nearly completely annotated, with local references.

Trailing white space deleted.
2015-07-18 23:45:39 -04:00
PikalaxALT
39524cdb76 More enumeration of constants, more annotations of scripts. 2015-07-15 15:48:44 -04:00
yenatch
c00949dddf Labels for the heal machine; spriteface constants. 2015-06-26 23:24:55 -07:00
IIMarckus
4d532beee6 Remove trailing newlines. 2015-06-23 12:24:51 -06:00
IIMarckus
2bf3a322ba Labels for "sent some to mom" text. 2015-06-11 10:57:45 -06:00
Scott Norton
739bac75b7 Updated text pointer in line 5746. 2015-06-07 21:14:20 -04:00
yenatch
ee98f7b489 Enumerate the move effect command macros. 2015-04-13 21:41:32 -07:00
yenatch
6c492cb86d Comment PrintTempMonStats. 2015-02-11 13:15:38 -08:00
yenatch
3735185ec2 Use PartyMon labels in GetPartyParamLocation arguments. 2015-02-11 13:14:56 -08:00
yenatch
956b990cd2 Fix a bunch of palette copying errors and wram bank conflicts.
There are probably a bunch more labels with wrong banks. This takes care of the most noticeable ones.
2015-02-10 18:21:38 -08:00
yenatch
62b473d6c6 Blind wram labels part 3. 2015-02-10 15:14:21 -08:00
yenatch
8e03321069 Blindly use wram labels for everything except mobile, part 1.
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-10 00:53:03 -08:00
yenatch
0683bc8770 Fix up remaining coords. 2015-02-07 23:06:52 -08:00
yenatch
c611a45486 Inconsequential bank ref in battle graphics code. 2015-02-02 16:39:42 -08:00
yenatch
3fe3cd1a46 hVBlank 2015-01-19 21:31:29 -08:00
yenatch
346844a613 Replace pointless $FF00+$xx with $ffxx. 2014-12-28 18:44:23 -08:00
yenatch
e325210a61 Merge remote-tracking branch 'kanzure/master' 2014-12-11 23:25:30 -08:00
yenatch
2f509ab379 Fix some incbins near Magikarp length code.
Also clean up the comments a little.
2014-12-03 20:12:37 -08:00
yenatch
81e2a3f0cf Merge remote-tracking branch 'xcrystal/master' into master
Conflicts:
	battle/ai/scoring.asm
	main.asm
2014-10-23 02:41:52 -04:00
xCrystal
dd8653fe6f More AI commentary/labels 2014-10-22 23:08:51 +02:00
xCrystal
bb9818e3c3 More AI commentary/labels 2014-10-22 17:36:42 +02:00
xCrystal
bf60a6b690 evasionup, accdown, whirlwind, haze 2014-10-22 14:47:33 +02:00
xCrystal
7cbec0d52a More AI commentary/labels 2014-10-22 00:28:51 +02:00
xCrystal
96a89ffad7 More AI commentary 2014-10-21 20:44:42 +02:00
xCrystal
44377acb2a Rename labels and add more commentary to AI stuff 2014-10-21 19:21:13 +02:00
xCrystal
28097be25c Add commentary to some AI layers 2014-10-21 14:17:55 +02:00
xCrystal
df2d027501 Start commenting some AI layers 2014-10-21 13:54:04 +02:00
yenatch
78d16c1efa Better labels for item/switch AI. 2014-09-30 11:20:38 -07:00
yenatch
da799c80d4 Better trainer AI comments and finish off trainer attributes. 2014-08-13 19:44:56 -07:00
yenatch
849044ce8a Remove generated "jump sources" comments. 2014-07-19 14:11:48 -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